-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
62 lines (62 loc) · 1.35 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
{
"name": "golte",
"version": "0.1.2",
"description": "Render Svelte components in your Go http handlers.",
"repository": "github:nichady/golte",
"keywords": [
"svelte",
"go",
"golang"
],
"author": "nichady",
"license": "MIT",
"homepage": "https://github.com/nichady/golte#README.md",
"type": "module",
"bin": {
"golte": "js/cli/cli.js"
},
"dependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"deepmerge": "^4.3.1",
"esbuild": "^0.19.9",
"fast-glob": "^3.3.2",
"vite": "^5.0.12"
},
"devDependencies": {
"@types/node": "^20.11.5",
"typescript": "^5.3.3"
},
"peerDependencies": {
"svelte": "^4.2.7"
},
"files": [
"js",
"ts"
],
"exports": {
".": {
"types": "./ts/public/index.ts",
"import": "./js/public/index.js"
},
"./*": {
"types": "./ts/public/*/index.ts",
"import": "./js/public/*/index.js"
}
},
"typesVersions": {
"*": {
"index": [
"./ts/public/index.ts"
],
"*": [
"./ts/public/*/index.ts"
]
}
},
"scripts": {
"test": "npm run build:testdata && go test ./...",
"build:testdata": "npm run build:js && cd testdata && node ../js/cli/cli.js && go clean -testcache",
"build:js": "rm -rf js && tsc && node scripts/copy-svelte.js"
}
}