forked from kunlunjs/data-center
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.83 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.83 KB
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
{
"name": "@doremijs/a2s",
"version": "0.0.21",
"description": "根据接口数据源生成前端代码",
"keywords": [
"openapi",
"swagger",
"yapi",
"typescript",
"generator"
],
"license": "GPL-3.0-or-later",
"main": "dist/index.js",
"author": "erguotou525@gmail.com",
"files": [
"bin/a2s.js",
"dist"
],
"bin": {
"a2s": "./bin/a2s.js"
},
"scripts": {
"build": "rm -rf dist && tsc --outFile bin/a2s.js bin/a2s.ts && tsc && sed -i '' 's/src/dist/' bin/a2s.js && cp -r src/templates dist && rsync -avzP --delete --exclude '*.ts' --exclude '*.d.ts' --exclude '*.js' src/plugins/* dist/plugins",
"prepublishOnly": "npm run build",
"config": "ts-node bin/a2s.ts init -y",
"start": "ts-node bin/a2s.ts generate -y",
"setup": "husky install",
"lint": "eslint . --fix"
},
"dependencies": {
"axios": "^0.26.0",
"eta": "^1.12.3",
"fs-extra": "^10.0.1",
"inquirer": "^8.2.0",
"ora": "^5.4.1",
"prettier": "^2.5.1",
"swagger2openapi": "^7.0.8"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@doremijs/prettier-config": "^0.1.3",
"@types/fs-extra": "^9.0.13",
"@types/inquirer": "^8.2.0",
"@types/json-schema": "^7.0.7",
"@types/node": "^17.0.19",
"@types/prettier": "^2.4.4",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"devmoji": "^2.3.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"openapi-types": "^10.0.0",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"prettier": "@doremijs/prettier-config"
}