Files
lettersoup_hk/task1/source/mobile/package.json
louiscklaw 91fab4a5d5 update,
2025-02-01 01:16:09 +08:00

66 lines
2.3 KiB
JSON
Executable File

{
"name": "lettersoup_app_poc",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite --host --cors --force --strictPort --clearScreen",
"build": "tsc && vite build && npx cap copy",
"preview": "vite preview",
"test.e2e": "cypress run",
"test.unit": "vitest",
"lint": "eslint",
"run_android": "npx vite build && npx cap copy android && npx cap run android --target=8L5PT4S84HWKOB4H --no-build --no-sync",
"update_splash": "npx @capacitor/assets generate --iconBackgroundColor \"#eeeeee\" --iconBackgroundColorDark \"#222222\" --splashBackgroundColor \"#eeeeee\" --splashBackgroundColorDark \"#111111\"",
"update_app_icon": "npx capacitor-assets generate",
"import_001_vocabulary": "cd tools/001_vocabulary && node ./import.cjs",
"import_002_connectives": "cd tools/002_connectives && node ./import.cjs",
"import_003_questions": "cd tools/003_questions && node ./import.cjs"
},
"dependencies": {
"@capacitor/android": "^6.2.0",
"@capacitor/app": "6.0.2",
"@capacitor/core": "6.2.0",
"@capacitor/filesystem": "^6.0.2",
"@capacitor/haptics": "6.0.2",
"@capacitor/keyboard": "6.0.3",
"@capacitor/splash-screen": "^6.0.3",
"@capacitor/status-bar": "6.0.2",
"@ionic/react": "^8.0.0",
"@ionic/react-router": "^8.0.0",
"@ionic/storage": "^4.0.0",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"ionicons": "^7.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.3",
"react-router": "^5.3.4",
"react-router-dom": "^5.3.4",
"react-use": "^17.6.0",
"react-use-audio-player": "^2.3.0-alpha.1",
"remark-gfm": "^4.0.0"
},
"devDependencies": {
"@capacitor/assets": "^3.0.5",
"@capacitor/cli": "6.2.0",
"@testing-library/dom": ">=7.21.4",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-legacy": "^5.0.0",
"@vitejs/plugin-react": "^4.0.1",
"cypress": "^13.5.0",
"eslint": "^8.35.0",
"eslint-plugin-react": "^7.32.2",
"jsdom": "^22.1.0",
"terser": "^5.4.0",
"typescript": "^5.1.6",
"vite": "~5.2.0",
"vitest": "^0.34.6"
},
"description": "An Ionic project"
}