-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
97 lines (97 loc) · 2.06 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
{
"name": "@zcorky/dva-for-taro",
"version": "1.0.1",
"description": "Dva for taro written with TypeScript",
"main": "lib/index.js",
"repository": "https://github.com/zcorky/dva-for-taro",
"homepage": "https://github.com/zcorky/dva-for-taro",
"bugs": {
"url": "https://github.com/zcorky/dva-for-taro/issues"
},
"keywords": [
"zcorky",
"dva-for-taro",
"dva4taro",
"dva",
"taro",
"typescript"
],
"author": "Zero <[email protected]> (https://moeover.com)",
"license": "MIT",
"scripts": {
"build": "npm run clean && tsc",
"clean": "rimraf -rf lib",
"test": "jest -w 1",
"coverage": "jest -w 1 && codecov",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/node": "^10.9.4",
"@types/react": "^16.8.13",
"@types/react-redux": "^7.1.9",
"@tarojs/taro": "^1.2.23",
"@zcorky/delay": "^1.0.1",
"codecov": "^3.2.0",
"cross-env": "^5.2.0",
"husky": "^1.2.1",
"jest": "^24.5.0",
"rimraf": "^2.6.2",
"ts-jest": "^24.0.0",
"ts-node": "^7.0.1",
"tslint": "^5.10.0",
"tslint-eslint-rules": "^5.3.1",
"tslint-jsdoc-rules": "^0.1.2",
"typescript": "^4.0.3"
},
"files": [
"lib/",
"packages/"
],
"husky": {
"hooks": {
"pre-commit": "npm test"
}
},
"jest": {
"roots": [
"test"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "test/.*\\.spec\\.(ts|tsx)$",
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 40,
"functions": 50,
"lines": 60,
"statements": -10
}
}
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"dva-core": "1.4.0"
},
"peerDependencies": {
"react-redux": "7.x"
}
}