-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
50 lines (50 loc) · 2.2 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
{
"name": "svelteapp-typescript-go",
"version": "0.1.0",
"license": "MIT",
"private": true,
"scripts": {
"setup-app": "yarn install --frozen-lockfile",
"setup-server": "echo \"Download Golang dependencies...\" && go mod download",
"setup-full": "yarn setup-app && yarn setup-server",
"setup-all": "yarn setup-full",
"upgrade-app": "yarn-upgrade-all && yarn upgrade",
"upgrade-server": "echo \"Update Golang dependencies...\" && go get -u ./...",
"upgrade-full": "yarn upgrade-app && yarn upgrade-server",
"upgrade-all": "yarn upgrade-full",
"dev": "vite dev --port 3000 --open --host",
"preview": "vite preview --port 8080 --open --host",
"start": "yarn dev",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"build-app": "yarn check && yarn vite build",
"build-server": "echo \"Building Golang binary...\" && go env -w CGO_ENABLED=1 && go build -buildvcs=false -mod=readonly -v",
"build-full": "yarn build-app && yarn build-server",
"build-all": "yarn build-full",
"build": "yarn build-full",
"serve": "open-cli http://localhost:8080 && ./main",
"serve-win": "open-cli http://localhost:8080 && main",
"docker": "docker build . -t svelte-ts-go -f Dockerfile",
"docker-run": "open-cli http://localhost:8080 && docker run -p 8080:8080 --rm svelte-ts-go",
"commit": "git pull origin main && git add . && git commit -m \"Updating\" && git push origin main"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.8",
"@sveltejs/kit": "^2.15.2",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"globals": "^15.14.0",
"open-cli": "^8.0.0",
"svelte": "^5.17.3",
"svelte-check": "^4.1.3",
"svelte-preprocess": "^6.0.3",
"typescript": "^5.7.3",
"vite": "^6.0.7",
"yarn-upgrade-all": "^0.7.4"
},
"type": "module",
"dependencies": {
"@fontsource/open-sans": "^5.1.1",
"bootstrap": "^5.3.3",
"picomatch": "^4.0.2"
}
}