-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·93 lines (93 loc) · 2.65 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
{
"name": "react-thermals",
"description": "Simple and type-safe way to manage shared state based on React hooks",
"version": "4.0.2",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/kensnyder/react-thermals.git"
},
"author": "Ken Snyder <[email protected]>",
"license": "ISC",
"keywords": [
"store",
"react",
"hooks",
"react hook",
"react hooks",
"state",
"state management",
"global state",
"component state"
],
"scripts": {
"test": "vitest run",
"test-watch": "vitest",
"build": "npm run build:clean && npm run build:dts && npm run build:esm && npm run build:cjs",
"build:clean": "rimraf dist/ && mkdir dist",
"build:dts": "yes | npx dts-bundle-generator -o dist/index.d.ts index.ts",
"build:esm": "yes | npx esbuild index.ts --minify --bundle --format=esm --platform=node --external:react --external:any-date-parser --outfile=dist/index.mjs",
"build:cjs": "yes | npx esbuild index.ts --minify --bundle --format=cjs --platform=node --external:react --external:any-date-parser --outfile=dist/index.cjs",
"coverage": "vitest run --coverage",
"view-coverage": "open ./coverage/lcov-report/index.html",
"release": "npm install && npm test && npm run build && npm publish"
},
"peerDependencies": {
"react": ">=16.8.0",
"any-date-parser": ">=1"
},
"devDependencies": {
"@types/node": "22.5.5",
"@vitest/coverage-v8": "2.1.1",
"@release-it/bumper": "6.0.1",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@types/jsdom": "21.1.7",
"@types/react": "18.3.7",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "4.3.1",
"@vitest/coverage-istanbul": "2.1.1",
"any-date-parser": "1.5.4",
"happy-dom": "15.7.4",
"jsdom": "25.0.0",
"jsdom-global": "3.0.2",
"prettier": "3.3.3",
"prettier-plugin-organize-imports": "4.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"release-it": "17.6.0",
"rimraf": "6.0.1",
"type-fest": "4.26.1",
"typescript": "5.6.2",
"vitest": "2.1.1",
"vitest-dom": "0.1.1"
},
"release-it": {
"github": {
"release": true,
"web": true
},
"plugins": {
"@release-it/bumper": {
"out": "README.md"
}
}
}
}