88c6ce8ccc
- 迁移为 frontend-web、frontend-electron、backend-web 与 docker 部署结构 - 网页端:订阅门禁二次弹窗、套餐/支付组件化、顶栏分组对齐 - 首页:最近文件与模板库布局优化,缩略图对齐,下载与删除操作 - 新增管理后台、支付与云端文件 API,更新 README 与项目规范 Co-authored-by: Cursor <cursoragent@cursor.com>
126 lines
3.4 KiB
JSON
126 lines
3.4 KiB
JSON
{
|
|
"name": "soondesign",
|
|
"version": "3.2.101",
|
|
"description": "SoonDesign - 专业的卡片和光盘设计工具,支持单面/双面模板设计、二维码/条形码生成、图片编辑等功能,提供桌面端(Electron)和网页端两种使用方式",
|
|
"main": "main.js",
|
|
"homepage": "https://www.cardsoon.com/index.php/cn/products/cardsoonsoft.html",
|
|
"author": "CardSoon Team",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"npm": ">=7.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"web": "npx http-server . -p 8080 -o index.web.html",
|
|
"web:dev": "npx http-server . -p 8080 -o index.web.html -c-1",
|
|
"package": "electron-packager ./ SoonDesign --out ./OutApp --platform=win32 --arch=x64 --electron-version 15.1.1 --icon public/images/favicon.icns --asar --overwrite --download.mirrorOptions.mirror=https://npmmirror.com/mirrors/electron/",
|
|
"dist": "webpack",
|
|
"build": "electron-builder --arm64 --x64",
|
|
"build:win": "electron-builder --win --x64",
|
|
"build:mac": "electron-builder --mac --x64",
|
|
"build:linux": "electron-builder --linux --x64",
|
|
"release:win": "yarn build:win",
|
|
"release:mac": "yarn build:mac",
|
|
"release:linux": "yarn build:linux"
|
|
},
|
|
"electronPackagerConfig": {
|
|
"packageManager": "npm",
|
|
"icon": "./assets/images/favicon.ico"
|
|
},
|
|
"build": {
|
|
"productName": "SoonDesign",
|
|
"appId": "com.SoonDesign.id",
|
|
"extraFiles": [
|
|
{
|
|
"from": "help",
|
|
"to": "./help"
|
|
}
|
|
],
|
|
"linux": {
|
|
"maintainer": "Jerry Xu <jerry79.xu@gmail.com>",
|
|
"category": "Utility",
|
|
"target": [
|
|
"AppImage",
|
|
"deb"
|
|
],
|
|
"icon": "./public/images/IconA256.png"
|
|
},
|
|
"mac": {
|
|
"icon": "./public/images/favicon.icns",
|
|
"category": "public.app-category.utilities"
|
|
},
|
|
"copyright": "Copyright@2023 cardsoon.com",
|
|
"directories": {
|
|
"output": "build"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowElevation": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"installerIcon": "./public/images/IconA256.ico",
|
|
"uninstallerIcon": "./public/images/IconA256.ico",
|
|
"installerHeaderIcon": "./public/images/IconA256.ico",
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true
|
|
},
|
|
"fileAssociations": [
|
|
{
|
|
"name": "SoonDesign file",
|
|
"ext": "soon",
|
|
"icon": "./public/images/IconA256.png",
|
|
"description": "SoonDesign file associations"
|
|
}
|
|
],
|
|
"asar": true,
|
|
"win": {
|
|
"icon": "./public/images/IconA256.ico",
|
|
"requestedExecutionLevel": "requireAdministrator",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": ""
|
|
},
|
|
"bugs": {
|
|
"url": ""
|
|
},
|
|
"keywords": [
|
|
"soondesign",
|
|
"card-design",
|
|
"disc-design",
|
|
"design-tool",
|
|
"electron",
|
|
"fabricjs",
|
|
"qr-code",
|
|
"barcode",
|
|
"template-editor",
|
|
"cardsoon"
|
|
],
|
|
"devDependencies": {
|
|
"app-builder-bin": "^4.2.0",
|
|
"electron": "^15.2.0",
|
|
"electron-builder": "^23.3.3",
|
|
"electron-packager": "^15.5.2",
|
|
"webpack": "^5.96.1",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"dependencies": {
|
|
"@electron/remote": "^2.0.8",
|
|
"buffer": "^6.0.3",
|
|
"font-list": "^1.4.2",
|
|
"jr-qrcode": "^1.1.4",
|
|
"jsbarcode": "^3.11.5",
|
|
"less": "^4.1.2",
|
|
"less-loader": "^10.2.0",
|
|
"save": "^2.9.0"
|
|
}
|
|
} |