forked from react-component/m-pull-to-refresh
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
101 lines (101 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
100
101
{
"name": "@hippy/rmc-pull-to-refresh",
"version": "1.2.0",
"description": "React Mobile Pull To Refresh Component",
"keywords": [
"react",
"react-component",
"react-pull-to-refresh",
"pull-to-refresh"
],
"homepage": "https://github.com/hippy-contrib/m-pull-to-refresh",
"repository": {
"type": "git",
"url": "git+https://github.com/hippy-contrib/m-pull-to-refresh.git"
},
"bugs": {
"url": "https://github.com/hippy-contrib/m-pull-to-refresh/issues"
},
"files": [
"dist",
"assets/*.css"
],
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"config": {
"port": 8888
},
"scripts": {
"build": "rollup -c",
"watch-tsc": "rc-tools run watch-tsc",
"compile": "rc-tools run compile --babel-runtime",
"emample-build": "rc-tools run build",
"gh-pages": "rc-tools run gh-pages",
"start": "rc-tools run server",
"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.0.0",
"classnames": "^2.2.5"
},
"devDependencies": {
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/classnames": "^2.2.3",
"@types/enzyme": "^2.8.6",
"@types/enzyme-to-json": "^1.5.0",
"@types/jest": "^20.0.7",
"@types/react": ">=16.11.0",
"@types/react-dom": "^15.5.0",
"acorn-jsx": "^5.3.2",
"coveralls": "^2.13.1",
"enzyme": "^2.9.1",
"enzyme-to-json": "^1.5.1",
"jest": "^20.0.4",
"pre-commit": ">=1.0.0",
"rc-tools": ">=6.0.0",
"react": ">=16.11.0 <18.0.0",
"react-dom": ">=16.11.0 <18.0.0",
"react-test-renderer": "^15.5.0",
"rollup": "^2.75.7",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-typescript2": "^0.32.1",
"rollup-plugin-visualizer": "^5.6.0",
"tslib": "^2.4.0",
"typescript": "4.6"
},
"pre-commit": [
"lint"
],
"directories": {
"example": "examples",
"test": "tests"
},
"author": ""
}