加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.55 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "electron-vite-template",
"version": "1.0.0",
"main": "./dist/electron/main/main.js",
"author": "sky <https://github.com/umbrella22>",
"description": "electron-vite-template project",
"license": "MIT",
"scripts": {
"dev": "tsx .electron-vite/dev-runner.ts",
"build": "cross-env BUILD_TARGET=clean tsx .electron-vite/build.ts -m prod && electron-builder -c build.json",
"build:win32": "cross-env BUILD_TARGET=clean tsx .electron-vite/build.ts && electron-builder -c build.json --win --ia32",
"build:win64": "cross-env BUILD_TARGET=clean tsx .electron-vite/build.ts && electron-builder -c build.json --win --x64",
"build:mac": "cross-env BUILD_TARGET=clean tsx .electron-vite/build.ts && electron-builder -c build.json --mac",
"build:dir": "cross-env BUILD_TARGET=clean tsx .electron-vite/build.ts && electron-builder -c build.json --dir",
"build:clean": "cross-env BUILD_TARGET=onlyClean tsx .electron-vite/build.ts",
"build:web": "cross-env BUILD_TARGET=web tsx .electron-vite/build.ts",
"pack:resources": "tsx .electron-vite/hot-updater.ts",
"dep:upgrade": "yarn upgrade-interactive --latest",
"postinstall": "electron-builder install-app-deps"
},
"dependencies": {
"axios": "^1.6.2",
"electron-log": "^5.0.1",
"electron-updater": "^6.1.7",
"express": "^4.18.2",
"glob": "^10.3.10",
"semver": "^7.5.4"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@types/fs-extra": "^11.0.4",
"@types/node": "^18.16.2",
"@vitejs/plugin-vue": "^4.5.2",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"@vue/compiler-sfc": "^3.3.11",
"adm-zip": "^0.5.10",
"cfonts": "^3.2.0",
"chalk": "5.3.0",
"cross-env": "^7.0.3",
"del": "^7.1.0",
"dotenv": "^16.3.1",
"electron": "^26.6.2",
"electron-builder": "^24.9.1",
"electron-devtools-vendor": "^2.1.0",
"extract-zip": "^2.0.1",
"fs-extra": "^11.2.0",
"inquirer": "^9.2.12",
"javascript-obfuscator": "^4.1.0",
"listr2": "^8.0.0",
"minimist": "^1.2.8",
"pinia": "^2.1.7",
"portfinder": "^1.0.32",
"rollup-plugin-esbuild": "^6.1.0",
"rollup-plugin-obfuscator": "^1.1.0",
"sass": "^1.69.5",
"tslib": "^2.6.2",
"tsx": "^4.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.7",
"vue": "^3.3.11",
"vue-router": "^4.2.5"
},
"keywords": [
"vite",
"electron",
"vue3",
"rollup"
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化