-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
72 lines (72 loc) · 1.78 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
{
"name": "react-interactive",
"version": "1.1.2",
"description": "Better hover, active and focus states than CSS pseudo-classes, and a callback when the interactive state changes.",
"main": "dist/react-interactive.cjs.js",
"module": "dist/react-interactive.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "rollpkg build",
"watch": "rollpkg watch",
"prepublishOnly": "npm run lint && npm test && npm run build",
"lint": "eslint src",
"test": "jest",
"test:watch": "jest --watchAll",
"coverage": "npx live-server coverage/lcov-report",
"lintStaged": "lint-staged"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/rafgraph/react-interactive.git"
},
"keywords": [
"react",
"interactive",
"touch",
"hover",
"active",
"focus",
"keyboard",
"accessibility"
],
"author": "Rafael Pedicini <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rafgraph/react-interactive/issues"
},
"homepage": "https://react-interactive.rafgraph.dev",
"dependencies": {
"event-from": "^1.0.0",
"react-polymorphic-types": "^1.1.0"
},
"devDependencies": {
"@types/react": "^17.0.4",
"lint-staged": "^10.5.4",
"pre-commit": "^1.2.2",
"react": "file:demo/node_modules/react",
"rollpkg": "^0.5.7",
"typescript": "^4.2.4"
},
"peerDependencies": {
"react": ">=16.8"
},
"pre-commit": "lintStaged",
"lint-staged": {
"(src/**/*|demo/src/**/*)": [
"prettier --write --ignore-unknown"
]
},
"prettier": "rollpkg/configs/prettier.json",
"eslintConfig": {
"extends": [
"./node_modules/rollpkg/configs/eslint"
]
},
"jest": {
"preset": "rollpkg"
}
}