-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
122 lines (122 loc) · 3.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "react-context-hook",
"version": "3.0.7",
"description": "A React.js global state manager with Hooks and Context API",
"author": "Spyna (https://github.com/Spyna)",
"keyword": [
"react",
"state",
"store",
"reactjs",
"hooks",
"contextApi"
],
"homepage": "https://spyna.github.io/react-context-hook/",
"license": "MIT",
"repository": "Spyna/react-context-hook",
"main": "dist/index.js",
"module": "dist/index.es.js",
"unpkg": "dist/react-context-hook.js",
"jsnext:main": "dist/index.es.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"build": "rollup -c && yarn docs:buildmd",
"start": "rollup -c -w",
"prepare": "yarn prettier && yarn run build",
"predeploy": "yarn docs:build && cd example && yarn install && CI=true yarn test && yarn run build && cd .. && cp -r docs example/build",
"deploy": "gh-pages -d example/build --message \"[skip ci] Updates\"",
"release": "standard-version",
"prettier": "prettier --write 'src/**/*.js' 'example/**/*.css' 'example/**/*.html' 'example/src/**/*.js'",
"docs:build": "documentation build src/** -f html -o docs",
"docs:buildmd": "documentation build src/** -f md -o DOCS.md",
"declaration:build": "rm -f dist/*.d.ts && tsc -p declaration.tsconfig.json"
},
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-url": "^6.0.0",
"cross-env": "^7.0.3",
"documentation": "^13.1.1",
"eslint": "7.20.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-react": "^11.0.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-react": "^7.10.0",
"gh-pages": "^2.0.1",
"husky": "^3.0.9",
"prettier": "^2.0.2",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-scripts": "^4.0.3",
"rollup": "^2.39.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"standard-version": "^9.1.1",
"typescript": "^4.2.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"jest": {
"coverageReporters": [
"json",
"lcov",
"text"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"dependencies": {
"redux": "^4.0.5"
}
}