-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.85 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 1.85 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
{
"name": "pm2-node-server",
"version": "1.0.0",
"description": "Example node-server width pm2.",
"main": "src/index.js",
"scripts": {
"start": "nodemon src/index.js --exec babel-node",
"dev": "npm run build && pm2 start pm2.dev.config.js",
"online": "npm run build && pm2 start pm2.config.js",
"stop": "pm2 stop server",
"build": "if [ -d ./dist ]; then rm -rf dist; fi && babel src -d dist",
"test": "mocha --compilers js:babel-register"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
],
"*.{js,json,css,less,md}": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git@github.com:DaviGao/pm2-node-server.git"
},
"author": "DaviGao <https://github.com/DaviGao",
"license": "ISC",
"dependencies": {
"axios": "^0.21.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"babel-runtime": "^6.26.0",
"bluebird": "^3.5.4",
"chalk": "^2.4.1",
"kcors": "^2.2.2",
"koa": "^2.5.2",
"koa-better-router": "^2.1.1",
"koa-bodyparser": "^4.2.1",
"lodash": "^4.17.10",
"qs": "^6.5.2",
"redis": "^3.1.1",
"sequelize": "^5.10.1",
"validatorjs": "^3.15.1"
},
"devDependencies": {
"chai": "^4.1.2",
"husky": "^2.2.0",
"mocha": "^5.2.0",
"supertest": "^3.1.0",
"eslint": "^5.4.0",
"babel-eslint": "^9.0.0",
"eslint-config-prettier": "^3.1.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-prettier": "^3.0.0",
"lint-staged": "^7.2.2",
"prettier": "1.14.3",
"nodemon": "^1.18.3",
"pm2": "^3.0.3"
}
}