{"_id":"@aitsys/nw-builder","_rev":"2-35a5c5c4488b0479319479158cf98268","name":"@aitsys/nw-builder","dist-tags":{"latest":"4.5.6"},"versions":{"4.5.4":{"name":"@aitsys/nw-builder","version":"4.5.4","description":"Build NW.js desktop applications for MacOS, Windows and Linux.","keywords":["NW.js","node-webkit","Desktop","Application"],"author":{"name":"Steffen Müller","url":"https://www.mllrsohn.com/"},"maintainers":[{"name":"lulalaby","email":"aiko@aitsys.dev"}],"contributors":[{"name":"nw-builder Contributors","url":"https://github.com/nwutil/nw-builder/graphs/contributors"}],"license":"MIT","main":"./src/index.js","bin":{"nwbuild":"src/cli.js"},"types":"./src/index.d.ts","type":"module","homepage":"https://github.com/Aiko-IT-Systems/nw-builder","repository":{"type":"git","url":"git+https://github.com/Aiko-IT-Systems/nw-builder.git"},"scripts":{"lint":"eslint src/get.js","docs":"jsdoc -d docs ./src/get.js ./src/run.js ./src/bld.js","test":"node --test test/get.test.js","demo":"cd test/fixture && node demo.js"},"devDependencies":{"eslint":"^8.56.0","eslint-plugin-jsdoc":"^46.9.1","jsdoc":"^4.0.2","selenium-webdriver":"^4.16.0"},"dependencies":{"cli-progress":"^3.12.0","compressing":"^1.10.0","glob":"^10.3.10","node-gyp":"^10.0.1","plist":"^3.1.0","rcedit":"^4.0.1","tar":"^6.2.0","yargs":"^17.7.2"},"packageManager":"npm@10.2.4","engines":{"node":">=14"},"eslintConfig":{"parserOptions":{"ecmaVersion":2023,"sourceType":"module"},"env":{"es6":true,"node":true},"extends":["eslint:recommended","plugin:jsdoc/recommended"],"rules":{"jsdoc/tag-lines":"off","jsdoc/check-property-names":"off"}},"_id":"@aitsys/nw-builder@4.5.4","gitHead":"4dea3765aae6862807fef51e22b5f474bbc473fa","bugs":{"url":"https://github.com/Aiko-IT-Systems/nw-builder/issues"},"_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-swj0nFmOHbPsZRU7kG6kL1dQaarnmYPwMh3ZlakwgSd+P8abX8TEj3R+fJAukT+A6PPio1FG06zC6Kp+ZAfVog==","shasum":"65defbfab7159331fbdcdad65f7125a04767b8bf","tarball":"https://registry.npmjs.org/@aitsys/nw-builder/-/nw-builder-4.5.4.tgz","fileCount":14,"unpackedSize":69642,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+c89Ak9zGMaBaB83wP+mZ0yby//SA9gsPjspqnNMCiQIgdAQqjEIsCVWJSxo/iApKboEawyFSWReHg4Rc7k8jmSg="}]},"_npmUser":{"name":"lulalaby","email":"aiko@aitsys.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nw-builder_4.5.4_1703536191561_0.09980196706993905"},"_hasShrinkwrap":false},"4.5.5":{"name":"@aitsys/nw-builder","version":"4.5.5","description":"Build NW.js desktop applications for MacOS, Windows and Linux.","keywords":["NW.js","node-webkit","Desktop","Application"],"author":{"name":"Steffen Müller","url":"https://www.mllrsohn.com/"},"maintainers":[{"name":"lulalaby","email":"aiko@aitsys.dev"}],"contributors":[{"name":"nw-builder Contributors","url":"https://github.com/nwutil/nw-builder/graphs/contributors"}],"license":"MIT","main":"./src/index.js","bin":{"nwbuild":"src/cli.js"},"types":"./src/index.d.ts","type":"module","homepage":"https://github.com/Aiko-IT-Systems/nw-builder","repository":{"type":"git","url":"git+https://github.com/Aiko-IT-Systems/nw-builder.git"},"scripts":{"lint":"eslint src/get.js","docs":"jsdoc -d docs ./src/get.js ./src/run.js ./src/bld.js","test":"node --test test/get.test.js","demo":"cd test/fixture && node demo.js"},"devDependencies":{"eslint":"^8.56.0","eslint-plugin-jsdoc":"^46.9.1","jsdoc":"^4.0.2","selenium-webdriver":"^4.16.0"},"dependencies":{"cli-progress":"^3.12.0","compressing":"^1.10.0","glob":"^10.3.10","node-gyp":"^9.4.1","plist":"^3.1.0","rcedit":"^4.0.1","tar":"^6.2.0","yargs":"^17.7.2"},"packageManager":"npm@10.2.4","engines":{"node":">=14"},"eslintConfig":{"parserOptions":{"ecmaVersion":2023,"sourceType":"module"},"env":{"es6":true,"node":true},"extends":["eslint:recommended","plugin:jsdoc/recommended"],"rules":{"jsdoc/tag-lines":"off","jsdoc/check-property-names":"off"}},"_id":"@aitsys/nw-builder@4.5.5","gitHead":"7a674ae95bb51a8574138d9e8c0609006ad5c91b","bugs":{"url":"https://github.com/Aiko-IT-Systems/nw-builder/issues"},"_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-cMxC4O8KrM9mZTcJYuqMMjxo9zSj+tDNG79vF+ZuTkXecZbZWkSOQ1hCq/ow55BXsi+gz/G3/ijgPuzOxeY2nw==","shasum":"6a8fa3d20af244b78e1cc0c06c4766592ad230e9","tarball":"https://registry.npmjs.org/@aitsys/nw-builder/-/nw-builder-4.5.5.tgz","fileCount":14,"unpackedSize":69641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBe4WoD6KQ2lOR6JJcEE0zqAohxqUbLtf9TxcDgNDqpAiA5ynd2WdF+A6FOrPKFKLYxPKVythSkqVX2dI52a6AIUg=="}]},"_npmUser":{"name":"lulalaby","email":"aiko@aitsys.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nw-builder_4.5.5_1703542127964_0.011674024548973039"},"_hasShrinkwrap":false},"4.5.6":{"name":"@aitsys/nw-builder","version":"4.5.6","description":"Build NW.js desktop applications for MacOS, Windows and Linux.","keywords":["NW.js","node-webkit","Desktop","Application"],"author":{"name":"Steffen Müller","url":"https://www.mllrsohn.com/"},"maintainers":[{"name":"lulalaby","email":"aiko@aitsys.dev"}],"contributors":[{"name":"nw-builder Contributors","url":"https://github.com/nwutil/nw-builder/graphs/contributors"}],"license":"MIT","main":"./src/index.js","bin":{"nwbuild":"src/cli.js"},"types":"./src/index.d.ts","type":"module","homepage":"https://github.com/Aiko-IT-Systems/nw-builder","repository":{"type":"git","url":"git+https://github.com/Aiko-IT-Systems/nw-builder.git"},"scripts":{"lint":"eslint src/get.js","docs":"jsdoc -d docs ./src/get.js ./src/run.js ./src/bld.js","test":"node --test test/get.test.js","demo":"cd test/fixture && node demo.js"},"devDependencies":{"eslint":"^8.56.0","eslint-plugin-jsdoc":"^46.9.1","jsdoc":"^4.0.2","selenium-webdriver":"^4.16.0"},"dependencies":{"cli-progress":"^3.12.0","compressing":"^1.10.0","glob":"^10.3.10","node-gyp":"^9.4.1","plist":"^3.1.0","rcedit":"^4.0.1","tar":"^6.2.0","yargs":"^17.7.2"},"packageManager":"npm@10.2.4","engines":{"node":">=14"},"eslintConfig":{"parserOptions":{"ecmaVersion":2023,"sourceType":"module"},"env":{"es6":true,"node":true},"extends":["eslint:recommended","plugin:jsdoc/recommended"],"rules":{"jsdoc/tag-lines":"off","jsdoc/check-property-names":"off"}},"_id":"@aitsys/nw-builder@4.5.6","gitHead":"10d39781f5f11356f7b046f0e2c000f1afe45215","bugs":{"url":"https://github.com/Aiko-IT-Systems/nw-builder/issues"},"_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-qG/c26d3WWBptj35F5md1plyPheS2CohJxGNWvRL58V1egMbSp7NaaYzdGPvkcasTpj+QSGyeU3ij9HfNh4sxQ==","shasum":"975f8fdf8dc149e6a299dfc6adfccc944ce589bb","tarball":"https://registry.npmjs.org/@aitsys/nw-builder/-/nw-builder-4.5.6.tgz","fileCount":14,"unpackedSize":69641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzp94rG9UdbE+KcpdeLamwsUe0Dg49Yjzixza3n73KugIgL+Ux6e57Vm4PPfJozvOumnK0q7TX3s8oy029qs5D5R4="}]},"_npmUser":{"name":"lulalaby","email":"aiko@aitsys.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nw-builder_4.5.6_1703542175918_0.14336021288537903"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-25T20:29:51.457Z","4.5.4":"2023-12-25T20:29:51.764Z","modified":"2023-12-25T22:09:36.320Z","4.5.5":"2023-12-25T22:08:48.150Z","4.5.6":"2023-12-25T22:09:36.118Z"},"maintainers":[{"name":"lulalaby","email":"aiko@aitsys.dev"}],"description":"Build NW.js desktop applications for MacOS, Windows and Linux.","homepage":"https://github.com/Aiko-IT-Systems/nw-builder","keywords":["NW.js","node-webkit","Desktop","Application"],"repository":{"type":"git","url":"git+https://github.com/Aiko-IT-Systems/nw-builder.git"},"contributors":[{"name":"nw-builder Contributors","url":"https://github.com/nwutil/nw-builder/graphs/contributors"}],"author":{"name":"Steffen Müller","url":"https://www.mllrsohn.com/"},"bugs":{"url":"https://github.com/Aiko-IT-Systems/nw-builder/issues"},"license":"MIT","readme":"# nw-builder\n\n[![npm](https://img.shields.io/npm/v/nw-builder/latest)](https://www.npmjs.com/package/nw-builder/v/latest)\n[![Join the chat at https://gitter.im/nwjs/nw-builder](https://badges.gitter.im/repo.svg)](https://app.gitter.im/#/room/#nwjs_nw-builder:gitter.im)\n\nBuild [NW.js](https://github.com/nwjs/nw.js) applications for Mac, Windows and Linux.\n\nFor version 3, please go to the [corresponding branch](https://github.com/nwutils/nw-builder/tree/v3).\n\n## Major Features\n\n- Get, run or build applications.\n- Integrate [FFmpeg community builds](https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt)\n- Configure executable fields and icons\n- Downloading from mirrors\n- Node Native Addon support\n\nCheck out the [documentation](https://nwutils.io/nw-builder/) if you wish to give `nw-builder` a try.\n\n> Please note that the documentation assumes you know [how to write NW.js applications](https://nwjs.readthedocs.io/en/latest/For%20Users/Getting%20Started/).\n\n## Installation\n\nWith npm:\n\n```shell\nnpm install nw-builder -D\n```\n\nWith yarn:\n\n```shell\nyarn add nw-builder -D\n```\n\nWith pnpm:\n\n```shell\npnpm add nw-builder -D\n```\n\n## Usage\n\nHere is two way to use nw-build to build your nwjs applications\n\n### CLI\n\n1. To get nwjs cache\n    ```bash\n    nwbuild --mode=get\n    ```\n2. To run nwjs application\n    ```bash\n    nwbuild --mode=run\n    ```\n3. To build nwjs application\n    ```bash\n    nwbuild --mode=build\n    ```\n\n### JavaScript API\n1. Define an npm script\n    ```json\n    {\n      \"scripts\": {\n        \"build\": \"node scripts/build.js\"\n      }\n    }\n    ```\n2. Create a build script\n    ```javascript\n    // scripts/build.js\n    const { nwbuild } = require(\"nw-builder\");\n    await nwbuild({\n      srcDir: \"./nwapp/**/* ./other/**/*.js\",\n      mode: \"build\",\n      version: \"latest\",\n      flavor: \"normal\",\n      platform: \"linux\",\n      arch: \"x64\",\n      outDir: \"./build\",\n      cache: false,\n      app: { ... },\n    });\n    ```\n3. Run the script\n    ```bash\n    npm run build\n    ```\n\n## Alternatives\n\n- [nw-builder-platforms](https://github.com/naviapps/nw-builder-platforms) - Fork of this repo with platform specific build options\n- [nwjs-builder-phoenix](https://github.com/evshiron/nwjs-builder-phoenix) - Previously the most used build tool, however it is no longer maintained\n","readmeFilename":"README.md"}