mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
{
|
|
"name": "electron-vue",
|
|
"version": "0.0.1",
|
|
"main": "dist/main/_.js",
|
|
"author": "草鞋没号 <308487730@qq.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "npm run dev:all",
|
|
"dev:all": "concurrently -n=vue,ele -c=green,blue \"npm run dev:vue\" \"npm run dev:ele\"",
|
|
"dev:vue": "vite",
|
|
"dev:ele": "node -r ts-node/register script/build --env=development --watch",
|
|
"build:vue": "vite build",
|
|
"build:ele": "node -r ts-node/register script/build --env=production",
|
|
"build": "rm -rf dist && npm run build:vue && npm run build:ele && electron-builder"
|
|
},
|
|
"build": {
|
|
"appId": "308487730@qq.com",
|
|
"files": [
|
|
"!node_modules",
|
|
"dist/**"
|
|
],
|
|
"mac": {
|
|
"artifactName": "${productName}_setup_${version}.${ext}",
|
|
"target": [
|
|
"dmg"
|
|
]
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"artifactName": "${productName}_setup_${version}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"deleteAppDataOnUninstall": false
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"vue": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-alias": "^3.1.1",
|
|
"@rollup/plugin-commonjs": "^15.0.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
"@types/minimist": "^1.2.1",
|
|
"@types/wait-on": "^5.2.0",
|
|
"@vue/compiler-sfc": "^3.0.0",
|
|
"chalk": "^4.1.0",
|
|
"concurrently": "^5.3.0",
|
|
"electron": "9.1.0",
|
|
"electron-builder": "^22.8.0",
|
|
"electron-is-dev": "^1.2.0",
|
|
"electron-store": "^6.0.0",
|
|
"minimist": "^1.2.5",
|
|
"ora": "^5.0.0",
|
|
"rollup-plugin-copy": "^3.3.0",
|
|
"rollup-plugin-esbuild": "^2.4.2",
|
|
"ts-node": "^9.1.1",
|
|
"typescript": "^4.0.3",
|
|
"vite": "^1.0.0-rc.4",
|
|
"wait-on": "^5.2.0"
|
|
},
|
|
"keywords": [
|
|
"vite",
|
|
"electron",
|
|
"vue3",
|
|
"rollup"
|
|
]
|
|
}
|