-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathpackage.json
95 lines (95 loc) · 2.58 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
{
"name": "react-use-gesture",
"version": "5.1.2",
"description": "React hook for receiving gestures",
"main": "web.cjs.js",
"module": "web.js",
"private": true,
"sideEffects": false,
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"scripts": {
"prebuild": "rimraf dist",
"build": "npm-run-all --parallel copy rollup",
"copy": "copyfiles -f package.json readme.md LICENSE.md \"types/*\" dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.prettier=undefined; this.jest=undefined;\"",
"rollup": "rollup -c",
"prepare": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --silent",
"test:ts": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-spring/react-use-gesture.git"
},
"keywords": [
"react",
"hook",
"gesture",
"mouse",
"trackpad",
"touch",
"drag",
"pinch",
"rotate",
"scroll",
"wheel"
],
"author": "Paul Henschel",
"contributors": [
"David Bismut"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/react-spring/react-use-gesture/issues"
},
"homepage": "https://github.com/react-spring/react-use-gesture#readme",
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"jsxBracketSameLine": true,
"tabWidth": 2,
"printWidth": 140
},
"devDependencies": {
"@babel/core": "7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-transform-runtime": "7.4.4",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@types/react": "^16.8.18",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^24.7.1",
"copyfiles": "^2.1.0",
"husky": "^2.2.0",
"jest": "^24.7.1",
"jest-dom": "^3.1.3",
"json": "^9.0.6",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"pretty-quick": "^1.10.0",
"react": "^16.9.0-alpha.0",
"react-dom": "^16.9.0-alpha.0",
"react-testing-library": "^7.0.0",
"rimraf": "^2.6.2",
"rollup": "^1.10.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-node-resolve": "^5.0.0",
"rollup-plugin-uglify": "^6.0.2",
"typescript": "^3.4.5"
},
"peerDependencies": {
"react": ">= 16.8.0",
"react-dom": ">= 16.8.0"
},
"jest": {
"testRegex": "test.(js|ts|tsx)$"
}
}