generated from joeyfigaro/tsup-lib-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 1.93 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
{
"name": "@joeyfigaro/use-mutation-redirect",
"version": "0.1.0",
"private": false,
"description": "React hook for tanstack-query for redirecting on mutation result",
"author": "Joey Figaro <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/joeyfigaro/use-mutation-redirect.git"
},
"keywords": [
"react",
"tanstack-query",
"redirection",
"mutation",
"hooks",
"react-query",
"side-effects",
"navigation"
],
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"LICENSE",
"README.md",
"package.json"
],
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.js"
},
"types": "./dist/index.d.ts",
"scripts": {
"dev": "pnpm tsup --watch",
"bundle": "pnpm run build",
"build": "pnpm tsup src/index.ts --format esm,cjs --dts --minify",
"lint:fix": "pnpm eslint . --fix",
"format:fix": "pnpm prettier . --write",
"typecheck": "pnpm tsup --dts-only",
"test": "NODE_ENV=test pnpm vitest --ui --mode development",
"test:ci": "pnpm vitest run --coverage",
"test:watch": "pnpm vitest --watch",
"release": "pnpm changeset version",
"publish": "pnpm build && pnpm changeset publish"
},
"license": "MIT",
"peerDependencies": {
"@tanstack/react-query": "^5.69.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@tanstack/react-query": "^5.69.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.2.0",
"@types/node": "^22.13.11",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitest/coverage-v8": "*",
"eslint": "*",
"happy-dom": "^17.4.4",
"prettier": "*",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"tsup": "^8.3.5",
"typescript": "*",
"vitest": "3.0.9"
}
}