Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 1.97 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 1.97 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
{
"name": "nextjs-nav-guard",
"version": "1.0.9",
"description": "Prevent accidental navigation away from unsaved changes in Next.js App Router.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "tsc -p .",
"watch": "tsc --watch -p .",
"check:packaging": "pnpm dlx @arethetypeswrong/cli --pack .",
"e2e": "playwright test",
"e2e:ui": "playwright test --ui",
"e2e:install": "playwright install"
},
"keywords": [
"nextjs",
"navigation",
"guard",
"unsaved-changes",
"app-router",
"route-guard"
],
"author": "Brett Schneider <brett.c.schneider@gmail.com>",
"license": "MIT",
"homepage": "https://nextjs-nav-guard.vercel.app",
"repository": {
"type": "git",
"url": "git+https://github.com/br-schneider/nextjs-nav-guard.git"
},
"bugs": {
"url": "https://github.com/br-schneider/nextjs-nav-guard/issues"
},
"packageManager": "pnpm@10.34.5+sha512.a4ee05f2f73658255bd6a89859c065a45c28a57daefae2c893a168ee2b73168c37b91e83e57ea67654ad03f03031746430e8bce38e362e042605fb8abc80192e",
"peerDependencies": {
"next": "^14 || ^15 || ^16",
"react": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@playwright/test": "^1.61.0",
"@types/node": "^20",
"@types/react": "^19",
"next": "^16.2.11",
"playwright": "^1.61.0",
"react": "^19.0.0",
"typescript": "^5.6.2"
},
"pnpm": {
"overrides": {
"nanoid@3": "^3.3.13",
"postcss@8": "^8.5.23",
"cross-spawn@7": "^7.0.6",
"glob@10": "^10.5.0",
"minimatch@9": "^9.0.9",
"picomatch@2": "^2.3.2",
"brace-expansion@2": "^2.1.4",
"ws@8": "^8.21.0",
"undici@7": "^7.29.0",
"sharp": "^0.35.0",
"@hono/node-server": "^2.0.5",
"wrangler>esbuild": "0.28.1"
}
}
}