1 | {
|
2 | "name": "rmc-pull-to-refresh",
|
3 | "version": "1.0.13",
|
4 | "description": "React Mobile Pull To Refresh Component",
|
5 | "keywords": [
|
6 | "react",
|
7 | "react-component",
|
8 | "react-pull-to-refresh",
|
9 | "pull-to-refresh"
|
10 | ],
|
11 | "homepage": "https://github.com/react-component/m-pull-to-refresh",
|
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": 8899
|
29 | },
|
30 | "scripts": {
|
31 | "watch-tsc": "rc-tools run watch-tsc",
|
32 | "compile": "rc-tools run compile --babel-runtime",
|
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 | "coverage": "jest --coverage"
|
43 | },
|
44 | "jest": {
|
45 | "testMatch": [
|
46 | "**/__tests__/**/*.ts?(x)",
|
47 | "**/?(*.)(spec|test).ts?(x)"
|
48 | ],
|
49 | "coverageDirectory": "./coverage/",
|
50 | "moduleFileExtensions": [
|
51 | "ts",
|
52 | "tsx",
|
53 | "js"
|
54 | ],
|
55 | "collectCoverageFrom": [
|
56 | "src/**/*"
|
57 | ],
|
58 | "transform": {
|
59 | "\\.tsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js",
|
60 | "\\.jsx?$": "./node_modules/rc-tools/scripts/jestPreprocessor.js"
|
61 | }
|
62 | },
|
63 | "dependencies": {
|
64 | "babel-runtime": "6.x",
|
65 | "classnames": "^2.2.5"
|
66 | },
|
67 | "devDependencies": {
|
68 | "@types/classnames": "^2.2.3",
|
69 | "@types/enzyme": "^2.8.6",
|
70 | "@types/enzyme-to-json": "^1.5.0",
|
71 | "@types/jest": "^20.0.7",
|
72 | "@types/react": "^15.0.27",
|
73 | "@types/react-dom": "^15.5.0",
|
74 | "coveralls": "^2.13.1",
|
75 | "enzyme": "^2.9.1",
|
76 | "enzyme-to-json": "^1.5.1",
|
77 | "jest": "^20.0.4",
|
78 | "pre-commit": "1.x",
|
79 | "rc-tools": "6.x",
|
80 | "react": "16.x",
|
81 | "react-dom": "16.x",
|
82 | "react-test-renderer": "^15.5.0"
|
83 | },
|
84 | "pre-commit": [
|
85 | "lint"
|
86 | ]
|
87 | }
|