forked from react-hookz/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 3.39 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
118
119
120
121
122
123
124
125
{
"name": "@react-hookz/web",
"version": "23.1.0",
"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"
},
"files": [
"cjs",
"esm"
],
"main": "./cjs/index.js",
"types": "./cjs/index.d.ts",
"module": "./esm/index.js",
"sideEffects": false,
"scripts": {
"prepare": "husky install",
"commit": "git-cz",
"build": "yarn build:cleanup && concurrently yarn:build:cjs yarn:build:esm",
"build:cleanup": "rimraf ./dist",
"build:cjs": "ttsc -p ./tsconfig.build.json --module CommonJS --outDir ./cjs",
"build:esm": "ttsc -p ./tsconfig.build.json --module ESNext --outDir ./esm",
"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 .",
"storybook:watch": "start-storybook -p 6006 --docs --no-manager-cache",
"storybook:build": "build-storybook --docs -o ./storybook-build",
"storybook:deploy": "storybook-to-ghpages -s storybook:build"
},
"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.22.10",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@commitlint/cz-commitlint": "^17.6.7",
"@jamesacarr/jest-reporter-github-actions": "^0.0.4",
"@react-hookz/eslint-config": "^2.0.2",
"@react-hookz/eslint-formatter-gha": "^1.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.0.4",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^6.5.16",
"@storybook/storybook-deployer": "^2.8.16",
"@storybook/theming": "^6.5.16",
"@swc/core": "^1.3.76",
"@swc/jest": "^0.2.29",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.3",
"@types/js-cookie": "^3.0.3",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"babel-loader": "^9.1.3",
"commitizen": "^4.3.0",
"commitlint": "^17.7.1",
"concurrently": "^8.2.0",
"husky": "^8.0.3",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"js-cookie": "^3.0.5",
"lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^5.0.1",
"semantic-release": "^21.0.7",
"ts-node": "^10.9.1",
"ttypescript": "^1.5.15",
"typescript": "^4.9.5",
"yarn": "^1.22.19"
}
}