forked from trent_larson/crowd-funder-for-time-pwa
feat: Add Electron dependencies and development scripts
- Added Electron dependencies to package.json: * @capacitor-community/electron ^5.0.1 * electron-builder ^26.0.12 * better-sqlite3-multiple-ciphers ^12.1.1 * electron-json-storage ^4.6.0 - Added Electron development scripts: * electron:dev - Build and run Electron in development mode * electron:setup - Initialize Electron environment * electron:dev-full - Full development workflow script - Updated .gitignore to exclude sql-wasm.wasm file - Updated package-lock.json with new dependency resolutions Note: Main app source files (router, platform service, views) also have minor modifications from previous development work
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
"check:ios-device": "xcrun xctrace list devices 2>&1 | grep -w 'Booted' || (echo 'No iOS simulator running' && exit 1)",
|
||||
"build:capacitor": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build --mode capacitor --config vite.config.capacitor.mts",
|
||||
"build:web": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build --config vite.config.web.mts",
|
||||
"electron:dev": "npm run build:capacitor && npx cap copy electron && cd electron && npm run electron:start",
|
||||
"electron:setup": "./scripts/setup-electron.sh",
|
||||
"electron:dev-full": "./scripts/electron-dev.sh",
|
||||
"clean:android": "adb uninstall app.timesafari.app || true",
|
||||
"build:android": "./scripts/build-android.sh",
|
||||
"fastlane:ios:beta": "cd ios && fastlane beta",
|
||||
@@ -30,6 +33,7 @@
|
||||
"fastlane:android:release": "cd android && fastlane release"
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor-community/electron": "^5.0.1",
|
||||
"@capacitor-community/sqlite": "6.0.2",
|
||||
"@capacitor-mlkit/barcode-scanning": "^6.0.0",
|
||||
"@capacitor/android": "^6.2.0",
|
||||
@@ -78,6 +82,7 @@
|
||||
"did-jwt": "^7.4.7",
|
||||
"did-resolver": "^4.1.0",
|
||||
"dotenv": "^16.0.3",
|
||||
"electron-builder": "^26.0.12",
|
||||
"ethereum-cryptography": "^2.1.3",
|
||||
"ethereumjs-util": "^7.1.5",
|
||||
"jdenticon": "^3.2.0",
|
||||
@@ -131,9 +136,11 @@
|
||||
"@vitejs/plugin-vue": "^5.2.1",
|
||||
"@vue/eslint-config-typescript": "^11.0.3",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"better-sqlite3-multiple-ciphers": "^12.1.1",
|
||||
"browserify-fs": "^1.0.0",
|
||||
"concurrently": "^8.2.2",
|
||||
"crypto-browserify": "^3.12.1",
|
||||
"electron-json-storage": "^4.6.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.2.1",
|
||||
|
||||
Reference in New Issue
Block a user