-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
78 lines (78 loc) · 1.91 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
{
"name": "@kodingdotninja/use-toggle",
"description": "Toggle custom hook and component wrapper for React 🔦",
"version": "1.0.1",
"author": "Griko Nibras <[email protected]>",
"homepage": "https://github.com/kodingdotninja/use-toggle",
"repository": "https://github.com/kodingdotninja/use-toggle.git",
"bugs": "https://github.com/kodingdotninja/use-toggle/issues",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"module": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.js",
"sideEffects": false,
"scripts": {
"build": "tsup",
"build:docs": "typedoc src/index.ts",
"dev": "tsup --watch src",
"postpublish": "git reset HEAD --hard",
"prepack": "node scripts/prepack.js",
"prepublishOnly": "pnpm run build",
"release": "changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@types/node": "^20.12.7",
"@types/react": "^18.2.79",
"react": "^18.2.0",
"tsup": "^8.0.2",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
},
"peerDependencies": {
"react": ">=16.8"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"prettier": {
"endOfLine": "auto",
"printWidth": 120,
"semi": true,
"singleQuote": false,
"trailingComma": "all"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"keywords": [
"kdnj",
"kodingdotninja",
"react",
"toggle",
"use-toggle"
],
"license": "MIT",
"packageManager": "[email protected]+sha256.bdfc9a7b372b5c462176993e586492603e20da5864d2f8881edc2462482c76fa"
}