-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 2.02 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
{
"name": "node-koa2-zhihu",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "cross-env PORT=3000 npx nodemon --exec babel-node bin/www",
"webpack:debug": "node --inspect-brk ./node_modules/.bin/webpack --config webpack/webpack.config.prod.js --progress",
"watch": "cross-env NODE_ENV=development PORT=9001 ./node_modules/.bin/webpack --watch --config webpack/webpack.config.dev.js --progress",
"debug": "nodemon --inspect dist/server.bundle.js",
"start:dist": "npm-run-all -p watch debug",
"build": "cross-env NODE_ENV=production ./node_modules/.bin/webpack --config webpack/webpack.config.prod.js --progress",
"dev": "./node_modules/.bin/nodemon bin/www",
"prd": "cross-env PORT=9001 pm2 start bin/www.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@babel/plugin-transform-runtime": "^7.19.6",
"babel-runtime": "^6.26.0",
"babel-runtime-regenerator": "^7.8.4",
"debug": "^4.1.1",
"jsonwebtoken": "^8.5.1",
"koa": "^2.7.0",
"koa-body": "^6.0.1",
"koa-bodyparser": "^4.2.1",
"koa-convert": "^1.2.0",
"koa-json": "^2.0.2",
"koa-jwt": "^4.0.3",
"koa-logger": "^3.2.0",
"koa-onerror": "^4.1.0",
"koa-parameter": "^3.0.1",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"koa-views": "^6.2.0",
"koa2-cors": "^2.0.6",
"mongoose": "^6.7.1",
"pm2": "^5.2.2",
"pug": "^2.0.3"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/node": "^7.20.7",
"@babel/preset-env": "^7.20.2",
"@types/koa": "^2.13.5",
"babel-loader": "^9.1.2",
"babel-plugin-transform-runtime": "^6.23.0",
"clean-webpack-plugin": "^4.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.27.0",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"rimraf": "^4.0.7",
"terser-webpack-plugin": "^5.3.6",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0"
}
}