package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "project",
  3. "version": "0.1.0",
  4. "description": "description",
  5. "main": "index.html",
  6. "scripts": {
  7. "test": "echo \"Error: no test specified\" && exit 1",
  8. "build": "build --mac --x64 --mirror https://npm.taobao.org/mirrors/nwjs/ ."
  9. },
  10. "author": "evshiron",
  11. "license": "MIT",
  12. "build": {
  13. "appId": "io.github.evshiron.nwjs-builder-phoenix.project",
  14. "nwVersion": "0.14.7",
  15. "packed": true,
  16. "targets": [
  17. "zip",
  18. "nsis7z"
  19. ],
  20. "strippedProperties": [
  21. "build"
  22. ],
  23. "outputPattern": "${NAME} ${VERSION} ${PLATFORM} ${ARCH}",
  24. "win": {
  25. "productName": "Project",
  26. "companyName": "nwjs-builder-phoenix",
  27. "copyright": "copyright",
  28. "icon": "./assets/pd.ico"
  29. },
  30. "mac": {
  31. "displayName": "Project",
  32. "copyright": "copyright",
  33. "icon": "./assets/pd.icns",
  34. "plistStrings": {
  35. "CFBundleIdentifier": "io.github.evshiron.nwjs-builder-phoenix.project.modified",
  36. "CFBundleDocumentTypes": []
  37. }
  38. },
  39. "nsis": {
  40. "installDirectory": "$PROGRAMFILES\\${_COMPANYNAME}\\${_APPNAME}",
  41. "diffUpdaters": true
  42. }
  43. },
  44. "devDependencies": {
  45. "nwjs-builder-phoenix": "^1.9.3",
  46. "typescript": "^2.2.1"
  47. },
  48. "window": {
  49. "icon": "./assets/pd.png"
  50. }
  51. }