nw-builder
v4.0.5 NW.js node-webkit Desktop Application
cjs
esbuild ./src/nwbuild.js --bundle --minify --legal-comments=inline --platform=node --outfile=./dist/nwbuild.cjs
docs
jsdoc ./src/nwbuild.js -d docs
lint
eslint ./src
format
prettier --write "./**/*.{js,cjs,md}"
demo:cli
cd ./test/e2e && nwbuild ./nwapp/**/* ./node_modules/**/* --mode=build --version=0.70.1 --flavour=normal --platform=win --arch=x64 --outDir=./build
demo:nix
cd ./test/e2e && node nix.js
demo:osx
cd ./test/e2e && node osx.js
demo:win
cd ./test/e2e && node win.js
test:e2e
cd ./test/e2e && node bld.js
checklist
npm run cjs && npm run format && npm run lint && npm run test:unit && npm run test:e2e
test:unit
node --experimental-vm-modules node_modules/jest/bin/jest.js
npm i [email protected]
Metadata
- MIT
- Whatever
- Steffen Müller
- released 1/7/2023