-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
105 lines (105 loc) · 2.94 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
{
"name": "webpack-route-plugin",
"version": "1.5.0",
"description": "根据目录自动生成页面 route 配置,非常适合 SPA 应用的自动路由生成,去中心化路由配置",
"main": "lib/index.js",
"author": "zman",
"license": "MIT",
"scripts": {
"start": "node ./lib/app.js",
"dev": "tsc --watch",
"dev:2": "tsc --watch & nodemon ./lib/app.js",
"lint:style": "stylelint --fix src/**/*.{less,scss,css}",
"build": "rimraf lib && tsc",
"test": "jest --coverage",
"test:w": "jest --watchAll --passWithNoTests",
"lint": "eslint --config .eslintrc.yml --fix src/** --ext .ts",
"prerelease": "npm run lint && npm run test && npm run build",
"release": "standard-version && git push --tags",
"prepublishOnly": "npm run lint && npm run test && npm run build"
},
"files": [
"lib",
"demo"
],
"dependencies": {
"@a8k/babel-preset": "^2.4.3",
"@babel/core": "^7.8.7",
"chokidar": "^3.3.1",
"fs-extra": "^9.0.0",
"lodash": "^4.17.15"
},
"devDependencies": {
"@a8k/changelog": "^2.3.0",
"@commitlint/cli": "^8.3.5",
"@types/chokidar": "^2.1.3",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.1.4",
"@types/lodash": "^4.14.149",
"@types/node": "^13.9.2",
"@types/safe-json-stringify": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"commitizen": "^4.0.3",
"commitlint-config-cz": "^0.13.0",
"cz-customizable": "^6.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-zman": "^1.0.1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.8",
"prettier": "^1.19.1",
"standard-version": "^7.1.0",
"stylelint": "^13.2.1",
"stylelint-config-css-modules": "^2.2.0",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.13.0",
"ts-jest": "^25.2.1",
"ts-node-dev": "^1.0.0-pre.40",
"typescript": "^3.7.3"
},
"lint-staged": {
"*.{css,less,scss}": [
"prettier --write",
"stylelint --fix",
"git add"
],
",json,md": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{jsx,js}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
},
"cz-customizable": {
"config": "node_modules/@a8k/changelog/cz-config.js"
}
}
}