-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
175 lines (175 loc) · 6 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "react-reducer-provider",
"description": "Asynchronous/Synchronous React Centralized State with Hooks and HOC",
"version": "5.1.0",
"license": "MIT",
"author": "Gonzalo Müller Bravo",
"main": "cjs/react-reducer-provider.js",
"module": "src/react-reducer-provider.js",
"types": "src/react-reducer-provider.d.ts",
"files": [
"src"
],
"sideEffects": [
"src/Providers.js"
],
"homepage": "https://react-reducer-provider.github.io",
"repository": {
"type": "git",
"url": "https://github.com/gmullerb/react-reducer-provider"
},
"bugs": {
"url": "https://github.com/gmullerb/react-reducer-provider/issues"
},
"keywords": [
"AsyncReducerProvider",
"AsyncMapperProvider",
"ActuatorProvider",
"useReducer",
"useMapper",
"useActuator",
"reactjs",
"flux",
"redux",
"mapper",
"actuator",
"state",
"dispatcher",
"asynchronous",
"synchronous",
"store",
"reducer",
"hook",
"HOC",
"tag",
"SyncReducerProvider",
"SyncMapperProvider",
"useReducerState",
"useReducerDispatcher",
"useMapperState",
"useMapperDispatcher",
"injectReducer",
"injectReducerState",
"injectReducerDispatcher",
"injectMapper",
"injectMapperState",
"injectMapperDispatcher",
"SyncReducerProvider",
"SyncMapperProvider",
"SyncTaggedReducerProvider",
"AsyncTaggedReducerProvider",
"SyncTaggedMapperProvider",
"AsyncTaggedMapperProvider",
"TaggedActuatorProvider",
"centralized",
"multiple",
"nested",
"management",
"react-js",
"react.js",
"action",
"context",
"context",
"react",
"react-context",
"React.Context",
"React.Provider",
"react-hook",
"useContext",
"createContext",
"Context.Consumer",
"jsx",
"tsx",
"types",
"typing",
"typescript",
"flow",
"flow js",
"flowjs",
"flow-js",
"flow-typed"
],
"peerDependencies": {
"react": ">=16.0.0"
},
"scripts": {
"lint.any": "echo ==== Lint Any ==== && eslint --config config/.eslintrc-any.json \"**/[\\.a-zA-Z]*.+(js|json|yml|txt|md)\" \"**/.+(gitignore|npmignore)\" --no-eslintrc --ignore-pattern \"build\" --ignore-pattern \"cjs\"",
"lint.config": "echo ==== Lint Config ==== && eslint --color \"config/**/*.js\"",
"lint.main": "echo ==== Lint Main Source ==== && eslint --color \"src/**/*.js\"",
"lint.main.fix": "echo ==== Lint Main Source ==== && eslint --fix --color \"src/**/*.js\"",
"lint.flow": "echo ==== Lint Flow code ==== && eslint --config tests/typings/flow/.eslintrc.json --color \"src/**/*.flow\"",
"lint.ts": "echo ==== Lint TS Code ==== && eslint --config tests/typings/ts/.eslintrc.json --color \"src/**/*.ts\"",
"lint.test": "echo ==== Lint Test source ==== && eslint --config config/test/.eslintrc.json --color \"tests/js/**/*.+(js|jsx)\"",
"lint.test.fix": "echo ==== Lint Test source ==== && eslint --fix --color \"tests/js/**/*.+(js|jsx)\"",
"transpile.flow": "echo ==== Transpile Flow ==== && flow check --color=always ./config/main",
"transpile.ts": "echo ==== Transpile Typescript ==== && tsc --project config/main/tsconfig.json",
"test.flow": "echo ==== Test Flow ==== && flow check --color=always ./config/test/typings",
"test.ts": "echo ==== Test Typescript ==== && tsc --extendedDiagnostics --project config/test/typings/tsconfig.json",
"pretest": "npm run build.cjs",
"test": "echo ==== Test ==== && karma start config/test/karma.conf.js --colors",
"pretest.1": "npm run build.cjs",
"test.1": "echo ==== Test ==== && SINGLE_TEST=1 karma start config/test/karma.conf.js --colors",
"build.cjs": "echo ==== Build CommonJS Module ==== && rollup --config ./config/main/rollup.config.js",
"prepack": "npm run build.cjs && echo ==== Build Package ====",
"check.code": "npm run lint.main && npm run lint.test && npm run test",
"check.ts": "npm run lint.ts && npm run transpile.ts && npm run test.ts",
"check.flow": "npm run lint.flow && npm run transpile.flow && npm run test.flow",
"check.typings": "npm run check.ts && npm run check.flow",
"check": "npm install && npm run lint.any && npm run lint.config && npm run check.code && npm run check.typings && mkdir -p build && cd build && npm pack ../",
"check.all": "npm run check && npm audit",
"prepublishOnly": "npm run check"
},
"devDependencies": {
"@babel/core": "~7.6.0",
"@babel/preset-env": "~7.6.0",
"@babel/preset-react": "~7.0.0",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"@types/enzyme": "~3.10.8",
"@types/jasmine": "~3.6.9",
"@types/jasmine-enzyme": "~7.0.1",
"@types/react": "~16.9.5",
"any-eslint-parser": "1.0.0-alpha",
"babel-eslint": "10.0.3",
"babel-loader": "~8.0.6",
"delay": "^4.3.0",
"enzyme": "~3.11.0",
"enzyme-adapter-react-16": "~1.15.6",
"eslint": "^7.23.0",
"eslint-plugin-base-style-config": "^2.8.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-flowtype": "~5.4.0",
"eslint-plugin-unused-imports": "^1.1.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-regex": "^1.7.0",
"flow-bin": "~0.147.0",
"husky": "^4.2.5",
"istanbul-instrumenter-loader": "^3.0.1",
"jsdom": "^16.2.2",
"jasmine-core": "~3.7.1",
"jasmine-enzyme": "~7.1.2",
"karma": "^5.2.3",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "~2.1.0",
"karma-jsdom-launcher": "^8.0.2",
"karma-html-reporter": "~0.2.7",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "~1.5.4",
"karma-junit-reporter": "~2.0.1",
"karma-mocha-reporter": "~2.2.5",
"karma-notify-reporter": "~1.3.0",
"karma-webpack": "~4.0.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rollup": "^2.45.1",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-uglify": "^6.0.4",
"typescript": "^4.2.3",
"webpack": "~4.39.3"
},
"husky": {
"hooks": {
"pre-push": "npm run check"
}
}
}