-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 13.6 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "total-app",
"description": "Cross-platform Desktop / Mobile / Web application starter.",
"version": "0.0.2",
"scripts": {
"postinstall": "echo RUN postinstall && svelte-kit sync && tsx scripts/assets-clean.ts && pnpm exec playwright install",
"postinstallEMPTY": "echo RUN postinstall && svelte-kit sync",
"svelte:prebuild": "echo RUN svelte:prebuild && rimraf .svelte-kit && rimraf build && svelte-kit sync && tsx scripts/assets-copy.ts",
"svelte:predev": "echo RUN svelte:predev && rimraf dev-dist && svelte-kit sync && tsx scripts/assets-copy.ts",
"dev": " pnpm dev:http",
"dev:http": " echo RUN dev:http && pnpm svelte:predev && cross-env DEBUG=vite-plugin-pwa:* NO_HTTPS=1 vite dev --port 3000",
"dev:https": " echo RUN dev:https && pnpm svelte:predev && cross-env DEBUG=vite-plugin-pwa:* vite dev --port 4443",
"dev-sw:http": " echo RUN dev-sw:http && pnpm svelte:predev && cross-env DEBUG=vite-plugin-pwa:* SW_DEV=true NO_HTTPS=1 vite dev --port 3000",
"dev-sw:https": " echo RUN dev-sw:https && pnpm svelte:predev && cross-env DEBUG=vite-plugin-pwa:* SW_DEV=true vite dev --port 4443",
"dev-claims": " echo RUN dev-claims && pnpm svelte:predev && cross-env DEBUG=vite-plugin-pwa:* SW_DEV=true SW=true CLAIMS=true vite dev --port 3000",
"dev-destroy": " echo RUN dev-destroy && pnpm svelte:predev && cross-env DEBUG=vite-plugin-pwa:* SW_DEV=true SW_DESTROY=true vite dev --port 3000",
"dev-claims-destroy": " echo RUN dev-claims-destroy && pnpm svelte:predev && cross-env DEBUG=vite-plugin-pwa:* SW_DEV=true SW=true SW_DESTROY=true CLAIMS=true vite dev --port 3000",
"build": "echo RUN build && pnpm build:base && cap sync android && cap sync ios",
"build:base": "echo RUN build:base && pnpm svelte:prebuild && vite build",
"build:netlify": "echo RUN build:netlify && cross-env NETLIFY=true pnpm build:only-sw",
"build:vercel": "echo RUN build:vercel && cross-env VERCEL=true pnpm build:only-sw",
"build:only": "echo RUN build:only && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* pnpm build:base",
"build:only-reloadsw": "echo RUN build:only-reloadsw && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* RELOAD_SW=true pnpm build:base",
"build:only-claims": "echo RUN build:only-claims && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* CLAIMS=true pnpm build:base",
"build:only-reloadsw-claims": "echo RUN build:only-reloadsw-claims && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* CLAIMS=true RELOAD_SW=true pnpm build:base",
"build:only-destroy": "echo RUN build:only-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW_DESTROY=true pnpm build:base",
"build:only-reloadsw-destroy": "echo RUN build:only-reloadsw-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW_DESTROY=true RELOAD_SW=true pnpm build:base",
"build:only-claims-destroy": "echo RUN build:only-claims-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW_DESTROY=true CLAIMS=true pnpm build:base",
"build:only-reloadsw-claims-destroy": "echo RUN build:only-reloadsw-claims-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW_DESTROY=true CLAIMS=true RELOAD_SW=true pnpm build:base",
"build:only-sw": "echo RUN build:only-sw && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true pnpm build:base",
"build:only-sw-reloadsw": "echo RUN build:only-sw-reloadsw && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true RELOAD_SW=true pnpm build:base",
"build:only-sw-claims": "echo RUN build:only-sw-claims && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true CLAIMS=true pnpm build:base",
"build:only-sw-claims-reloadsw": "echo RUN build:only-sw-claims-reloadsw && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true CLAIMS=true RELOAD_SW=true pnpm build:base",
"build:only-sw-destroy": "echo RUN build:only-sw-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true SW_DESTROY=true pnpm build:base",
"build:only-sw-reloadsw-destroy": "echo RUN build:only-sw-reloadsw-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true SW_DESTROY=true RELOAD_SW=true pnpm build:base",
"build:only-sw-claims-destroy": "echo RUN build:only-sw-claims-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true SW_DESTROY=true CLAIMS=true pnpm build:base",
"build:only-sw-reloadsw-claims-destroy": "echo RUN build:only-sw-reloadsw-claims-destroy && cross-env BASE_URL=/ SOURCE_MAP=true DEBUG=vite-plugin-pwa:* SW=true SW_DESTROY=true CLAIMS=true RELOAD_SW=true pnpm build:base",
"build:only:all": "echo RUN build:only:all && pnpm build:only && pnpm build:only-reloadsw && pnpm build:only-claims && pnpm build:only-reloadsw-claims && pnpm build:only-destroy && pnpm build:only-reloadsw-destroy && pnpm build:only-claims-destroy && pnpm build:only-reloadsw-claims-destroy && pnpm build:only-sw && pnpm build:only-sw-reloadsw && pnpm build:only-sw-claims && pnpm build:only-sw-claims-reloadsw && pnpm build:only-sw-destroy && pnpm build:only-sw-reloadsw-destroy && pnpm build:only-sw-claims-destroy && pnpm build:only-sw-reloadsw-claims-destroy",
"preview": " pnpm preview:https",
"preview:https": " echo RUN preview:https && vite preview --port 4173",
"preview:http": " echo RUN preview:http && cross-env NO_HTTPS=1 vite preview --port 4173",
"preview:debug": " echo RUN preview:debug && cross-env NO_HTTPS=1 node ./node_modules/vite/bin/vite.js preview --port 4173",
"tauri:dev": " echo RUN tauri:dev && tauri dev",
"tauri:build": "echo RUN tauri:build && tauri build",
"tauri": "echo RUN tauri && tauri",
"test": "echo RUN test && pnpm run test:integration && pnpm run test:unit",
"test:integration": "echo RUN test:integration && cross-env NO_HTTPS=1 playwright test",
"test:integration:debug": "echo RUN test:integration:debug && cross-env NO_HTTPS=1 playwright test --headed --timeout=0",
"check": "echo RUN check && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": " echo RUN check:watch && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "echo RUN test:unit && vitest run",
"test:unit:watch": "echo RUN test:unit:watch && vitest",
"test:unit:coverage": "echo RUN test:unit:coverage && vitest run --coverage",
"lint": "echo RUN lint && prettier --check . && eslint . && echo DONE lint",
"lint:css": "echo RUN lint:css && stylelint \"src/**/*.{css,html,svelte}\"",
"format": "echo RUN format && pnpm lint:css --fix && prettier --write .",
"android:open": "cap open android",
"android:dev": "cap run android",
"quick": "pnpm i && pnpm format && pnpm lint && pnpm build:only-sw && pnpm tauri info && pnpm check",
"all": "pnpm i && pnpm format && pnpm lint && pnpm build:only-sw && pnpm tauri info && pnpm tauri:build && pnpm build:netlify && pnpm build:vercel && pnpm test:unit && pnpm test:integration && pnpm check",
"icons:build": "bash -c \"./scripts/icon-generator.sh .logo/logo.svg .logo/icon.svg .logo/icon_bg.svg .logo/icon+texture.svg .logo/icon+texture-wide.svg \""
},
"dependencies": {
"@capacitor/android": "^6.2.0",
"@capacitor/core": "^6.2.0",
"@capacitor/geolocation": "^6.1.0",
"@capacitor/ios": "^6.2.0",
"@fontsource/fira-mono": "^5.1.0",
"@ionic/pwa-elements": "^3.3.0",
"qr-scanner": "^1.4.2"
},
"devDependencies": {
"@capacitor/cli": "^6.2.0",
"@double-great/stylelint-a11y": "^3.0.2",
"@eslint/compat": "^1.2.4",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@neoconfetti/svelte": "^2.2.1",
"@playwright/test": "^1.49.1",
"@rollup/plugin-replace": "^6.0.2",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/adapter-netlify": "^4.4.0",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/adapter-vercel": "^5.5.2",
"@sveltejs/kit": "^2.13.0",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tauri-apps/api": "^2.1.1",
"@tauri-apps/cli": "^2.1.0",
"@types/eslint": "^9.6.1",
"@types/glob": "^8.1.0",
"@types/minimist": "^1.2.5",
"@types/node": "^22.10.2",
"@types/object-hash": "^3.0.6",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vite-pwa/sveltekit": "^0.6.6",
"@vitest/coverage-v8": "^2.1.8",
"autoprefixer": "^10.4.20",
"backloop.dev": "^2.0.5",
"comment-json": "^4.2.5",
"cpy": "^11.1.0",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import-x": "^4.6.1",
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-storybook": "^0.11.1",
"eslint-plugin-svelte": "^2.46.1",
"eslint-plugin-vitest": "^0.5.4",
"glob": "^11.0.0",
"globals": "^15.14.0",
"minimist": "^1.2.8",
"object-hash": "^3.0.0",
"pnpm": "^9.15.0",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"postcss-html": "^1.7.0",
"postcss-import": "^16.1.0",
"postcss-nesting": "^13.0.1",
"prettier": "^3.4.2",
"prettier-plugin-svelte": "^3.3.2",
"rimraf": "^6.0.1",
"sass": "^1.83.0",
"shx": "^0.3.4",
"stylelint": "^16.12.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended": "^14.0.1",
"stylelint-config-standard": "^36.0.1",
"svelte": "^5.14.4",
"svelte-check": "^4.1.1",
"svgo": "^3.3.2",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.1",
"typescript-eslint-parser-for-extra-files": "^0.7.0",
"unplugin-icons": "^0.22.0",
"vanilla-lazyload": "^19.1.3",
"vite": "^6.0.4",
"vite-plugin-pwa": "^0.21.1",
"vite-plugin-static-copy": "^2.2.0",
"vitest": "^2.1.8",
"workbox-build": "^7.3.0",
"workbox-core": "^7.3.0",
"workbox-precaching": "^7.3.0",
"workbox-routing": "^7.3.0",
"workbox-window": "^7.3.0"
},
"packageManager": "[email protected]",
"engines": {
"npm": ">=7.0.0",
"pnpm": ">=9.7.0",
"node": ">=20.0.0"
},
"type": "module",
"readme": "README.md",
"_id": "[email protected]"
}