-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.08 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
{
"name": "use-theme-switcher",
"version": "1.0.0",
"description": "React theme switcher with hooks and preventing the initial flash",
"main": "lib/index.js",
"scripts": {
"build": "babel src --out-dir lib --verbose --copy-files",
"clean": "rimraf lib",
"prebuild": "npm run clean",
"prepare": "cross-env NODE_ENV=production npm run build",
"pretest": "npm run build",
"test:lint": "eslint --ignore-path .gitignore --ext js,jsx,snap .",
"test": "npm run test:lint"
},
"repository": {
"type": "git",
"url": "git+https://github.com/infoxicator/use-theme-switcher.git"
},
"keywords": [
"react",
"nextjs",
"theme",
"dark-mode"
],
"author": {
"name": "Ruben Casas",
"email": "[email protected]"
},
"contributors": [
"Samuel Larsen-Disney <[email protected]> (https://github.com/slarsendisney)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/infoxicator/use-theme-switcher/issues"
},
"homepage": "https://github.com/infoxicator/use-theme-switcher#readme",
"dependencies": {
"prop-types": "^15.7.2",
"terser": "^4.8.0"
},
"devDependencies": {
"@babel/cli": "7.12.8",
"@babel/core": "7.12.9",
"@commitlint/cli": "11.0.0",
"@commitlint/config-conventional": "11.0.0",
"babel-eslint": "^10.1.0",
"babel-preset-amex": "^3.5.0",
"cross-env": "7.0.2",
"eslint": "^7.14.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "4.3.0",
"jest": "^26.6.3",
"prettier": "2.2.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"rimraf": "^2.7.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}