-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.7 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
89
90
91
92
93
{
"name": "@anatoliygatt/use-prefers-color-scheme",
"version": "1.0.10",
"description": "React hook for subscribing to user's color scheme preference.",
"keywords": [
"react",
"react-hook",
"hook",
"prefers-color-scheme",
"accessibility",
"a11y",
"javascript",
"typescript"
],
"homepage": "https://github.com/anatoliygatt/use-prefers-color-scheme#readme",
"bugs": "https://github.com/anatoliygatt/use-prefers-color-scheme/issues",
"repository": {
"type": "git",
"url": "https://github.com/anatoliygatt/use-prefers-color-scheme.git"
},
"license": "MIT",
"author": "Anatoliy Gatt",
"sideEffects": false,
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/cjs/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "run-s build:*",
"build:cjs": "tsc",
"build:esm": "tsc --module esnext --outDir dist/esm",
"commit": "git-cz",
"lint": "run-s lint:*",
"lint:eslint": "eslint . --ignore-path .gitignore",
"lint:prettier": "prettier --check . --ignore-path .gitignore",
"lint:tsc": "tsc --noEmit",
"prepare": "is-ci || husky install",
"semantic-release": "semantic-release",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"devDependencies": {
"@commitlint/cli": "^17.0.1",
"@commitlint/config-conventional": "^17.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@testing-library/react-hooks": "^8.0.0",
"@types/jest": "^27.4.0",
"@types/node": "^18.7.20",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"commitizen": "^4.2.4",
"conventional-changelog-conventionalcommits": "^5.0.0",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^8.0.2",
"is-ci": "^3.0.1",
"jest": "^27.4.7",
"jest-matchmedia-mock": "^1.1.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"semantic-release": "^21.0.1",
"sort-package-json": "^1.53.1",
"ts-jest": "^27.1.3",
"typescript": "^4.5.4"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"publishConfig": {
"access": "public"
}
}