-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 1.68 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
{
"name": "milady",
"version": "0.0.5",
"description": "Generate the front-end code by parsing the interface document",
"main": "lib/index.js",
"bin": {
"milady": "./bin/milady.js"
},
"scripts": {
"build": "father-build",
"publish": "npm publish --access public",
"prettier": "prettier -c --write **/*",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty ./",
"test": "umi-test",
"lint-staged": "lint-staged",
"coverage": "cat ./coverage/lcov.info | coveralls"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"npm run prettier",
"git add"
],
"**/*.{js,jsx,ts,tsx}": "npm run eslint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alitajs/codegen.git"
},
"keywords": [
"codegen",
"umi",
"alitajs"
],
"files": [
"lib",
"template",
"bin"
],
"author": "xiaohuoni",
"license": "MIT",
"bugs": {
"url": "https://github.com/alitajs/codegen/issues"
},
"homepage": "https://github.com/alitajs/codegen#readme",
"dependencies": {
"@types/node-fetch": "^2.3.7",
"@types/signale": "^1.2.1",
"fs": "^0.0.1-security",
"fs-extra": "^8.0.1",
"node-fetch": "^2.6.0",
"path": "^0.12.7",
"signale": "^1.4.0",
"typescript": "^3.5.2",
"umi-request": "^1.0.8",
"yargs-parser": "^13.1.1"
},
"devDependencies": {
"@types/fs-extra": "^7.0.0",
"@types/jest": "^24.0.15",
"@umijs/fabric": "^1.0.9",
"father-build": "^1.3.2",
"husky": "^2.4.1",
"lint-staged": "^8.2.1",
"prettier": "^1.18.2",
"umi-test": "^1.6.1"
}
}