1 | {
|
2 | "name": "rmc-tabs",
|
3 | "version": "1.2.29",
|
4 | "description": "React Mobile Tabs Component(web & react-native)",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-m-tabs",
|
9 | "m-tabs"
|
10 | ],
|
11 | "homepage": "https://github.com/react-component/m-tabs",
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "https://github.com/react-component/m-tabs.git"
|
15 | },
|
16 | "bugs": {
|
17 | "url": "https://github.com/react-component/m-tabs/issues"
|
18 | },
|
19 | "files": [
|
20 | "lib",
|
21 | "es",
|
22 | "assets/*.css"
|
23 | ],
|
24 | "license": "MIT",
|
25 | "main": "./lib/index",
|
26 | "module": "./es/index",
|
27 | "config": {
|
28 | "port": 8021
|
29 | },
|
30 | "scripts": {
|
31 | "watch-tsc": "rc-tools run watch-tsc",
|
32 | "compile": "rc-tools run compile",
|
33 | "build": "rc-tools run build",
|
34 | "gh-pages": "rc-tools run gh-pages",
|
35 | "start": "rc-tools run server",
|
36 | "prepublish": "rc-tools run guard",
|
37 | "prepare": "rc-tools run guard",
|
38 | "prepublishOnly": "rc-tools run guard",
|
39 | "pub": "rc-tools run pub --babel-runtime",
|
40 | "lint": "rc-tools run lint --no-js-lint",
|
41 | "test": "jest",
|
42 | "update-snap": "jest --updateSnapshot",
|
43 | "coverage": "jest --coverage",
|
44 | "coverage:upload": "npm run coverage && cat ./coverage/lcov.info | coveralls",
|
45 | "rn-init": "rc-tools run react-native-init",
|
46 | "rn-start": "node node_modules/react-native/local-cli/cli.js start"
|
47 | },
|
48 | "jest": {
|
49 | "testMatch": [
|
50 | "**/__tests__/**/*.ts?(x)",
|
51 | "**/?(*.)(spec|test).ts?(x)"
|
52 | ],
|
53 | "coverageDirectory": "./coverage/",
|
54 | "moduleFileExtensions": [
|
55 | "ts",
|
56 | "tsx",
|
57 | "js"
|
58 | ],
|
59 | "collectCoverageFrom": [
|
60 | "src/**/*"
|
61 | ],
|
62 | "transform": {
|
63 | "\\.tsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js",
|
64 | "\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js"
|
65 | }
|
66 | },
|
67 | "dependencies": {
|
68 | "babel-runtime": "6.x",
|
69 | "rc-gesture": "~0.0.18"
|
70 | },
|
71 | "devDependencies": {
|
72 | "@types/enzyme": "^2.8.6",
|
73 | "@types/enzyme-to-json": "^1.5.0",
|
74 | "@types/jest": "^20.0.7",
|
75 | "@types/react": "^15.5.0",
|
76 | "@types/react-dom": "^15.5.0",
|
77 | "@types/react-native": "^0.46.9",
|
78 | "@types/react-sticky": "^6.0.0",
|
79 | "jest": "^20.0.4",
|
80 | "enzyme": "^2.9.1",
|
81 | "enzyme-to-json": "^1.5.1",
|
82 | "coveralls": "^2.13.1",
|
83 | "pre-commit": "1.x",
|
84 | "rc-test": "6.x",
|
85 | "rc-tools": "6.x",
|
86 | "react": "^15.5.0",
|
87 | "react-dom": "^15.5.0",
|
88 | "react-sticky": "^6.0.1",
|
89 | "react-native": "~0.42.0",
|
90 | "react-native-index-page": "^0.2.1",
|
91 | "react-test-renderer": "^15.5.0",
|
92 | "stylelint-config-standard": "^17.0.0"
|
93 | },
|
94 | "typings": "./lib/index.d.ts",
|
95 | "pre-commit": [
|
96 | "lint",
|
97 | "test"
|
98 | ]
|
99 | }
|