-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.5 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
{
"name": "use-prefer-dark-mode",
"version": "1.0.4",
"description": "Small react hook to determine if your user prefers dark mode on their system.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0",
"build": "tsc",
"format": "prettier --write \"src/**/*.@(t|j)s?(x)\"",
"lint": "eslint './src/**/*.{ts,tsx}'",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"keywords": [
"react",
"hook",
"dark mode"
],
"author": "Isaiah Smith",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jordankid93/use-prefer-dark-mode.git"
},
"bugs": {
"url": "https://github.com/jordankid93/use-prefer-dark-mode/issues"
},
"homepage": "https://github.com/jordankid93/use-prefer-dark-mode#readme",
"files": [
"dist/**/*"
],
"devDependencies": {
"@types/react": "^16.9.5",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/parser": "^2.3.3",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.1.2",
"prettier": "^1.18.2",
"typescript": "^3.6.3"
},
"dependencies": {
"react": "^16.10.2"
}
}