forked from alibaba/pont
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 1.49 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
{
"name": "pont-engine",
"version": "0.2.1",
"description": "pont swagger typescript API",
"main": "lib/index.js",
"typings": "src/index.ts",
"bin": {
"pont": "bin/init.js"
},
"scripts": {
"pretest": "npm run build",
"test": "mocha --timeout 15000 -r ts-node/register test/**/test.ts",
"dev": "tsc -w",
"build": "rm -rf lib && tsc"
},
"dependencies": {
"chalk": "^2.3.0",
"commander": "^2.19.0",
"fs-extra": "^5.0.0",
"lodash": "^4.17.5",
"node-fetch": "^1.7.3",
"prettier": "^1.17.1",
"translation.js": "^0.7.5",
"ts-node": "^3.3.0",
"typescript": "^2.9.2"
},
"files": [
"src",
"lib",
"*.md",
"bin"
],
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@types/chai": "^4.1.7",
"@types/fs-extra": "^5.0.5",
"@types/http-server": "^0.10.0",
"@types/lodash": "^4.14.110",
"@types/mocha": "^5.2.6",
"@types/node": "^10.3.6",
"http-server": "^0.11.1",
"husky": "^1.1.3",
"lint-staged": "^8.1.0",
"mocha": "^6.0.1",
"pont-engine": "0.1.55",
"ts-node": "^3.3.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-merge": "yarn",
"pre-commit": "npm run build && npm run test && lint-staged"
}
},
"lint-staged": {
"{src, test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"keywords": [
"pont",
"swagger",
"typescript",
"API"
],
"author": "jasonHzq",
"license": "MIT"
}