-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
204 lines (204 loc) · 8.84 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
{
"name": "app-name",
"version": "1.0.0",
"private": true,
"description": "{|APP_DESCRIPTION|}",
"license": "MIT",
"author": {
"name": "{|AUTHOR_NAME|}",
"email": "[email protected]",
"url": "https://some_url.com/"
},
"engines": {
"node": "16.x",
"npm": "8.x"
},
"browserslist": [
"last 4 versions",
">5%",
"not dead",
"not op_mini all",
"not safari < 11",
"not IOS < 11"
],
"scripts": {
"start": "npm run build:client:and:start:dev",
"build:client": "cross-env WITH_SSR=false webpack --config config/webpack/client/webpack.config.client.babel.js",
"build:client:dev": "cross-env NODE_ENV=development npm run build:client",
"build:client:prod": "cross-env NODE_ENV=production npm run build:client",
"build:client:prod:pwa": "cross-env WITH_PWA=true npm run build:client:prod",
"build:client:and:start:dev": "cross-env NODE_ENV=development WITH_SSR=false webpack serve --config config/webpack/client/webpack.config.client.babel.js",
"build:client:and:start:prod": "npm run build:client:prod && http-server dist/client -c-1 -p 1337",
"deploy:s3": "aws s3 sync ./dist/client/ s3://{|S3_BUCKET_NAME|} --delete",
"build:and:deploy:s3": "npm run build:clean && npm run build:client:prod && npm run deploy:s3",
"start:wssr": "nodemon dist/server",
"start:wssr:debug": "nodemon --inspect dist/server",
"build:client:wssr": "cross-env WITH_SSR=true webpack --config config/webpack/client/webpack.config.client.babel.js",
"build:client:wssr:dev": "cross-env NODE_ENV=development npm run build:client:wssr",
"build:client:wssr:prod": "cross-env NODE_ENV=production npm run build:client:wssr",
"build:server": "cross-env WITH_SSR=true webpack --config config/webpack/server/webpack.config.server.babel.js",
"build:server:dev": "cross-env NODE_ENV=development npm run build:server",
"build:server:prod": "cross-env NODE_ENV=production npm run build:server",
"build:app:wssr:dev": "npm-run-all --parallel build:client:wssr:dev build:server:dev",
"build:app:wssr:prod": "npm-run-all --parallel build:client:wssr:prod build:server:prod",
"rimraf": "./node_modules/rimraf/bin.js",
"build:clean": "rimraf ./dist",
"test": "jest --config config/test/jest.config.js --runInBand",
"test:with:reports": "cross-env TEST_SETUP=reports npm run test",
"test:ci": "npm run test -- --ci",
"test:ci:with:reports": "cross-env TEST_SETUP=reports npm run test:ci",
"test:e2e": "npm run test:e2e:dev",
"test:e2e:dev": "start-test build:client:and:start:dev 1337 test:e2e:run:all",
"test:e2e:dev:open": "start-test build:client:and:start:dev 1337 test:e2e:open:all",
"test:e2e:common:prod": "start-test build:client:and:start:prod 1337 test:e2e:run:common",
"test:e2e:a11y:prod": "start-test build:client:and:start:prod 1337 test:e2e:run:a11y",
"test:e2e:run:all": "cypress run --project config/test --env configType=all",
"test:e2e:run:common": "cypress run --project config/test --env configType=common",
"test:e2e:run:a11y": "cypress run --project config/test --env configType=a11y",
"test:e2e:open:all": "cypress open --project config/test --env configType=all",
"test:perf:ci": "lhci autorun --config=./config/test/lighthouse.config.js",
"test:tsc": "tsc",
"lint": "npm run lint:scripts && npm run lint:styles",
"lint:fix": "npm run lint:scripts:fix && npm run lint:styles:fix",
"lint:scripts": "eslint ./src",
"lint:scripts:fix": "eslint ./src --fix",
"lint:styles": "stylelint ./src/**/**/*.scss",
"lint:styles:fix": "stylelint ./src/**/**/*.scss --fix",
"sca:auth": "snyk auth",
"sca:test": "snyk test --org={|ORG_NAME|}",
"sca:test:dev": "snyk test --org={|ORG_NAME|} --dev",
"sca:monitor": "snyk monitor --org={|ORG_NAME|}",
"storybook:start": "start-storybook -c ./config/storybook -p 6006",
"storybook:build": "build-storybook -c ./config/storybook",
"storybook:build:clean": "rimraf ./storybook-static",
"storybook:deploy:s3": "aws s3 sync ./storybook-static s3://{|S3_BUCKET_NAME|} --delete",
"storybook:build:and:deploy:s3": "npm run storybook:build:clean && npm run storybook:build && npm run storybook:deploy:s3",
"prepare": "husky install"
},
"eslintConfig": {
"extends": "./config/lint/eslint/eslint.config.js",
"ignorePatterns": [
"__snapshots__"
]
},
"stylelint": {
"extends": "./config/lint/stylelint/stylelint.config.js",
"ignoreFiles": [
"src/**/**/reset-normalize.scss"
]
},
"prettier": "./config/prettier/prettier.config.js",
"lint-staged": {
"*.{js(x),ts(x)}": [
"eslint ./src --fix"
],
"*.(s)css": [
"stylelint ./src/**/**/*.scss --fix"
]
},
"dependencies": {
"@reduxjs/toolkit": "^1.8.3",
"core-js": "^3.23.4",
"express": "^4.18.1",
"fs-extra": "^9.0.1",
"helmet": "^4.6.0",
"i18next": "^21.6.3",
"mobile-detect": "^1.4.5",
"prop-types": "^15.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-helmet-async": "^1.2.2",
"react-redux": "^7.2.1",
"react-router-dom": "^6.3.0",
"redux-saga": "^1.1.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/eslint-parser": "^7.18.2",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.12.1",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.12.1",
"@lhci/cli": "^0.9.0",
"@mdx-js/react": "^1.6.22",
"@storybook/addon-actions": "^6.5.10",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-links": "^6.5.10",
"@storybook/builder-webpack5": "^6.5.10",
"@storybook/manager-webpack5": "^6.5.10",
"@storybook/react": "^6.5.10",
"@svgr/webpack": "^6.5.1",
"@testing-library/cypress": "^8.0.3",
"@testing-library/dom": "^8.17.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.4.3",
"@types/fs-extra": "^9.0.13",
"@types/react-helmet": "^6.1.5",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"@webpack-cli/serve": "^1.0.1",
"autoprefixer": "^10.3.7",
"autoprefixer-core": "^6.0.1",
"babel-jest": "^26.5.2",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.2",
"css-loader": "^5.2.7",
"cypress": "^10.3.0",
"cypress-axe": "^1.0.0",
"eslint": "^7.11.0",
"eslint-config": "^0.3.0",
"eslint-config-prettier": "^6.13.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.21.4",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.9.1",
"favicons": "^6.2.2",
"favicons-webpack-plugin": "^5.0.2",
"html-webpack-plugin": "^5.5.0",
"html-webpack-skip-assets-plugin": "^1.0.3",
"http-server": "^14.1.1",
"husky": "^7.0.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.3",
"jest-axe": "^6.0.0",
"jest-environment-jsdom": "^28.1.3",
"jest-junit": "^14.0.1",
"lint-staged": "^12.1.2",
"mini-css-extract-plugin": "^1.6.2",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"postcss-hover-media-feature": "^1.0.2",
"postcss-loader": "^4.3.0",
"postcss-preset-env": "^7.8.3",
"prettier": "^2.1.2",
"rimraf": "^3.0.2",
"sass": "^1.43.2",
"sass-loader": "^10.2.0",
"snyk": "^1.976.0",
"source-map-loader": "^4.0.0",
"start-server-and-test": "^1.14.0",
"style-loader": "^2.0.0",
"stylelint": "^14.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-order": "^5.0.0",
"stylelint-scss": "^4.0.1",
"typescript": "^4.9.4",
"webpack": "^5.50.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3",
"webpack-merge": "^5.8.0",
"webpackbar": "^5.0.2",
"workbox-webpack-plugin": "^6.5.4"
}
}