-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·88 lines (88 loc) · 2.52 KB
/
package.json
File metadata and controls
executable file
·88 lines (88 loc) · 2.52 KB
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
{
"name": "react-thermals",
"description": "Simple and type-safe way to manage shared state based on React hooks",
"version": "4.1.0",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/kensnyder/react-thermals.git"
},
"author": "Ken Snyder <kendsnyder@gmail.com>",
"license": "ISC",
"keywords": [
"store",
"react",
"hooks",
"react hook",
"react hooks",
"state",
"state management",
"global state",
"component state",
"react signals"
],
"scripts": {
"lint": "bunx biome lint .",
"format": "bunx biome format --write .",
"check": "bunx biome check --write .",
"build": "npm run build:clean && npm run build:dts && npm run build:esm && npm run build:cjs && npm run build:gzip-size",
"build:clean": "rimraf dist/ && mkdir dist",
"build:dts": "yes | bunx dts-bundle-generator --project tsconfig.bundle-generator.json -o dist/index.d.ts ./index.ts",
"build:esm": "bunx esbuild ./index.ts --bundle --platform=node --format=esm --packages=external --outfile=dist/index.mjs",
"build:cjs": "bunx esbuild ./index.ts --bundle --platform=node --format=cjs --packages=external --outfile=dist/index.cjs",
"build:gzip-size": "echo 'gzipped savings and size:' && gzip -cv dist/index.mjs | wc -c",
"release": "npm install && npm test && npm run build && npm publish"
},
"peerDependencies": {
"react": ">=16.8.0",
"any-date-parser": ">=1"
},
"devDependencies": {
"@happy-dom/global-registrator": "20.10.2",
"@release-it/bumper": "7.0.6",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@types/bun": "1.3.14",
"@types/node": "25.9.2",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"any-date-parser": "2.2.3",
"happy-dom": "20.10.2",
"@biomejs/biome": "2.2.4",
"react": "19.2.7",
"react-dom": "19.2.7",
"release-it": "20.2.0",
"type-fest": "5.7.0",
"typescript": "6.0.3"
},
"release-it": {
"github": {
"release": true,
"web": true
},
"plugins": {
"@release-it/bumper": {
"out": "README.md"
}
}
},
"dependencies": {
}
}