-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
executable file
·114 lines (114 loc) · 3.46 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "service-mw2",
"version": "1.3.0",
"description": "Best practices of Midway.js",
"private": true,
"dependencies": {
"@midwayjs/bootstrap": "^2.12.0",
"@waiting/egg-jwt": "^6.2.0",
"@midwayjs/decorator": "^2.13.2",
"@midwayjs/orm": "^2.13.2",
"@midwayjs/swagger": "^1.1.0",
"@midwayjs/web": "^2.13.2",
"@mw-components/jaeger": "^9.0.1",
"@mw-components/jwt": "^9.2.0",
"@mw-components/koid": "^5.0.0",
"@waiting/shared-core": "^14.4.2",
"@waiting/shared-types": "^14.4.2",
"amqp-connection-manager": "^3.2.2",
"amqplib": "^0.8.0",
"bcryptjs": "^2.4.3",
"egg": "^2.30.0",
"egg-redis": "^2.4.0",
"opentracing": "^0.14.5",
"egg-scripts": "^2.15.1",
"meeko": "^1.8.166",
"midway": "^2.13.2",
"moment": "^2.29.1",
"mysql2": "^2.2.5",
"tsconfig-paths": "^3.10.1",
"typeorm": "^0.2.36"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@midwayjs/cli-plugin-faas": "^1.2.77",
"@midwayjs/fcli-plugin-fc": "^1.2.77",
"@types/jest": "^26.0.24",
"@midwayjs/cli": "^1.2.83",
"@midwayjs/egg-ts-helper": "^1.2.1",
"@midwayjs/mock": "^2.13.2",
"@types/amqplib": "^0.8.1",
"@types/mocha": "^9.0.0",
"@types/node": "^16.4.10",
"@types/rewire": "^2.5.28",
"c8": "^7.10.0",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-unicorn": "^34.0.1",
"husky": "^7.0.1",
"jest": "^27.0.6",
"espower-typescript": "10",
"intelli-espower-loader": "1",
"mocha": "^9.1.0",
"mocha-lcov-reporter": "1",
"mwts": "^1.2.2",
"rewire": "^5.0.0",
"standard-version": "^9.3.1",
"swagger-ui-dist": "^3.51.1",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
},
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"start": "egg-scripts start --daemon --title=midway-server-my_midway_project --framework=midway",
"online": "egg-scripts start --title=midway-server-my_midway_project --framework=midway",
"stop": "egg-scripts stop --title=midway-server-my_midway_project",
"start_build": "npm run build && cross-env NODE_ENV=development midway-bin dev",
"dev": "cross-env ets && cross-env NODE_ENV=local midway-bin dev --ts",
"debug": "cross-env NODE_ENV=local midway-bin dev --debug --ts",
"test": "midway-bin test --ts --forceExit",
"test:mocha": "cross-env MIDWAY_SERVER_ENV=unittest mocha --parallel=false",
"cov": "midway-bin cov --ts --forceExit",
"cov:mocha": "cross-env MIDWAY_SERVER_ENV=unittest TS_NODE_TYPE_CHECK=false TS_NODE_TRANSPILE_ONLY=true c8 mocha --parallel=false",
"lint": "mwts check",
"lint:fix": "mwts fix",
"ci": "npm run cov",
"build": "midway-bin build -c",
"commit": "git-cz",
"release": "standard-version",
"deploy": "midway-bin deploy"
},
"midway-bin-clean": [
".vscode/.tsbuildinfo",
"dist"
],
"midway-integration": {
"lifecycle": {
"before:package:cleanup": "npm run build"
}
},
"egg": {
"framework": "@midwayjs/web"
},
"repository": {
"type": "git",
"url": "https://github.com/fsd-nodejs/service-mw2"
},
"author": "FSD Node.js Group",
"license": "MIT",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}