generated from wednesday-solutions/react-template
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
243 lines (243 loc) · 9.12 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
{
"name": "react-graphql-ts-template",
"version": "14.0.18",
"description": "A React Typescript GraphQL application",
"repository": {
"type": "git",
"url": "git://github.com/wednesday-solutions/react-graphql-ts-template.git"
},
"engines": {
"npm": ">=5",
"node": ">=8.15.1 <17.9.1"
},
"author": "Mac",
"homepage": "https://github.com/wednesday-solutions/react-graphql-ts-template",
"license": "MIT",
"scripts": {
"analyze:clean": "rimraf stats.json",
"preanalyze": "npm run analyze:clean",
"analyze": "node ./internals/scripts/analyze.js",
"npmcheckversion": "node ./internals/scripts/npmcheckversion.js",
"preinstall": "npm run npmcheckversion",
"extract-lingui": "lingui extract --verbose",
"compile-lingui": "lingui compile --verbose",
"prebuild:prod": "npm run build:clean",
"build:prod": "export ENVIRONMENT_NAME=production && npm run compile-lingui && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details",
"build:dev": "export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress",
"build:clean": "rimraf ./build",
"start": "export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"",
"start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server",
"start:production": "npm run test && npm run build:prod && npm run start:prod",
"start:prod": "cross-env NODE_ENV=production node server",
"presetup": "npm i chalk shelljs",
"setup": "node ./internals/scripts/setup.js",
"clean": "shjs ./internals/scripts/clean.js",
"clean:all": "npm run analyze:clean && npm run test:clean && npm run build:clean",
"lint": "npm run lint:js && npm run lint:ts && npm run lint:css",
"lint:css": "stylelint app/**/*.js",
"lint:eslint": "eslint --ignore-path .eslintignore --ignore-pattern internals/scripts",
"lint:eslint:fix": "eslint --ignore-path .eslintignore --ignore-pattern internals/scripts --fix --ext js,ts,tsx",
"lint:js": "npm run lint:eslint -- . ",
"lint:ts": "npm run lint:eslint -- . --ext ts,tsx",
"lint:staged": "lint-staged",
"test:clean": "rimraf ./coverage",
"test": "cross-env NODE_ENV=test jest --coverage",
"test:staged": "jest --findRelatedTests",
"test:watch": "cross-env NODE_ENV=test jest --watchAll",
"test:tsc": "npx tsc --noEmit",
"tsc:watch": "npx tsc -p app/tsconfig.json -w",
"test:coverage": "npm test -- --coverage",
"test:badges": "npm run test && jest-coverage-badges --output './badges'",
"create:badges": "jest-coverage-badges --output './badges'",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prettify": "prettier --write",
"storybook": "export ENVIRONMENT_NAME=development && start-storybook -p 6006",
"build-storybook": "export ENVIRONMENT_NAME=production && build-storybook",
"initialize": "git checkout --orphan temp-branch && git add -A && git commit -m 'Initial commit' && git branch -D master && git branch -m master",
"generate": "react-generate"
},
"browserslist": [
"last 2 versions",
"> 1%",
"IE 10"
],
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"npm run lint:eslint:fix",
"git add --force",
"jest --findRelatedTests $STAGED_FILES"
],
"*.{ts,tsx}": [
"./internals/scripts/tsc-lint.sh"
],
"*.json": [
"prettier --write",
"git add --force"
]
},
"pre-commit": "lint:staged",
"dependencies": {
"@babel/helper-regex": "^7.10.5",
"@lingui/react": "^4.11.2",
"@redux-devtools/extension": "^3.2.2",
"@reduxjs/toolkit": "^1.8.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"antd": "^4.9.3",
"apisauce": "2.1.1",
"apollo-boost": "^0.4.9",
"chalk": "4.1.1",
"compression": "1.7.4",
"core-js": "3.6.5",
"cross-env": "7.0.3",
"date-fns": "^2.28.0",
"deep-map-keys": "^2.0.1",
"dotenv": "10.0.0",
"express": "4.16.4",
"fontfaceobserver": "2.1.0",
"git-commit-msg-linter": "^4.1.1",
"graphql": "^16.3.0",
"history": "4.9.x",
"hoist-non-react-statics": "3.3.0",
"immer": "9.0.3",
"immutable": "^4.0.0",
"intl": "1.2.5",
"invariant": "2.2.4",
"ip": "1.1.5",
"less": "^4.1.1",
"less-loader": "7.3.0",
"lodash-es": "^4.17.21",
"minimist": "1.2.3",
"prop-types": "15.7.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-helmet": "^6.1.0",
"react-redux": "7.0.2",
"react-router-dom": "^5.1.2",
"react-screentype-hook": "^1.0.18",
"redux-injectors": "^1.3.0",
"redux-persist": "^6.0.0",
"redux-persist-transform-immutable": "^5.0.0",
"redux-saga": "1.1.3",
"reselect": "4.0.0",
"sanitize.css": "8.0.0",
"styled-components": "^5.3.5",
"styled-media-query": "^2.1.2"
},
"devDependencies": {
"@babel/cli": "7.14.5",
"@babel/core": "^7.24.8",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-optional-chaining": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "7.14.5",
"@babel/plugin-transform-react-constant-elements": "7.14.5",
"@babel/plugin-transform-react-inline-elements": "7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.16.7",
"@babel/register": "7.14.5",
"@babel/runtime": "^7.14.6",
"@lcdp/offline-plugin": "^5.1.0",
"@lingui/cli": "^4.11.2",
"@lingui/format-json": "^4.11.2",
"@lingui/macro": "^4.11.2",
"@storybook/addon-actions": "^5.2.1",
"@storybook/addon-knobs": "^5.2.1",
"@storybook/addon-links": "^5.2.1",
"@storybook/addons": "^5.2.1",
"@storybook/react": "^5.2.1",
"@types/intl": "^1.2.0",
"@types/invariant": "^2.2.35",
"@types/lodash-es": "^4.17.6",
"@types/node": "^17.0.21",
"@types/react": "^17.0.40",
"@types/react-dom": "^17.0.13",
"@types/react-helmet": "^6.1.5",
"@types/react-redux": "^7.1.23",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.24",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"add-asset-html-webpack-plugin": "3.2.0",
"axios-mock-adapter": "^1.17.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "^27.5.1",
"babel-loader": "^8.2.2",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-import": "^1.13.3",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-styled-components": "1.10.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"circular-dependency-plugin": "5.2.2",
"compare-versions": "3.4.0",
"compression-webpack-plugin": "8.0.0",
"concurrently": "^7.0.0",
"coveralls": "3.0.3",
"css-loader": "^5.2.6",
"eslint": "^8.11.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-airbnb-base": "13.1.0",
"eslint-config-prettier": "6.4.0",
"eslint-config-prettier-standard": "^3.0.1",
"eslint-config-standard": "14.1.0",
"eslint-import-resolver-webpack": "0.11.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^23.2.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-node": "10.0.0",
"eslint-plugin-prettier": "3.1.1",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "2.3.0",
"eslint-plugin-react-native": "3.7.0",
"eslint-plugin-redux-saga": "1.1.3",
"eslint-plugin-standard": "4.0.1",
"file-loader": "6.2.0",
"html-loader": "2.1.2",
"html-webpack-plugin": "5.3.2",
"image-webpack-loader": "7.0.1",
"imports-loader": "3.0.0",
"jest-cli": "27.0.5",
"jest-coverage-badges": "^1.1.2",
"jest-sonar": "^0.2.12",
"jest-styled-components": "6.3.1",
"less": "^4.1.1",
"less-loader": "7.3.0",
"lint-staged": "8.1.5",
"ngrok": "4.0.1",
"node-plop": "0.18.0",
"null-loader": "0.1.1",
"plop": "2.3.0",
"pre-commit": "1.2.2",
"prettier": "2.3.1",
"prettier-config-standard": "4.0.0",
"prettier-standard": "16.4.1",
"react-app-polyfill": "2.0.0",
"react-floki": "^1.0.70",
"rimraf": "2.6.3",
"shelljs": "0.8.3",
"storybook-addon-intl": "^2.4.1",
"storybook-addon-smart-knobs": "^5.0.0",
"storybook-router": "^0.3.4",
"style-loader": "2.0.0",
"stylelint": "10.0.1",
"stylelint-config-recommended": "2.2.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.6.0",
"svg-url-loader": "7.1.1",
"terser-webpack-plugin": "5.1.3",
"typescript": "^4.6.2",
"url-loader": "4.1.1",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^5.0.1",
"webpack-dev-middleware": "5.0.0",
"webpack-hot-middleware": "2.25.0",
"webpack-pwa-manifest": "4.3.0",
"whatwg-fetch": "3.0.0"
},
"sideEffects": false
}