-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
76 lines (76 loc) · 1.85 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
{
"name": "crooks",
"description": "A collection of useful React hooks",
"version": "2.0.1",
"browser": "dist/index.umd.js",
"main": "dist/index.js",
"module": "dist/index.es.js",
"repository": {
"type": "git",
"url": "https://www.github.com/chrisjpatty/crooks.git"
},
"dependencies": {
"@testing-library/react": "^14.0.0",
"local-storage": "^2.0.0",
"nanoid": "^4.0.1"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.3.2",
"@types/react": "^18.0.28",
"babel-jest": "^24.3.1",
"babel-polyfill": "^6.26.0",
"coveralls": "^3.0.3",
"jest": "^24.3.1",
"jest-dom": "^3.1.2",
"jest-localstorage-mock": "^2.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^16.8.4",
"rollup": "^2.70.2",
"rollup-plugin-peer-deps-external": "^2.2.0",
"tslib": "^2.5.0",
"typescript": "^5.0.2"
},
"peerDependencies": {
"prop-types": "^15.5.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"test": "jest",
"pretest": "npm run build",
"coveralls": "jest --coverage --collectCoverageFrom=src/**/*.js && cat ./coverage/lcov.info | coveralls"
},
"files": [
"dist"
],
"jest": {
"setupFiles": [
"jest-localstorage-mock"
]
},
"keywords": [
"use",
"hooks",
"react",
"use hooks",
"react hooks",
"localstorage",
"files",
"keyboard",
"shortcut",
"useFiler",
"useKeyboardShortcut",
"useLocalStorage",
"useOnClickOutside"
]
}