-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.28 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
{
"name": "y2s",
"version": "0.4.6",
"description": "A tool to generate api services from yapi",
"main": "dist/index.js",
"repository": "git@github.com:erguotou520/yapi2service.git",
"author": "erguotou525@gmail.com",
"license": "MIT",
"files": [
"bin",
"dist"
],
"bin": {
"y2s": "./bin/y2s.js"
},
"scripts": {
"build": "tsc --outFile bin/y2s.js bin/y2s.ts && tsc && sed -i '' 's/src/dist/' bin/y2s.js",
"prepublishOnly": "npm run build",
"start": "ts-node bin/y2s.ts update -y",
"demo": "ts-node src/demo/index.ts",
"commit": "git-cz"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/fs-extra": "^9.0.1",
"@types/inquirer": "^7.3.1",
"@types/json-schema": "^7.0.6",
"@types/node": "^14.10.1",
"@types/ora": "^3.2.0",
"commitizen": "^4.2.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^4.3.0",
"ts-node": "^9.0.0"
},
"dependencies": {
"axios": "^0.20.0",
"fs-extra": "^9.0.1",
"inquirer": "^7.3.3",
"ora": "^5.1.0",
"typescript": "^4.0.2"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}