123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {
- "name": "attendance-tool",
- "version": "1.0.0",
- "author": "Lizhuang",
- "description": "考勤自动化工具",
- "main": "main.js",
- "scripts": {
- "start": "electron .",
- "postinstall": "playwright install chromium",
- "pack": "electron-builder --dir",
- "dist": "electron-builder --win portable --config electron-builder.json",
- "dist:installer": "electron-builder --win nsis --config electron-builder.json",
- "package": "electron-packager . AttendanceTool --platform=win32 --arch=x64 --icon=icon.ico --out=dist"
- },
- "build": {
- "appId": "com.attendance.tool",
- "productName": "考勤工具",
- "directories": {
- "output": "dist"
- },
- "win": {
- "target": [
- {
- "target": "portable",
- "arch": ["x64"]
- },
- {
- "target": "nsis",
- "arch": ["x64"]
- }
- ],
- "icon": "icon.ico"
- },
- "nsis": {
- "oneClick": false,
- "allowToChangeInstallationDirectory": true,
- "createDesktopShortcut": true,
- "createStartMenuShortcut": true,
- "shortcutName": "考勤工具",
- "installerIcon": "icon.ico",
- "uninstallerIcon": "icon.ico",
- "installerHeaderIcon": "icon.ico",
- "language": "2052"
- },
- "asar": false,
- "files": [
- "**/*",
- "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
- "!**/node_modules/*.d.ts",
- "!**/node_modules/.bin",
- "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
- "!.editorconfig",
- "!**/._*",
- "!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes}",
- "!**/{__pycache__,*.py[cod],*.egg,*.egg-info,*.spec}",
- "!**/{.env,.env.*,.venv,.venv.*}",
- "!**/{bower_components,vendor}",
- "!**/{.babelrc,.eslintrc,.eslintignore,.eslintcache,*.config.js}"
- ]
- },
- "keywords": [],
- "license": "ISC",
- "dependencies": {
- "electron-store": "^8.1.0",
- "playwright": "^1.41.2"
- },
- "devDependencies": {
- "electron": "^28.1.0",
- "electron-builder": "^24.9.1",
- "electron-packager": "^17.1.2"
- }
- }
|