|
| 1 | +{ |
| 2 | + "name": "svelte_capacitor", |
| 3 | + "version": "2.0.0", |
| 4 | + "scripts": { |
| 5 | + "#Build: Core": "Thesee scripts build the core application (routing logic, and views)", |
| 6 | + "build:app": "routify -b && vite build", |
| 7 | + "build:routify": "routify", |
| 8 | + "#Platform: Build": "These build the application for their specific platforms", |
| 9 | + "build:android": "run-s build:app cap-run:android", |
| 10 | + "build:ios": "run-s build:app cap-run:ios", |
| 11 | + "#Platform: Sync": "These build the application for their specific platforms", |
| 12 | + "cap-run:android": "cap sync android && cap open android", |
| 13 | + "cap-run:ios": "cap sync ios && cap open ios", |
| 14 | + "#Dev: Platform": "These enable HMR (Hot module reloading) directly on the device - please check the readme.md for more on this.", |
| 15 | + "dev:ios": "run-p dev:start cap-run:ios", |
| 16 | + "dev:android": "run-p dev:start cap-run:android", |
| 17 | + "#Dev: Core": "These allow the code to be developed with HMR", |
| 18 | + "dev:preview": "vite preview", |
| 19 | + "dev:start": "run-p build:routify dev:vite", |
| 20 | + "dev:vite": "vite --host --port 5001", |
| 21 | + "#Utilities": "Various utilities", |
| 22 | + "validate": "svelte-check" |
| 23 | + }, |
| 24 | + "devDependencies": { |
| 25 | + "@capacitor/share": "^1.0.4", |
| 26 | + "@roxi/routify": "^2.18.0", |
| 27 | + "@sveltejs/vite-plugin-svelte": "*", |
| 28 | + "@tsconfig/svelte": "^1.0.10", |
| 29 | + "cross-env": "^7.0.3", |
| 30 | + "npm-run-all": "^4.1.5", |
| 31 | + "prettier": "^2.2.1", |
| 32 | + "prettier-plugin-svelte": "^2.2.0", |
| 33 | + "svelte": "^3.37.0", |
| 34 | + "svelte-preprocess": "^4.7.3", |
| 35 | + "typescript": "^4.2.4", |
| 36 | + "vite": "^2.2.3", |
| 37 | + "vite-aliases": "^0.6.3", |
| 38 | + "vite-plugin-compression": "^0.2.5", |
| 39 | + "vite-tsconfig-paths": "^3.3.10" |
| 40 | + }, |
| 41 | + "dependencies": { |
| 42 | + "@capacitor/android": "^3.0.1", |
| 43 | + "@capacitor/cli": "^3.0.0", |
| 44 | + "@capacitor/core": "^3.0.0", |
| 45 | + "@capacitor/ios": "^3.0.1", |
| 46 | + "@capacitor/share": "^1.0.4" |
| 47 | + } |
| 48 | +} |
0 commit comments