forked from alankrantas/svelteapp-typescript-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.93 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
{
"name": "svelteapp-typescript-go",
"version": "0.1.0",
"license": "MIT",
"private": true,
"scripts": {
"setup": "npm i && npm prune",
"setup-all": "npm run setup && echo \"Download Golang dependencies...\" && go mod download",
"upgrade": "npx npm-check-updates -u && npm run setup",
"upgrade-all": "npx npm-check-updates -u && npm run setup && echo \"Update Golang dependencies...\" && go get -u ./...",
"dev": "vite dev --port 3000 --open --host",
"preview": "vite preview --port 8080 --open --host",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"build": "npm run check && npx vite build",
"build-all": "npm run build && echo \"Building Golang binary...\" && go build -buildvcs=false -mod=readonly -v",
"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": "npm run format && git pull origin main && git add . && git commit -m \"Updating\" && git push origin main"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"npm-check-updates": "^16.14.14",
"open-cli": "^8.0.0",
"prettier": "^3.2.4",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.12"
},
"type": "module",
"dependencies": {
"bootstrap": "^5.3.2"
}
}