-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathpackage.json
87 lines (87 loc) · 2.12 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
{
"name": "rmc-pull-to-refresh",
"version": "1.0.13",
"description": "React Mobile Pull To Refresh Component",
"keywords": [
"react",
"react-component",
"react-pull-to-refresh",
"pull-to-refresh"
],
"homepage": "https://github.com/react-component/m-pull-to-refresh",
"repository": {
"type": "git",
"url": "https://github.com/react-component/m-tabs.git"
},
"bugs": {
"url": "https://github.com/react-component/m-tabs/issues"
},
"files": [
"lib",
"es",
"assets/*.css"
],
"license": "MIT",
"main": "./lib/index",
"module": "./es/index",
"config": {
"port": 8899
},
"scripts": {
"watch-tsc": "rc-tools run watch-tsc",
"compile": "rc-tools run compile --babel-runtime",
"build": "rc-tools run build",
"gh-pages": "rc-tools run gh-pages",
"start": "rc-tools run server",
"prepublish": "rc-tools run guard",
"prepare": "rc-tools run guard",
"prepublishOnly": "rc-tools run guard",
"pub": "rc-tools run pub --babel-runtime",
"lint": "rc-tools run lint --no-js-lint",
"test": "jest",
"coverage": "jest --coverage"
},
"jest": {
"testMatch": [
"**/__tests__/**/*.ts?(x)",
"**/?(*.)(spec|test).ts?(x)"
],
"coverageDirectory": "./coverage/",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"collectCoverageFrom": [
"src/**/*"
],
"transform": {
"\\.tsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js",
"\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js"
}
},
"dependencies": {
"babel-runtime": "6.x",
"classnames": "^2.2.5"
},
"devDependencies": {
"@types/classnames": "^2.2.3",
"@types/enzyme": "^2.8.6",
"@types/enzyme-to-json": "^1.5.0",
"@types/jest": "^20.0.7",
"@types/react": "^15.0.27",
"@types/react-dom": "^15.5.0",
"coveralls": "^2.13.1",
"enzyme": "^2.9.1",
"enzyme-to-json": "^1.5.1",
"jest": "^20.0.4",
"pre-commit": "1.x",
"rc-tools": "6.x",
"react": "16.x",
"react-dom": "16.x",
"react-test-renderer": "^15.5.0"
},
"pre-commit": [
"lint"
]
}