-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.09 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
{
"name": "rc-gusture-unlock",
"version": "1.0.1",
"description": "Gesture Unlock react component used in h5(mobile)",
"keywords": [
"react",
"react-component",
"rc-gusture-unlock",
"mobile-gusture-unlock",
"gusture",
"canvas"
],
"main": "./lib/index",
"module": "./es/index",
"files": [
"es",
"lib",
"dist"
],
"homepage": "https://codesandbox.io/s/magical-robinson-roh9hz",
"repository": {
"url": "https://github.com/candy4290/rc-gusture-unlock.git"
},
"bugs": {
"url": "https://github.com/candy4290/rc-gusture-unlock/issues"
},
"license": "MIT",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d .doc",
"compile": "father build",
"compile2": "father build && lessc assets/index.less assets/index.css",
"gh-pages": "npm run docs:build && npm run docs:deploy",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
"publish": "npm run compile && np --yolo",
"postpublish": "npm run gh-pages",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
"prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
"pretty-quick": "pretty-quick",
"test": "umi-test",
"coverage": "umi-test --coverage"
},
"dependencies": {
"@babel/runtime": "^7.10.1"
},
"devDependencies": {
"@rc-component/father-plugin": "^1.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.3.0",
"@types/classnames": "^2.2.9",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/fabric": "^2.0.8",
"coveralls": "^3.0.6",
"cross-env": "^7.0.2",
"dumi": "^1.1.50",
"eslint": "^7.0.0",
"father": "^4.0.0",
"gh-pages": "^3.1.0",
"husky": "^4.2.5",
"less": "^3.10.3",
"np": "^7.7.0",
"prettier": "^2.0.5",
"pretty-quick": "^2.0.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"umi-test": "^1.1.1"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}