-
Notifications
You must be signed in to change notification settings - Fork 98
/
package.json
70 lines (70 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
{
"name": "use-dark-mode",
"publishConfig": {
"tag": "latest"
},
"version": "2.3.2",
"description": "A custom React Hook to help you implement a \"dark mode\" component.",
"main": "dist/use-dark-mode.js",
"umd:main": "dist/use-dark-mode.umd.js",
"module": "dist/use-dark-mode.m.js",
"source": "src/index.js",
"types": "types/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/donavon/use-dark-mode.git"
},
"scripts": {
"prepublishOnly": "npm run build",
"lint": "eslint src",
"test": "jest --verbose --coverage --silent",
"test:watch": "jest --watch --runInBand --silent",
"prebuild": "npm run lint && npm t && rimraf dist",
"build": "microbundle -o dist/ --sourcemap false --target web",
"dev": "microbundle watch -o dist/ --sourcemap false --compress false"
},
"keywords": [
"react-hooks",
"hooks",
"react",
"utils",
"lib",
"dark-mode"
],
"author": "donavon",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"eslint": "^5.10.0",
"eslint-config-amex": "^9.0.0",
"eslint-plugin-react-hooks": "^1.2.0",
"jest": "^23.6.0",
"jest-dom": "^3.0.0",
"microbundle": "^0.9.0",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-testing-library": "^5.5.0",
"rimraf": "^2.6.2"
},
"peerDependencies": {
"react": "^16.8.0"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"dependencies": {
"@use-it/event-listener": "^0.1.2",
"use-persisted-state": "^0.3.0"
}
}