176 lines
5.7 KiB
JSON
176 lines
5.7 KiB
JSON
{
|
|
"name": "mir2tools",
|
|
"title": "Mir2Tools",
|
|
"version": "1.0.0",
|
|
"author": "MakerYang",
|
|
"description": "mir2.makeryang.com",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "release/dist/main/index.cjs",
|
|
"scripts": {
|
|
"dev": "node tools/script/watch.mjs",
|
|
"rebuild": "electron-rebuild -f -w",
|
|
"build": "rimraf release && node --max-old-space-size=6096 tools/script/build.mjs && node --max-old-space-size=6096 tools/script/index.mjs",
|
|
"win64": "electron-builder --win --x64",
|
|
"win32": "electron-builder --win --ia32",
|
|
"mac": "electron-builder --mac --x64",
|
|
"linux": "electron-builder --linux --amd64"
|
|
},
|
|
"build": {
|
|
"productName": "Mir2Tools",
|
|
"appId": "com.makeryang.Mir2Tools",
|
|
"asar": true,
|
|
"buildDependenciesFromSource": true,
|
|
"directories": {
|
|
"output": "release/${version}"
|
|
},
|
|
"fileAssociations": [],
|
|
"publish": [
|
|
{
|
|
"provider": "generic",
|
|
"url": ""
|
|
}
|
|
],
|
|
"files": [
|
|
"release/dist"
|
|
],
|
|
"dmg": {
|
|
"contents": [
|
|
{
|
|
"x": 410,
|
|
"y": 150,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
},
|
|
{
|
|
"x": 130,
|
|
"y": 150,
|
|
"type": "file"
|
|
}
|
|
]
|
|
},
|
|
"mac": {
|
|
"icon": "tools/icons/macos.icns",
|
|
"artifactName": "${productName}_${version}.${ext}"
|
|
},
|
|
"win": {
|
|
"icon": "tools/icons/windows.ico",
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
"target": "nsis",
|
|
"requestedExecutionLevel": "highestAvailable"
|
|
},
|
|
"linux": {
|
|
"icon": "tools/icons/icon.png",
|
|
"target": [
|
|
"AppImage"
|
|
],
|
|
"artifactName": "${productName}_${version}.${ext}"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": true,
|
|
"allowElevation": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"installerIcon": "tools/icons/windows.ico",
|
|
"uninstallerIcon": "tools/icons/windows.ico",
|
|
"shortcutName": "Mir2Tools"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@fingerprintjs/fingerprintjs": "^4.3.0",
|
|
"@formkit/auto-animate": "^0.8.2",
|
|
"@internationalized/date": "^3.5.4",
|
|
"@radix-icons/vue": "^1.0.0",
|
|
"@stackblitz/sdk": "^1.10.0",
|
|
"@tanstack/vue-table": "^8.17.3",
|
|
"@unovis/ts": "^1.4.1",
|
|
"@unovis/vue": "^1.4.1",
|
|
"@vee-validate/zod": "^4.12.8",
|
|
"@vue-flow/background": "^1.3.0",
|
|
"@vue-flow/controls": "^1.1.2",
|
|
"@vue-flow/core": "^1.38.2",
|
|
"@vue-flow/minimap": "^1.5.0",
|
|
"@vue-flow/node-toolbar": "^1.1.0",
|
|
"@vue/runtime-dom": "^3.4.27",
|
|
"@vueuse/core": "^10.9.0",
|
|
"axios": "^1.7.2",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"codesandbox": "^2.2.3",
|
|
"date-fns": "^3.6.0",
|
|
"electron-debug": "^3.2.0",
|
|
"electron-devtools-installer": "^3.2.0",
|
|
"electron-localstorage": "^1.0.5",
|
|
"electron-store": "^8.2.0",
|
|
"electron-updater": "^5.3.0",
|
|
"embla-carousel": "^8.1.3",
|
|
"embla-carousel-autoplay": "^8.1.3",
|
|
"embla-carousel-vue": "^8.1.3",
|
|
"lucide-vue-next": "^0.400.0",
|
|
"magic-string": "^0.30.10",
|
|
"postcss": "^8.4.38",
|
|
"radix-vue": "^1.8.1",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"terser": "^5.31.1",
|
|
"uuid": "^10.0.0",
|
|
"v-calendar": "^3.1.2",
|
|
"vaul-vue": "^0.1.2",
|
|
"vee-validate": "4.12.6",
|
|
"vue": "^3.4.27",
|
|
"vue-i18n": "^9.13.1",
|
|
"vue-router": "^4.1.5",
|
|
"vue-sonner": "^1.1.2",
|
|
"vue-wrap-balancer": "^1.1.3",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/traverse": "^7.24.5",
|
|
"@iconify-json/gravity-ui": "^1.1.2",
|
|
"@iconify-json/lucide": "^1.1.187",
|
|
"@iconify-json/ph": "^1.1.13",
|
|
"@iconify-json/radix-icons": "^1.1.14",
|
|
"@iconify-json/ri": "^1.1.20",
|
|
"@iconify-json/simple-icons": "^1.1.102",
|
|
"@iconify-json/tabler": "^1.1.112",
|
|
"@iconify/vue": "^4.1.2",
|
|
"@oxc-parser/wasm": "^0.1.0",
|
|
"@shikijs/transformers": "^1.6.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^20.12.12",
|
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
"@vue/compiler-core": "^3.4.27",
|
|
"@vue/compiler-dom": "^3.4.27",
|
|
"@vue/tsconfig": "^0.5.1",
|
|
"autoprefixer": "^10.4.19",
|
|
"electron": "30.1.2",
|
|
"electron-builder": "24.13.3",
|
|
"electron-rebuild": "3.2.9",
|
|
"fast-glob": "^3.3.2",
|
|
"lodash-es": "^4.17.21",
|
|
"markdown-it": "^14.1.0",
|
|
"pathe": "^1.1.2",
|
|
"rimraf": "^5.0.7",
|
|
"sass": "^1.77.4",
|
|
"shiki": "^1.6.0",
|
|
"tailwind-merge": "^2.3.0",
|
|
"tailwindcss": "^3.4.3",
|
|
"tsx": "^4.10.5",
|
|
"typescript": "^5.4.5",
|
|
"unplugin-icons": "^0.19.0",
|
|
"vite": "^5.3.1",
|
|
"vite-plugin-electron": "^0.11.1",
|
|
"vite-plugin-top-level-await": "^1.3.0",
|
|
"vite-plugin-wasm": "^3.2.2",
|
|
"vitepress": "^1.2.3",
|
|
"vue-component-meta": "^2.0.19",
|
|
"vue-tsc": "^2.0.19"
|
|
},
|
|
"env": {
|
|
"VITE_DEV_SERVER_HOST": "127.0.0.1",
|
|
"VITE_DEV_SERVER_PORT": 7676
|
|
}
|
|
}
|