-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.14 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
{
"name": "rainbow",
"version": "1.0.0",
"description": "",
"private": true,
"dependencies": {
"body-parser": "^1.18.3",
"crypto": "^1.0.1",
"egg": "^2.2.1",
"egg-alinode": "^2.0.1",
"egg-scripts": "^2.5.0",
"egg-sequelize": "^4.2.0",
"egg-validate": "^2.0.2",
"github-webhook-handler": "^0.7.1",
"moment": "^2.23.0",
"moment-timezone": "^0.5.23",
"mysql2": "^1.6.4",
"mz": "^2.7.0",
"qiniu": "^7.2.1",
"tenpay": "^2.1.17",
"xml2js": "^0.4.19"
},
"devDependencies": {
"autod": "^3.0.1",
"autod-egg": "^1.0.0",
"cos-nodejs-sdk-v5": "^2.5.8",
"egg-bin": "^4.12.3",
"egg-ci": "^1.8.0",
"egg-mock": "^3.14.0",
"eslint": "^4.11.0",
"eslint-config-egg": "^6.0.0",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"sequelize-cli": "^5.4.0",
"webstorm-disable-index": "^1.2.0"
},
"engines": {
"node": ">=8.9.0"
},
"scripts": {
"start": "egg-scripts start --daemon --title=egg-server-rainbow",
"stop": "egg-scripts stop --title=egg-server-rainbow",
"dev": "egg-bin dev",
"debug": "egg-bin debug",
"test": "npm run lint -- --fix && npm run test-local",
"test-local": "egg-bin test",
"cov": "egg-bin cov",
"lint": "eslint --fix --ext .js ./",
"ci": "npm run lint && npm run cov",
"init-dev-database": "mysql -u root -p123456 -e 'CREATE DATABASE IF NOT EXISTS `database_development`;'",
"init-pro-database": "mysql -u root -p123456 -e 'CREATE DATABASE IF NOT EXISTS `database_production`;'",
"autod": "autod",
"sequelize-dev": "NODE_ENV=development sequelize db:migrate",
"sequelize-pro": "NODE_ENV=production sequelize db:migrate",
"sequelize": "npm run sequelize-dev && npm run sequelize-pro",
"init-database": "npm run init-dev-database && npm run init-pro-database && npm run sequelize",
"insert-dev": "NODE_ENV=development sequelize db:seed:all",
"insert-pro": "NODE_ENV=production sequelize db:seed:all",
"insert": "npm run insert-dev && npm run insert-pro"
},
"ci": {
"version": "8"
},
"repository": {
"type": "git",
"url": ""
},
"author": "",
"license": "MIT"
}