-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathpackage.json
99 lines (99 loc) · 2.57 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
98
99
{
"name": "rmc-tabs",
"version": "1.2.29",
"description": "React Mobile Tabs Component(web & react-native)",
"keywords": [
"react",
"react-component",
"react-m-tabs",
"m-tabs"
],
"homepage": "https://github.com/react-component/m-tabs",
"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": 8021
},
"scripts": {
"watch-tsc": "rc-tools run watch-tsc",
"compile": "rc-tools run compile",
"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",
"update-snap": "jest --updateSnapshot",
"coverage": "jest --coverage",
"coverage:upload": "npm run coverage && cat ./coverage/lcov.info | coveralls",
"rn-init": "rc-tools run react-native-init",
"rn-start": "node node_modules/react-native/local-cli/cli.js start"
},
"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",
"rc-gesture": "~0.0.18"
},
"devDependencies": {
"@types/enzyme": "^2.8.6",
"@types/enzyme-to-json": "^1.5.0",
"@types/jest": "^20.0.7",
"@types/react": "^15.5.0",
"@types/react-dom": "^15.5.0",
"@types/react-native": "^0.46.9",
"@types/react-sticky": "^6.0.0",
"jest": "^20.0.4",
"enzyme": "^2.9.1",
"enzyme-to-json": "^1.5.1",
"coveralls": "^2.13.1",
"pre-commit": "1.x",
"rc-test": "6.x",
"rc-tools": "6.x",
"react": "^15.5.0",
"react-dom": "^15.5.0",
"react-sticky": "^6.0.1",
"react-native": "~0.42.0",
"react-native-index-page": "^0.2.1",
"react-test-renderer": "^15.5.0",
"stylelint-config-standard": "^17.0.0"
},
"typings": "./lib/index.d.ts",
"pre-commit": [
"lint",
"test"
]
}