-
Notifications
You must be signed in to change notification settings - Fork 72
/
package.json
75 lines (75 loc) · 2.52 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
{
"name": "reliable-web",
"version": "1.1.0",
"description": "Testing management suite with continuous delivery support.",
"private": true,
"dependencies": {
"dingtalk-robot-sender": "^1.1.1",
"egg": "^2.2.1",
"egg-scripts": "^2.5.0",
"egg-sequelize": "^4.2.0",
"egg-static": "^2.1.1",
"egg-validate": "^1.0.0",
"lodash.get": "^4.4.2",
"moment": "^2.22.2",
"sequelize-cli": "^5.5.0"
},
"devDependencies": {
"autod": "^3.0.1",
"autod-egg": "^1.0.0",
"concurrently": "4.0.1",
"debug": "^3.1.0",
"easy-i18n-cli": "1",
"egg-bin": "^4.3.5",
"egg-mock": "^3.14.0",
"eslint": "^4.11.0",
"eslint-config-antife": "^1.0.3",
"eslint-config-egg": "^6.0.0",
"git-contributor": "1",
"husky": "^1.3.1",
"macaca-ecosystem": "*",
"mysql2": "^1.6.4",
"request": "^2.88.0",
"sinon": "^6.1.4",
"uuid": "^3.3.2",
"vuepress": "^1.8.2"
},
"scripts": {
"start": "NODE_ENV=production npm run db:migrate && eggctl start --port=9900 --title=egg-server-reliable-web",
"stop": "eggctl stop --title=egg-server-reliable-web",
"dev:server": "npm run db:migrate && DEBUG=reliable* egg-bin dev",
"dev:view": "cd view && npm run dev",
"dev": "concurrently \"npm run dev:view\" \"npm run dev:server\"",
"test": "npm run db:prepare:test && npm run lint && npm run test-local",
"test-local": "egg-bin test",
"test:debug": "DEBUG=reliable* egg-bin test",
"cov": "npm run db:prepare:test && egg-bin cov",
"lint": "eslint . --fix",
"autod": "autod",
"translate": "easy-i18n-cli -c ./i18n.config.js",
"build:docker": "docker build --no-cache --pull -t macacajs/reliable-web .",
"db:prepare:test": "NODE_ENV=test npm run db:migrate:undo:all && NODE_ENV=test npm run db:migrate",
"db:status": "sequelize db:migrate:status",
"db:migrate": "sequelize db:migrate",
"db:migrate:undo": "sequelize db:migrate:undo",
"db:migrate:undo:all": "sequelize db:migrate:undo:all",
"db:seed": "sequelize db:seed",
"db:seed:all": "sequelize db:seed:all",
"db:seed:undo:all": "sequelize db:seed:undo:all",
"migration:generate": "sequelize migration:generate --name",
"seed:generate": "sequelize seed:generate --name",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"contributor": "git-contributor"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"repository": {
"type": "git",
"url": "https://github.com/macacajs/reliable.git"
},
"license": "MIT"
}