-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.73 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.73 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
89
90
91
92
93
94
95
{
"name": "@nano_kit/react-router",
"type": "module",
"version": "1.0.0",
"description": "React integration for @nano_kit/router with code splitting, Dependency Injection, and state management.",
"author": "dangreen",
"license": "MIT",
"homepage": "https://nano-kit.js.org/integrations/react-router",
"funding": "https://ko-fi.com/dangreen",
"repository": {
"type": "git",
"url": "https://github.com/TrigenSoftware/nano_kit.git",
"directory": "packages/react-router"
},
"bugs": {
"url": "https://github.com/TrigenSoftware/nano_kit/issues"
},
"keywords": [
"react",
"router",
"routing",
"navigation",
"store",
"state",
"signal",
"reactive",
"nano_kit"
],
"engines": {
"node": ">=20"
},
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
".": "./src/index.ts"
},
"publishConfig": {
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"directory": "package",
"linkDirectory": false
},
"files": [
"dist"
],
"scripts": {
"clear:package": "del ./package",
"clear:dist": "del ./dist",
"clear": "del ./package ./dist ./coverage",
"prepublishOnly": "run build clear:package clean-publish",
"postpublish": "pnpm clear:package",
"emitDeclarations": "tsc -p ./tsconfig.build.json --emitDeclarationOnly",
"build:dist": "run -p emitDeclarations [ vite build ]",
"build": "run clear:dist build:dist",
"lint": "oxlint",
"format": "oxlint --fix",
"test:unit": "vitest run --coverage",
"test:unit:watch": "vitest watch",
"test:size": "size-limit",
"test:ts": "tsc --noEmit",
"test:dist-types": "run emitDeclarations [ node ../../scripts/check-dist-app-routes.js dist/link.d.ts ]",
"test:types": "run -p test:ts test:dist-types",
"test": "run -p lint test:unit test:types"
},
"peerDependencies": {
"@nano_kit/react": "workspace:^",
"@nano_kit/router": "workspace:^",
"@nano_kit/store": "workspace:^",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@nano_kit/react": "workspace:^",
"@nano_kit/router": "workspace:^",
"@nano_kit/store": "workspace:^",
"@size-limit/preset-small-lib": "catalog:",
"@testing-library/dom": "catalog:",
"@testing-library/jest-dom": "catalog:",
"@testing-library/react": "catalog:",
"@types/react": "catalog:",
"@vitejs/plugin-react": "catalog:",
"@vitest/coverage-v8": "catalog:",
"happy-dom": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"size-limit": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:"
}
}