-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.54 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
{
"name": "umi-preset-mobile",
"version": "1.0.0",
"description": "Mobile plugins for umi",
"keywords": [
"umi",
"umijs",
"mobile"
],
"main": "lib",
"files": [
"lib",
"README.md",
"LICENSE"
],
"author": "chemdemo <[email protected]>",
"scripts": {
"build": "rm -rf {es,lib} && father-build",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"prepublishOnly": "npm run build",
"release": "npm run build && np"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write",
"git add"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write"
]
},
"peerDependencies": {
"react": "^16"
},
"dependencies": {
"postcss-plugin-px2rem": "^0.8.1",
"umi-hd": "^5"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@testing-library/react": "^9.4.0",
"@types/jest": "^25.2.3",
"@types/react": "^16",
"@umijs/test": "^3",
"@umijs/test-utils": "^3",
"@umijs/types": "^3",
"father-build": "^1.17.2",
"husky": "^4.3.8",
"lint-staged": "^10.0.7",
"np": "^6.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/rich-lab/umi-preset-mobile"
},
"license": "MIT"
}