-
Notifications
You must be signed in to change notification settings - Fork 92
/
package.json
117 lines (117 loc) · 2.86 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "@react-hookz/web",
"version": "24.0.4",
"description": "React hooks done right, for browser and SSR.",
"keywords": [
"react",
"hook",
"react-hook",
"browser",
"ssr"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/react-hookz/web.git"
},
"bugs": {
"url": "https://github.com/react-hookz/web/issues"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"main": "./src/index.js",
"types": "./src/index.d.ts",
"sideEffects": false,
"exports": {
".": "./src/index.js",
"./*/": "./src/*/index.js",
"./*": "./src/*"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"prepare": "husky",
"commit": "git-cz",
"build": "yarn build:clean && tsc --version && tsc",
"build:clean": "yarn rimraf -g ./src/**/*.js ./src/**/*.d.ts",
"new-hook": "node ./utility/add-new-hook.js",
"test": "jest --selectProjects dom ssr",
"test:coverage": "yarn test --coverage",
"lint": "eslint .",
"lint:fix": "yarn lint --fix --fix-type problem,suggestion,layout"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,mdx}": "eslint --fix"
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"dependencies": {
"@react-hookz/deep-equal": "^1.0.4"
},
"peerDependencies": {
"js-cookie": "^3.0.5",
"react": "^16.8 || ^17 || ^18",
"react-dom": "^16.8 || ^17 || ^18"
},
"peerDependenciesMeta": {
"js-cookie": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@commitlint/cz-commitlint": "^19.5.0",
"@jamesacarr/jest-reporter-github-actions": "^0.0.4",
"@react-hookz/eslint-config": "^2.1.5",
"@react-hookz/eslint-formatter-gha": "^1.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.0",
"@swc/core": "^1.4.2",
"@swc/jest": "^0.2.36",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.12",
"@types/js-cookie": "^3.0.6",
"@types/react": "^18.2.52",
"@types/react-dom": "^18.2.6",
"babel-loader": "^9.1.3",
"commitizen": "^4.3.0",
"commitlint": "^19.5.0",
"concurrently": "^9.0.1",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"js-cookie": "^3.0.5",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^5.0.5",
"semantic-release": "^23.0.2",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"yarn": "^1.22.21"
},
"packageManager": "[email protected]"
}