-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathpackage.json
75 lines (75 loc) · 2.11 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": "demo",
"version": "1.0.0",
"description": "",
"private": true,
"egg": {
"typescript": true,
"declarations": true
},
"scripts": {
"start": "egg-scripts start --port=80 --daemon --title=egg-server-demo",
"stop": "egg-scripts stop --title=egg-server-demo",
"dev": "npx sequelize db:migrate && egg-bin dev --port 2048",
"debug": "egg-bin debug",
"test": "NODE_ENV=test npm run sequelize -- db:migrate && npm run lint -- --fix && npm run test:local",
"test:local": "egg-bin test",
"cov": "egg-bin cov",
"tsc": "ets && tsc -p tsconfig.json",
"ci": "npm run lint && NODE_ENV=test npx sequelize db:migrate && npm run cov && npm run tsc",
"autod": "autod",
"dev:doc": "npx vuepress dev doc",
"build:doc": "npx vuepress build doc",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npx eslint . --ext .ts --fix",
"clean": "ets clean",
"sequelize": "sequelize --",
"migrate:up": "npx sequelize db:migrate",
"migrate:down": "npx sequelize db:migrate:undo",
"migrate:down:all": "npx sequelize db:migrate:undo:all",
"seed:up": "npx sequelize db:seed:all",
"seed:down": "npx sequelize db:seed:undo",
"seed:down:all": "npx sequelize db:seed:undo:all"
},
"dependencies": {
"chai": "^4.2.0",
"egg": "^2.6.1",
"egg-redis": "^2.4.0",
"egg-scripts": "^2.6.0",
"egg-sequelize": "^5.2.2",
"egg-validate": "^2.0.2",
"eslint": "^7.4.0",
"lodash": "^4.17.21",
"mysql2": "^2.1.0"
},
"devDependencies": {
"@types/mocha": "^2.2.40",
"@types/node": "^7.0.12",
"@types/supertest": "^2.0.0",
"autod": "^3.0.1",
"autod-egg": "^1.1.0",
"egg-bin": "^4.11.0",
"egg-ci": "^1.8.0",
"egg-mock": "^3.16.0",
"eslint-config-egg": "^8.0.0",
"factory-girl": "^5.0.4",
"sequelize-cli": "^6.2.0",
"tslib": "^1.9.0",
"typescript": "^3.0.0"
},
"engines": {
"node": ">=8.9.0"
},
"ci": {
"version": "8"
},
"repository": {
"type": "git",
"url": ""
},
"eslintIgnore": [
"coverage"
],
"author": "csxiaoyao <[email protected]>",
"license": "MIT"
}