-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.23 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
{
"name": "use-color-scheme",
"version": "1.1.3",
"description": "React Hook to get users prefered color scheme",
"keywords": [
"react",
"hooks",
"react hooks",
"dark mode",
"light mode",
"prefers-color-scheme",
"color-scheme"
],
"homepage": "https://github.com/jcblw/use-color-scheme#readme",
"repository": {
"type": "git",
"url": "https://github.com/jcblw/use-color-scheme.git"
},
"bugs": {
"url": "https://github.com/jcblw/use-color-scheme/issues"
},
"main": "dist/index.js",
"types": "types/lib/main.d.ts",
"unpkg": "dist/use-color-scheme.min.js",
"module": "dist/index.es.js",
"scripts": {
"test": "npm run build && nyc ava",
"build:cjs": "babel src/index.js --out-file dist/index.cjs.js",
"lint": "eslint {src,test}/*.js",
"build:script": "node scripts/build.js",
"build": "rm -rf dist && mkdir dist && npm run build:script",
"prepublish": "npm run build"
},
"files": [
"dist/**/*",
"types/lib/main.d.ts"
],
"author": "Jacob Lowe",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/register": "^7.4.4",
"@testing-library/react-hooks": "^5.1.2",
"ava": "^2.1.0",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-function-name": "^6.24.1",
"babel-plugin-transform-es2015-parameters": "^6.24.1",
"browser-env": "^3.2.6",
"eslint": "^6.4.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"react": "17.*",
"react-dom": "17.*",
"react-test-renderer": "^16.8.6",
"rollup": "^1.15.5",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-uglify": "^6.0.2"
},
"peerDependencies": {
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
"ava": {
"require": [
"@babel/register",
"./test/_setup-test.js"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"external": {
"react": "React"
}
}