-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.72 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 2.72 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
96
97
98
{
"name": "@nano_kit/react-ssr",
"type": "module",
"version": "1.0.0",
"description": "The React adapter for server-side rendering in Nano Kit.",
"author": "dangreen",
"license": "MIT",
"homepage": "https://nano-kit.js.org/integrations/react-ssr",
"funding": "https://ko-fi.com/dangreen",
"repository": {
"type": "git",
"url": "https://github.com/TrigenSoftware/nano_kit.git",
"directory": "packages/react-ssr"
},
"bugs": {
"url": "https://github.com/TrigenSoftware/nano_kit/issues"
},
"keywords": [
"router",
"routing",
"navigation",
"vite",
"vite-plugin",
"ssr",
"nano_kit",
"react"
],
"engines": {
"node": ">=20"
},
"sideEffects": false,
"exports": {
"./vite-plugin": "./src/vite-plugin/index.js",
"./renderer": "./src/renderer/index.tsx",
"./client": "./src/client/index.ts"
},
"publishConfig": {
"exports": {
"./package.json": "./package.json",
"./vite-plugin": {
"types": "./dist/vite-plugin/index.d.ts",
"import": "./dist/vite-plugin/index.js"
},
"./renderer": {
"types": "./dist/renderer/index.d.ts",
"import": "./dist/renderer/index.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/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",
"build:dist": "tsc -p tsconfig.build.json; cpy ./src/vite-plugin/index.d.ts ./dist/vite-plugin --flat; cpy './src/{client,renderer}.jsx' ./dist --flat",
"build": "run clear:dist build:dist",
"lint": "oxlint",
"format": "oxlint --fix",
"test:unit": "vitest run --coverage",
"test:unit:watch": "vitest watch",
"test": "run lint test:unit"
},
"peerDependencies": {
"@nano_kit/react": "workspace:^",
"@nano_kit/router": "workspace:^",
"@nano_kit/store": "workspace:^",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
"vite": "^7.0.0 || ^8.0.0"
},
"dependencies": {
"@nano_kit/ssr": "workspace:^"
},
"devDependencies": {
"@nano_kit/react": "workspace:^",
"@nano_kit/router": "workspace:^",
"@nano_kit/store": "workspace:^",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "catalog:",
"@vitest/coverage-v8": "catalog:",
"cpy-cli": "^7.0.0",
"react": "catalog:",
"react-dom": "catalog:",
"vite": "catalog:",
"vitest": "catalog:"
}
}