A starter template set up for the VSCode debugger with HMR, code protection and build scripts.
$ npm installThen, go to the Run & Debug editor tab and press F5 to run the application inside the debugger.
Take a look at the contents of nwts.manifest.ts, from which the NW.js manifest is generated and saved to disk as package.json inside the public directory. You might also want to read nwts.env.js, where some environment variables that are important for the build process are defined.
Runs the app in development mode.
Runs the app in development mode with hot module replacement.
Add a FFMPEG lib with proprietary codecs to the NW.js application folder under node_modules/nw. Take a look at https://www.ffmpeg.org/legal.html before using this for commercial purposes.
Deletes the build and the package directories.
Builds for production.
Takes a production build and runs it through the nwjccompiler that comes with the SDK flavors of NW.js. Useful for code protection.
Packages the app for distribution.
Visit NW.ts-Tools or take a look at nwts-tools/types/env.d.ts.
Builds, compiles and packages the app using the scripts above.
- NW.js (SDK flavor)
- NW.ts-Tools
- Solid.js
- Typescript
- Vite