{ "name": "electron-vue", "version": "0.0.1", "main": "dist/main/index.js", "author": "草鞋没号 <308487730@qq.com>", "license": "MIT", "scripts": { "dev": "npm run dev:all", "dev:all": "concurrently -n=vue,pre,ele -c=green,blue \"npm run dev:vue\" \"npm run dev:pre\" \"npm run dev:ele\"", "dev:vue": "vite", "dev:pre": "node -r ts-node/register script/build-preload --env=development --watch", "dev:ele": "node -r ts-node/register script/build-main --env=development --watch", "build:vue": "vite build", "build:pre": "node -r ts-node/register script/build-preload --env=production", "build:ele": "node -r ts-node/register script/build-main --env=production", "build": "rimraf dist && npm run build:vue && npm run build:pre && npm run build:ele && electron-builder" }, "build": { "appId": "308487730@qq.com", "asar": true, "directories": { "output": "release/${version}" }, "files": [ "!node_modules", "dist/**" ], "extraResources": { "from": "src/preload", "to": "app/src/preload" }, "mac": { "artifactName": "${productName}_${version}.${ext}", "target": [ "dmg" ] }, "win": { "target": [ { "target": "nsis", "arch": [ "x64" ] } ], "artifactName": "${productName}_${version}.${ext}" }, "nsis": { "oneClick": false, "perMachine": false, "allowToChangeInstallationDirectory": true, "deleteAppDataOnUninstall": false } }, "dependencies": { "vue": "^3.1.5" }, "devDependencies": { "@rollup/plugin-alias": "^3.1.2", "@rollup/plugin-commonjs": "^19.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-typescript": "^8.2.1", "@types/minimist": "^1.2.1", "@vitejs/plugin-vue": "^1.3.0", "@vue/compiler-sfc": "^3.1.5", "acorn": "^8.2.4", "chalk": "^4.1.0", "concurrently": "^6.0.0", "electron": "13.1.4", "electron-builder": "^22.10.5", "electron-store": "^8.0.0", "minimist": "^1.2.5", "ora": "^5.4.0", "rimraf": "^3.0.2", "rollup-plugin-esbuild": "^4.5.0", "ts-node": "^9.1.1", "typescript": "^4.3.4", "vite": "^2.4.4", "vitejs-plugin-electron": "^0.1.5" }, "keywords": [ "vite", "electron", "vue3", "rollup" ] }