-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
87 lines (87 loc) · 2.03 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
{
"name": "react-darkreader",
"version": "1.5.6",
"description": "A React Hook for adding a dark / night mode to your site inspired by darkreader",
"keywords": [
"react",
"react-component",
"react-darkreader",
"darkreader",
"darkmode"
],
"authors": {
"name": "Turkyden",
"email": "[email protected]"
},
"homepage": "http://github.com/Turkyden/react-darkreader",
"repository": {
"type": "git",
"url": "[email protected]:Turkyden/react-darkreader.git"
},
"bugs": {
"url": "http://github.com/Turkyden/react-darkreader/issues"
},
"license": "MIT",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"build": "father-build",
"deploy": "npm run docs:build && npm run docs:deploy",
"release": "npm run build && npm publish",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"test": "umi-test",
"test:coverage": "umi-test --coverage",
"commit": "cz"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"lib",
"es",
"package.json",
"README.md",
"LICENSE"
],
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"config": {
"commitizen": {
"path": "git-cz"
}
},
"dependencies": {
"darkreader": "^4.9.26",
"react-switch": "^6.0.0"
},
"peerDependencies": {
"react": "^16.8.6"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^5.0.3",
"@types/jest": "^26.0.20",
"@umijs/test": "^3.0.5",
"antd": "^4.12.3",
"dumi": "^1.1.16",
"father-build": "^1.17.2",
"gh-pages": "^3.0.0",
"git-cz": "^4.7.6",
"husky": "^5.1.1",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"yorkie": "^2.0.0"
}
}