-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
146 lines (146 loc) · 4.77 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
{
"name": "react-ssr-starter",
"version": "0.0.1",
"description": "A React boilerplate for a universal web app with a highly scalable, offline-first foundation and our focus on performance and best practices.",
"keywords": [
"react",
"redux",
"unit-testing",
"boilerplate",
"performance",
"webpack",
"universal",
"es6+",
"jest",
"seo",
"ssr",
"server-side-rendering",
"supertest",
"react-router",
"react-hooks",
"redux-toolkit",
"react-testing-library",
"offline-first",
"pwa",
"best-practices",
"eslint",
"prettier",
"swc"
],
"homepage": "https://github.com/htdangkhoa/react-ssr-starter",
"bugs": "https://github.com/htdangkhoa/react-ssr-starter/issues",
"repository": "https://github.com/htdangkhoa/react-ssr-starter",
"license": "MIT",
"author": "Khoa Huynh <huynhtran.dangkhoa@gmail.com> (https://github.com/htdangkhoa)",
"main": "build/index.js",
"scripts": {
"analyze:server": "cross-env NODE_ENV=analyze webpack --config webpack/webpack.config.server.js",
"analyze:client": "cross-env NODE_ENV=analyze webpack --config webpack/webpack.config.client.js",
"build:server": "cross-env NODE_ENV=production webpack --config webpack/webpack.config.server.js",
"build:client": "cross-env NODE_ENV=production webpack --config webpack/webpack.config.client.js",
"build": "npm run build:server && npm run build:client",
"dev": "cross-env NODE_ENV=development webpack --config webpack/webpack.config.server.js",
"docker:build": "docker build --rm -t htdangkhoa/react-ssr-starter .",
"docker:start": "docker run --rm -it -p 9090:9090 htdangkhoa/react-ssr-starter",
"docker": "npm run docker:build && npm run docker:start",
"generate": "plop",
"gen": "plop",
"prepare": "husky install",
"start": "node build/index.js",
"pretest:ci": "node scripts/pretest.js",
"test:ci": "cross-env NODE_ENV=test jest --runInBand",
"pretest": "node scripts/pretest.js",
"test": "cross-env NODE_ENV=test jest --maxWorkers=50%"
},
"dependencies": {
"@loadable/component": "^5.15.2",
"@loadable/server": "^5.15.2",
"@reduxjs/toolkit": "^1.8.0",
"axios": "^0.26.0",
"compression": "^1.7.4",
"helmet": "^5.0.2",
"html-minifier": "^4.0.0",
"prop-types": "^15.8.1",
"pure-http": "^3.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.2.3",
"react-redux": "^7.2.6",
"react-router-dom": "^6.2.2",
"react-ssr-prepass": "^1.5.0",
"serialize-javascript": "^6.0.0",
"serve-favicon": "^2.5.0",
"serve-static": "^1.14.2",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@loadable/webpack-plugin": "^5.15.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@svgr/webpack": "^6.2.1",
"@swc/core": "^1.2.147",
"@swc/jest": "^0.2.20",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"autoprefixer": "^10.4.2",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"css-loader": "^6.6.0",
"css-minimizer-webpack-plugin": "^3.4.1",
"dotenv": "^16.0.0",
"dotenv-expand": "^8.0.1",
"eslint": "^8.10.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.4.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.2",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-webpack-plugin": "^3.1.1",
"glob": "^7.2.0",
"husky": "^7.0.4",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"mini-css-extract-plugin": "^2.5.3",
"nock": "^13.2.4",
"picocolors": "^1.0.0",
"plop": "^3.0.5",
"postcss": "^8.4.7",
"postcss-loader": "^6.2.1",
"prettier": "^2.5.1",
"process": "^0.11.10",
"react-dev-utils": "^12.0.0",
"react-error-overlay": "6.0.10",
"react-refresh": "^0.11.0",
"sass": "^1.49.9",
"sass-loader": "^12.6.0",
"style-loader": "^3.3.1",
"supertest": "^6.2.2",
"swc-loader": "^0.1.15",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.69.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.2",
"webpack-dev-middleware": "^5.3.1",
"webpack-dev-server": "^4.7.4",
"webpack-format-messages": "^3.0.1",
"webpack-hot-middleware": "^2.25.1",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0",
"workbox-webpack-plugin": "^6.5.0",
"ws": "^8.5.0"
},
"engines": {
"node": "^14.17.0 || >=16.0.0"
},
"browserslist": [
">0.2%",
"not dead",
"not op_mini all"
]
}