打卡工具
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

2 тижднів тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "attendance-tool",
  3. "version": "1.0.0",
  4. "author": "Lizhuang",
  5. "description": "考勤自动化工具",
  6. "main": "main.js",
  7. "scripts": {
  8. "start": "electron .",
  9. "postinstall": "playwright install chromium",
  10. "pack": "electron-builder --dir",
  11. "dist": "electron-builder --win portable --config electron-builder.json",
  12. "dist:installer": "electron-builder --win nsis --config electron-builder.json",
  13. "package": "electron-packager . AttendanceTool --platform=win32 --arch=x64 --icon=icon.ico --out=dist"
  14. },
  15. "build": {
  16. "appId": "com.attendance.tool",
  17. "productName": "考勤工具",
  18. "directories": {
  19. "output": "dist"
  20. },
  21. "win": {
  22. "target": [
  23. {
  24. "target": "portable",
  25. "arch": ["x64"]
  26. },
  27. {
  28. "target": "nsis",
  29. "arch": ["x64"]
  30. }
  31. ],
  32. "icon": "icon.ico"
  33. },
  34. "nsis": {
  35. "oneClick": false,
  36. "allowToChangeInstallationDirectory": true,
  37. "createDesktopShortcut": true,
  38. "createStartMenuShortcut": true,
  39. "shortcutName": "考勤工具",
  40. "installerIcon": "icon.ico",
  41. "uninstallerIcon": "icon.ico",
  42. "installerHeaderIcon": "icon.ico",
  43. "language": "2052"
  44. },
  45. "asar": false,
  46. "files": [
  47. "**/*",
  48. "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
  49. "!**/node_modules/*.d.ts",
  50. "!**/node_modules/.bin",
  51. "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
  52. "!.editorconfig",
  53. "!**/._*",
  54. "!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes}",
  55. "!**/{__pycache__,*.py[cod],*.egg,*.egg-info,*.spec}",
  56. "!**/{.env,.env.*,.venv,.venv.*}",
  57. "!**/{bower_components,vendor}",
  58. "!**/{.babelrc,.eslintrc,.eslintignore,.eslintcache,*.config.js}"
  59. ]
  60. },
  61. "keywords": [],
  62. "license": "ISC",
  63. "dependencies": {
  64. "electron-store": "^8.1.0",
  65. "playwright": "^1.41.2"
  66. },
  67. "devDependencies": {
  68. "electron": "^28.1.0",
  69. "electron-builder": "^24.9.1",
  70. "electron-packager": "^17.1.2"
  71. }
  72. }