-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.56 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "ssr-tools",
"version": "0.0.27",
"description": "A collection of tools to use in SSR rendering",
"license": "MIT",
"author": "Michael Cox",
"repository": {
"type": "git",
"url": "git+https://github.com/coxmi/ssr-tools.git"
},
"bugs": {
"url": "https://github.com/coxmi/ssr-tools/issues"
},
"homepage": "https://github.com/coxmi/ssr-tools#readme",
"keywords": [
"preact",
"ssr",
"vite",
"islands"
],
"type": "module",
"types": "./dist/main.d.ts",
"exports": {
".": {
"import": "./dist/main.mjs",
"require": "./dist/main.mjs",
"types": "./dist/main.d.ts"
},
"./file-router": {
"import": "./dist/file-router/routes.mjs",
"require": "./dist/file-router/routes.mjs",
"types": "./dist/file-router/routes.d.ts"
},
"./islands": {
"import": "./dist/islands/index.mjs",
"require": "./dist/islands/index.mjs",
"types": "./dist/islands/index.d.ts"
},
"./islands/preact": {
"import": "./dist/islands/providers/preact/index.mjs",
"require": "./dist/islands/providers/preact/index.mjs",
"types": "./dist/islands/providers/preact/index.d.ts"
},
"./islands/preact/client": {
"import": "./dist/islands/providers/preact/client.mjs",
"require": "./dist/islands/providers/preact/client.mjs",
"types": "./dist/islands/providers/preact/client.d.ts"
},
"./islands/preact/ssr": {
"import": "./dist/islands/providers/preact/ssr.mjs",
"require": "./dist/islands/providers/preact/ssr.mjs",
"types": "./dist/islands/providers/preact/ssr.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "node build.mjs --dev",
"build": "rm -rf dist && node build.mjs",
"test": "tsc --noEmit && jest",
"pub": "npm run build && tsc || true && npm version patch && npm publish"
},
"peerDependencies": {
"preact": ">=10",
"vite": ">=5"
},
"dependencies": {
"@babel/generator": "^7.23.4",
"@babel/parser": "^7.23.4",
"@barelyhuman/astring-jsx": "^2.0.1",
"acorn": "^8.11.2",
"acorn-jsx": "^5.3.2",
"acorn-jsx-walk": "^2.0.0",
"acorn-walk": "^8.3.0",
"fast-glob": "^3.3.2",
"glob-to-regexp": "^0.4.1",
"import-meta-resolve": "^4.0.0",
"path-to-regexp": "^6.2.1",
"recast": "^0.23.4",
"router": "^1.3.8",
"serve-static": "^1.15.0"
},
"devDependencies": {
"@types/glob-to-regexp": "^0.4.4",
"@types/jest": "^29.5.8",
"@types/serve-static": "^1.15.5",
"esbuild": "^0.19.5",
"jest": "^29.7.0",
"ts-jest": "^29.1.1"
}
}