-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
61 lines (61 loc) · 1.42 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
{
"name": "@rc-component/father-plugin",
"version": "2.0.3",
"description": "The father plugin for all react-component projects",
"keywords": [],
"repository": "https://github.com/react-component/father-plugin.git",
"license": "MIT",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"build": "father build",
"dev": "father dev",
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
"prepare": "husky install",
"prepublishOnly": "father doctor && npm run build"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{ts,tsx}": [
"eslint --fix",
"prettier --parser=typescript --write"
]
},
"dependencies": {
"fs-extra": "^11.3.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@umijs/lint": "^4",
"eslint": "^8.23.0",
"father": "^4.1.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.0.0",
"prettier-plugin-packagejson": "^2.2.18"
},
"peerDependencies": {
"father": "^4.0.0"
},
"publishConfig": {
"access": "public"
},
"authors": [
"PeachScript <[email protected]>"
]
}