This repository was archived by the owner on May 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpackage.json
More file actions
186 lines (186 loc) · 5.89 KB
/
package.json
File metadata and controls
186 lines (186 loc) · 5.89 KB
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
{
"name": "koa-web-kit",
"version": "3.0.0-alpha",
"description": "A modern, production-ready, and full-stack node web framework",
"main": "index.js",
"scripts": {
"dev": "cross-env ENABLE_HMR=1 ENABLE_SSR=0 STATIC_PREFIX='' node server.js",
"dev:ssr": "cross-env ENABLE_HMR=0 CSS_MODULES=0 ENABLE_SSR=1 npm-run-all -p start watch watch:ssr",
"dev:watch": "cross-env ENABLE_HMR=0 ENABLE_SSR=0 npm-run-all -p watch start",
"start": "nodemon --trace-warnings server.js",
"build": "cross-env NODE_ENV=production webpack -p --progress --hide-modules --config config/webpack.config.prod.js",
"build:noprogress": "cross-env NODE_ENV=production webpack -p --hide-modules --config config/webpack.config.prod.js",
"build:dev": "webpack --progress --hide-modules --config config/webpack.config.dev.js",
"build:tailwindcss": "tailwindcss build ./src/style/index.css -o ./build/built-tailwindcss/style.css",
"deploy": "./deploy.sh",
"deploy:noinstall": "npm run deploy -- 1",
"ssg": "cross-env STATIC_PREFIX='' APP_PREFIX='' PREFIX_TRAILING_SLASH='' npm run build",
"ssr": "webpack --progress --config config/webpack.config.ssr.js",
"watch": "webpack --watch --progress --hide-modules --config config/webpack.config.dev.js",
"watch:ssr": "npm run ssr -- --watch",
"node": "webpack --progress --config config/webpack.config.node.js",
"report": "cross-env NODE_ENV=production BUNDLE_ANALYZER=true webpack -p --progress --hide-modules --config config/webpack.config.prod.js",
"test": "npm run jest:node && npm run jest:client",
"jest:node": "jest --config=jest.config.node.js --forceExit",
"jest:client": "jest --config=jest.config.client.js",
"lint": "eslint --ignore-path .gitignore --ext .jsx,.js ./"
},
"engines": {
"node": ">= 16"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx}": [
"eslint --fix"
],
"**/*.{json,css,html}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/JasonBoy/koa-web-kit.git"
},
"keywords": [
"koa",
"es6",
"webpack",
"react",
"bootstrap",
"fullstack",
"framework"
],
"author": "jasonlikenfs@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/JasonBoy/koa-web-kit/issues"
},
"homepage": "https://github.com/JasonBoy/koa-web-kit#readme",
"readme": "README.md",
"dependencies": {
"@loadable/component": "5.15.2",
"@loadable/server": "5.15.2",
"chalk": "4.1.1",
"core-js": "3.20.1",
"dotenv": "10.0.0",
"got": "11.8.2",
"html-minifier": "4.0.0",
"koa": "2.13.4",
"koa-body": "4.2.0",
"koa-compress": "5.1.0",
"koa-conditional-get": "3.0.0",
"koa-etag": "4.0.0",
"koa-favicon": "2.1.0",
"koa-helmet": "6.1.0",
"koa-morgan": "1.0.1",
"koa-mount": "4.0.0",
"koa-pino-logger": "3.0.0",
"koa-router": "10.1.1",
"koa-session": "6.2.0",
"koa-static": "5.0.0",
"lodash.isempty": "4.4.0",
"make-dir": "3.1.0",
"moment": "2.29.1",
"pino": "6.13.0",
"pino-pretty": "5.1.2",
"pm2": "4.5.6",
"prop-types": "15.8.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "5.2.0",
"slugify": "1.6.4",
"socks-proxy-agent": "6.1.1",
"styled-components": "5.3.3",
"tunnel": "0.0.6"
},
"devDependencies": {
"@babel/cli": "7.16.0",
"@babel/core": "7.16.5",
"@babel/eslint-parser": "7.16.5",
"@babel/helper-module-imports": "7.16.0",
"@babel/plugin-proposal-class-properties": "7.16.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.16.5",
"@babel/plugin-proposal-optional-chaining": "7.16.5",
"@babel/plugin-transform-modules-commonjs": "7.16.5",
"@babel/plugin-transform-react-jsx-source": "7.16.5",
"@babel/plugin-transform-runtime": "7.16.5",
"@babel/preset-env": "7.16.5",
"@babel/preset-react": "7.16.5",
"@babel/runtime": "7.16.5",
"@loadable/babel-plugin": "5.13.2",
"@loadable/webpack-plugin": "5.15.0",
"babel-loader": "8.2.3",
"babel-minify-webpack-plugin": "0.3.1",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-styled-components": "1.13.2",
"cheerio": "1.0.0-rc.10",
"clean-webpack-plugin": "3.0.0",
"copy-webpack-plugin": "6.4.1",
"cross-env": "7.0.3",
"css-loader": "5.2.7",
"cssnano": "5.0.7",
"error-overlay-webpack-plugin": "0.4.2",
"eslint": "8.5.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"file-loader": "6.2.0",
"get-port": "5.1.1",
"globby": "11.0.4",
"html-webpack-plugin": "4.5.2",
"husky": "4.3.8",
"jest": "26.4.2",
"json-server": "0.16.3",
"koa-history-api-fallback": "1.0.0",
"koa-webpack": "6.0.0",
"lint-staged": "12.1.4",
"mini-css-extract-plugin": "1.6.2",
"moment-locales-webpack-plugin": "1.2.0",
"nock": "13.1.1",
"nodemon": "2.0.15",
"npm-run-all": "4.1.5",
"null-loader": "4.0.1",
"postcss": "8.3.6",
"postcss-import": "14.0.2",
"postcss-loader": "4.3.0",
"postcss-preset-env": "6.7.0",
"prettier": "2.5.1",
"shelljs": "0.8.4",
"style-loader": "2.0.0",
"supertest": "3.4.2",
"tailwindcss": "1.8.6",
"terser-webpack-plugin": "4.2.3",
"url-loader": "4.1.1",
"webpack": "4.46.0",
"webpack-bundle-analyzer": "3.9.0",
"webpack-cli": "3.3.12",
"webpack-manifest-plugin": "2.2.0",
"webpack-merge": "5.8.0",
"webpack-node-externals": "3.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie 11",
"not dead",
"not op_mini all"
],
"nodemonConfig": {
"watch": [
"api/",
"config/",
"build/node",
"routes/",
"utils/",
"services/",
"app-config.js",
"server.js",
"app.js"
]
}
}