-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.43 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.43 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
{
"name": "@strozw/use-action-state-compat",
"version": "0.1.10",
"author": "strozw",
"license": "MIT",
"description": "Next.js v14 and React.js v18 canary compatible `useActionState`",
"keywords": [
"react",
"react-dom",
"hook",
"action",
"state",
"form"
],
"type": "module",
"packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",
"main": "dist/index.js",
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist",
"package.json"
],
"scripts": {
"test": "vitest --run",
"build": "tsup",
"type-check": "tsc --noEmit",
"check": "biome check --write .",
"format": "biome check --write .",
"prepublish": "pnpm type-check && pnpm check && pnpm test && pnpm build"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"jsdom": "^24.1.0",
"tsup": "^8.1.0",
"typescript": "^5.5.3",
"vitest": "^1.6.0"
},
"peerDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"react": "^18.3.0-canary",
"react-dom": "^18.3.0-canary"
}
}