123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- {
- "name": "v3-electron-vite",
- "version": "4.4.0",
- "description": "v3-electron-client",
- "author": "nevlf<2863180001@qq.com>",
- "main": "dist/index.js",
- "engines": {
- "node": ">=20.0.0"
- },
- "env": {
- "host": "127.0.0.1",
- "port": 13333
- },
- "scripts": {
- "dev": "vite",
- "build": "vite build && electron-builder",
- "build:dir": "vite build && electron-builder --dir",
- "build:linux": "vite build && electron-builder --linux",
- "build:macos": "vite build && electron-builder --macos",
- "build:win-x64": "vite build && electron-builder --win --x64",
- "build:win-x32": "vite build && electron-builder --win --ia32",
- "lint:eslint": "eslint --cache --max-warnings 0 \"{script,src,types}/**/*.{vue,js,jsx,ts,tsx}\" --fix",
- "lint:prettier": "prettier --write \"{script,src,types}/**/*.{vue,js,jsx,ts,tsx,json,css,less,scss,html,md}\"",
- "lint": "pnpm lint:eslint && pnpm lint:prettier",
- "prepare": "husky"
- },
- "build": {
- "productName": "v3-electron-vite",
- "appId": "com.app.v3-electron-vite",
- "directories": {
- "output": "release/v${version}-${platform}"
- },
- "files": [
- "dist/**/*",
- "static/**/*"
- ],
- "extraResources": [
- "./exe/**"
- ],
- "publish": [
- {
- "provider": "generic",
- "url": ""
- }
- ],
- "asar": true,
- "nsis": {
- "oneClick": false,
- "perMachine": true,
- "shortcutName": "${productName}",
- "uninstallDisplayName": "${productName}",
- "runAfterFinish": true,
- "deleteAppDataOnUninstall": true,
- "allowToChangeInstallationDirectory": true
- },
- "win": {
- "icon": "static/icons/logo_256x256.ico",
- "artifactName": "${productName} v${version} ${arch}.${ext}",
- "requestedExecutionLevel": "requireAdministrator"
- },
- "dmg": {
- "sign": false
- },
- "mac": {
- "target": [
- "dmg",
- "zip"
- ],
- "icon": "static/icons/logo_256x256.icns",
- "artifactName": "${productName} v${version} MacOS ${arch}.${ext}",
- "identity": null,
- "hardenedRuntime": true,
- "gatekeeperAssess": false
- },
- "linux": {
- "target": [
- "AppImage",
- "deb"
- ],
- "icon": "static/icons/logo_256x256.png",
- "artifactName": "${productName} v${version} ${platform} ${arch}.${ext}",
- "desktop": {
- "Icon": "/opt/v3-electron-vite/resources/app/static/icons/logo_256x256.png"
- }
- }
- },
- "dependencies": {
- "@electron/remote": "2.1.2",
- "@element-plus/icons-vue": "2.3.1",
- "axios": "1.7.7",
- "dayjs": "1.11.13",
- "electron-log": "5.2.0",
- "element-plus": "2.8.2",
- "execa": "^9.4.0",
- "lodash-es": "4.17.21",
- "mitt": "3.0.1",
- "normalize.css": "8.0.1",
- "nprogress": "0.2.0",
- "path-browserify": "1.0.1",
- "path-to-regexp": "7.2.0",
- "pinia": "2.2.2",
- "screenfull": "6.0.2",
- "vue": "3.5.3",
- "vue-router": "4.4.3",
- "vxe-pc-ui": "^4.1.21",
- "vxe-table": "4.7.23",
- "vxe-table-plugin-element": "4.0.4",
- "xe-utils": "3.5.30"
- },
- "devDependencies": {
- "@types/lodash-es": "4.17.12",
- "@types/node": "22.5.4",
- "@types/nprogress": "0.2.3",
- "@types/path-browserify": "1.0.3",
- "@typescript-eslint/eslint-plugin": "8.5.0",
- "@typescript-eslint/parser": "8.5.0",
- "@vitejs/plugin-vue": "5.1.3",
- "@vitejs/plugin-vue-jsx": "4.0.1",
- "@vue/eslint-config-prettier": "9.0.0",
- "@vue/eslint-config-typescript": "13.0.0",
- "electron": "32.0.2",
- "electron-builder": "25.0.5",
- "eslint": "8.57.0",
- "eslint-plugin-prettier": "5.2.1",
- "eslint-plugin-vue": "9.28.0",
- "husky": "9.1.5",
- "lint-staged": "15.2.10",
- "prettier": "3.3.3",
- "sass": "1.78.0",
- "typescript": "5.5.4",
- "unocss": "0.62.3",
- "vite": "5.4.3",
- "vite-electron-plugin": "0.8.3",
- "vite-plugin-svg-icons": "2.0.1",
- "vite-svg-loader": "5.1.0",
- "vue-eslint-parser": "9.4.3",
- "vue-tsc": "2.1.6"
- },
- "lint-staged": {
- "*.{vue,js,jsx,ts,tsx}": [
- "eslint --fix",
- "prettier --write"
- ],
- "*.{css,less,scss,html,md}": [
- "prettier --write"
- ],
- "package.json": [
- "prettier --write"
- ]
- },
- "keywords": [
- "vue3",
- "vite",
- "electron",
- "pinia",
- "rollup"
- ],
- "license": "MIT"
- }
|