package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "its.yongin",
  3. "version": "1.0.0",
  4. "description": "Yongin ITS App",
  5. "author": "HANTE Information Co.,Ltd.",
  6. "main": "./main.js",
  7. "scripts": {
  8. "start": "cross-env NODE_ENV=dev electron .",
  9. "start2": "set NODE_ENV=dev&& electron .",
  10. "start_temp": "./node_modules/.bin/electron.cmd ./main.js",
  11. "deploy:osx": "electron-builder --mac",
  12. "deploy:win": "npm run deploy:win32 && npm run deploy:win64",
  13. "deploy:win32": "electron-builder --win nsis:ia32",
  14. "deploy:win64": "set NODE_ENV=prod&& electron-builder --win nsis:x64",
  15. "test": "echo \"Error: no test specified\" && exit 1"
  16. },
  17. "build": {
  18. "productName": "Yongin ITS App",
  19. "appId": "its.yongin",
  20. "copyright": "Copyright © 2019 ${author}",
  21. "asar": true,
  22. "mac": {
  23. "target": [
  24. "default"
  25. ]
  26. },
  27. "dmg": {
  28. "title": "YONGIN ITS"
  29. },
  30. "win": {
  31. "icon": "./assets/icons/png/app.png",
  32. "target": [
  33. {
  34. "target": "nsis",
  35. "arch": [
  36. "x64",
  37. "ia32"
  38. ]
  39. }
  40. ]
  41. },
  42. "nsis": {
  43. "oneClick": false,
  44. "allowToChangeInstallationDirectory": false,
  45. "createDesktopShortcut": true
  46. },
  47. "directories": {
  48. "buildResources": "./assets/",
  49. "output": "./dist/",
  50. "app": "."
  51. },
  52. "extraResources": [
  53. {
  54. "from": "./extraResources/",
  55. "to": "extraResources",
  56. "filter": [
  57. "**/*"
  58. ]
  59. }
  60. ]
  61. },
  62. "license": "ISC",
  63. "devDependencies": {
  64. "cross-env": "^7.0.3",
  65. "electron": "^18.2.0",
  66. "electron-builder": "^23.0.3"
  67. },
  68. "dependencies": {
  69. "crypto-js": "^4.1.1",
  70. "electron-json-storage": "^4.5.0"
  71. }
  72. }