-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 3.45 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
126
127
{
"name": "@shined/react-use",
"type": "module",
"version": "1.5.0",
"packageManager": "[email protected]",
"description": "A New Programming Paradigm to Reshape React Development.",
"author": "Viki <[email protected]> (https://github.com/vikiboss)",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": {
"import": "./dist/index.d.ts",
"require": "./dist/index.d.cts",
"default": "./dist/index.d.ts"
},
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"keywords": [
"react",
"react-use",
"react-hooks",
"shined"
],
"files": [
"dist"
],
"homepage": "https://sheinsight.github.io/react-use/",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/sheinsight/react-use.git"
},
"bugs": "https://github.com/sheinsight/react-use/issues",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts",
"./dist/index.d.cts"
]
}
},
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"lint": "biome check && oxlint && pnpm run typecheck",
"lint:fix": "biome check --write --unsafe && oxlint --fix",
"prepack": "clean-pkg-json",
"prerelease": "pnpm run lint",
"release": "bumpp",
"postrelease": "pnpm run changelog && git add CHANGELOG.md && git commit -m 'chore: update changelog' && git push",
"test": "vitest",
"test:ci": "pnpm run build && pnpm run lint && vitest",
"docs:dev": "pnpm run build && pnpm -C docs run dev",
"docs:build": "pnpm install && pnpm run build && pnpm -C docs run build",
"docs:release": "pnpm -C docs run release",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"typecheck": "tsc --noEmit",
"prepare": "is-ci || husky"
},
"lint-staged": {
"*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [
"biome check --write --unsafe --no-errors-on-unmatched"
]
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/",
"provenance": true
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
},
"@types/web-bluetooth": {
"optional": true
}
},
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"@types/react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"@types/web-bluetooth": "*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.1",
"@shined/reactive": "^0.1.4",
"@swc/core": "^1.7.11",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^15.0.7",
"@types/node": "^20.14.15",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/web-bluetooth": "^0.0.20",
"bumpp": "^9.5.1",
"clean-pkg-json": "^1.2.0",
"conventional-changelog-cli": "^5.0.0",
"esno": "^4.7.0",
"husky": "^9.1.4",
"is-ci": "^3.0.1",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.9",
"oxlint": "^0.4.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"unocss": "^0.59.4",
"vitest": "^2.0.5"
}
}