package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "versionStrings": {
  26. "ProductName": "Project",
  27. "CompanyName": "nwjs-builder-phoenix",
  28. "LegalCopyright": "copyright"
  29. },
  30. "icon": "./assets/pd.ico"
  31. },
  32. "mac": {
  33. "displayName": "Project",
  34. "copyright": "copyright",
  35. "icon": "./assets/pd.icns",
  36. "plistStrings": {
  37. "CFBundleIdentifier": "io.github.evshiron.nwjs-builder-phoenix.project.modified",
  38. "CFBundleDocumentTypes": []
  39. }
  40. },
  41. "nsis": {
  42. "installDirectory": "$PROGRAMFILES\\${_COMPANYNAME}\\${_APPNAME}",
  43. "diffUpdaters": true
  44. }
  45. },
  46. "devDependencies": {
  47. "nwjs-builder-phoenix": "^1.9.3",
  48. "typescript": "^2.2.1"
  49. },
  50. "window": {
  51. "icon": "./assets/pd.png"
  52. }
  53. }