-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
174 lines (174 loc) · 6.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
{
"name": "boilerplate-skillcrucial",
"version": "0.0.2",
"description": "Boilerplate SkillCrucial",
"main": "index.js",
"scripts": {
"docker-start-dev": "docker-compose -f \"docker\\DEV.docker-compose.yml\" up",
"docker-stop-dev": "docker-compose -f \"docker\\DEV.docker-compose.yml\" down",
"dev": "yarn run watch:server & yarn run watch:client ",
"watch:client": "webpack-dev-server --mode development --config ./webpack.development.config.js",
"dev:server": "webpack --watch --config webpack.development.config.js",
"start:dev": "webpack-dev-server --mode development --config ./webpack.development.config.js --open",
"start": "cross-env NODE_ENV=production && node start.js",
"clean": "rimraf dist",
"build": "cross-env npm run clean && webpack --config webpack.production.config.js --progress --profile --colors",
"lint": "eslint ./client/**/**.js ./server/**/**.js ",
"prettier": "prettier ./client/**/**.js ./server/**/**.js --write ",
"lint:server": "eslint ./server/**/**.js",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"next:build": "next",
"watch:server": "nodemon --legacy-watch start.js --watch server --watch client --exec \"npm run lint:server --scripts-prepend-node-path && node\"",
"build:prod": "cross-env NODE_ENV=production webpack --config webpack.production.config.js --progress --profile --colors",
"build:ssr": "cross-env NODE_ENV=production webpack --config webpack.ssr.config.js --progress --profile --colors",
"heroku-postbuild": "yarn run build:prod",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"author": "",
"license": "MIT",
"jest": {
"setupFiles": [
"<rootDir>/config/jest/shim.js"
],
"collectCoverageFrom": [
"app/**/*.{js,jsx,ts,tsx}"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/config/jest/assetsTransformer.js",
"\\.(css|less)$": "<rootDir>/config/jest/assetsTransformer.js"
},
"testMatch": [
"**/?(*.)(spec|test).js?(x)"
],
"transform": {
"\\.js$": "babel-jest"
}
},
"dependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
"@babel/plugin-proposal-function-sent": "^7.10.4",
"@babel/plugin-proposal-json-strings": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-throw-expressions": "^7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-flow": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-stage-3": "^7.8.3",
"@babel/preset-typescript": "^7.10.4",
"@babel/register": "^7.11.5",
"@babel/runtime": "^7.11.2",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"babel-plugin-css-modules-transform": "^1.6.2",
"babel-plugin-emotion": "^10.0.33",
"babel-polyfill": "^6.26.0",
"babel-preset-react-boilerplate": "1.1.1",
"babel-preset-react-hmre": "1.1.1",
"body-parser": "^1.19.0",
"classnames": "^2.2.6",
"connected-react-router": "^6.8.0",
"cookie-parser": "^1.4.5",
"core-js": "^3.6.5",
"cors": "^2.8.5",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"history": "^4.10.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^6.1.0",
"react-hot-loader": "^4.12.21",
"react-redux": "^7.2.1",
"react-refresh": "^0.8.3",
"react-router-dom": "^5.2.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"sockjs": "^0.3.21",
"sockjs-client": "^1.5.0",
"string-replace-webpack-plugin": "^0.1.3",
"uuid": "^8.3.0"
},
"devDependencies": {
"@storybook/addon-actions": "^6.0.21",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.0.21",
"@storybook/addons": "^6.0.21",
"@storybook/react": "^6.0.21",
"@storybook/addon-knobs": "^6.0.21",
"@storybook/addon-viewport": "^6.0.21",
"@storybook/cli": "^6.0.21",
"@hot-loader/react-dom": "^16.13.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.2",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.1.1",
"autoprefixer": "^9.8.6",
"copy-webpack-plugin": "^6.1.0",
"css-loader": "4.2.2",
"cssnano": "^4.1.10",
"image-webpack-loader": "^6.0.0",
"git-revision-webpack-plugin": "^3.0.6",
"emotion-theming": "^10.0.27",
"eslint": "^7.8.1",
"eslint-config-airbnb": "18.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-loader": "4.0.2",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "7.20.6",
"eslint-plugin-react-hooks": "^4.1.0",
"file-loader": "6.1.0",
"glob": "^7.1.6",
"hard-source-webpack-plugin": "^0.13.1",
"html-webpack-plugin": "4.4.1",
"husky": "4.2.5",
"jest": "^26.4.2",
"jest-cli": "^26.4.2",
"mini-css-extract-plugin": "^0.11.0",
"node-hot-loader": "^1.20.0",
"node-sass": "^4.14.1",
"nodemon": "^2.0.4",
"optimize-css-assets-webpack-plugin": "^5.0.4",
"raw-loader": "^4.0.1",
"react-addons-test-utils": "^15.6.2",
"regenerator-runtime": "^0.13.7",
"rimraf": "3.0.2",
"sass-loader": "10.0.2",
"style-loader": "1.2.1",
"thread-loader": "^2.1.3",
"url-loader": "4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"terser-webpack-plugin": "^4.1.0",
"tailwindcss": "^1.8.3",
"webpack-shell-plugin": "^0.5.0"
},
"nodemonConfig": {
"ignore": [
"*.hot-update.json"
]
},
"husky": {
"hooks": {
"pre-commit": "cross-env npm run lint && npm test",
"pre-push": "cross-env npm run lint && npm test"
}
}
}