mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-24 11:14:40 +03:00
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
|
{
|
||
|
"name": "web",
|
||
|
"version": "0.0.1",
|
||
|
"private": true,
|
||
|
"scripts": {
|
||
|
"preinstall": "yarn wasm",
|
||
|
"dev:web": "yarn wasm && cross-env TARGET=web vite dev",
|
||
|
"build:web": "yarn wasm && cross-env TARGET=web vite build",
|
||
|
"preview": "vite preview",
|
||
|
"dev:tauri": "cross-env TARGET=tauri vite dev",
|
||
|
"build:tauri": "cross-env TARGET=tauri vite build",
|
||
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||
|
"tauri": "node ../../tooling/cli/node/tauri.js",
|
||
|
"wasm": "wasm-pack build ./core/wasm --target web"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@tauri-apps/api": "../../tooling/api/dist",
|
||
|
"wasm": "core/wasm/pkg"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@sveltejs/adapter-auto": "next",
|
||
|
"@sveltejs/adapter-static": "^1.0.0-next.47",
|
||
|
"@sveltejs/kit": "next",
|
||
|
"cross-env": "^7.0.3",
|
||
|
"svelte": "^3.44.0",
|
||
|
"svelte-check": "^2.7.1",
|
||
|
"svelte-preprocess": "^4.10.6",
|
||
|
"tslib": "^2.3.1",
|
||
|
"typescript": "^4.7.4",
|
||
|
"vite": "^3.1.0",
|
||
|
"vite-plugin-static-copy": "^0.11.1",
|
||
|
"vite-plugin-top-level-await": "^1.2.1",
|
||
|
"vite-plugin-wasm": "^3.1.0"
|
||
|
},
|
||
|
"type": "module"
|
||
|
}
|