Command line interface for building NW.js apps
- Install package:
npm i -g @nwutils/cli
Create a Vanilla JavaScript project.
nw create MyAppChoose your template (defaults to vanilla-js) and out directory (defaults to .).
nw create --template=react-js --outDir=/path/to/project/dir MyAppNote: If you find a template is missing, feel free to open an issue or pull request.
Apply NW.js specific polyfills to your NW.js application.
import { pollyfill } from '@nwutils/cli';
// Run this as early in your application lifecycle as possible.
pollyfill();- Add react-js template
- Package custom node test coverage action.
- Properly deal with the types problem. This will be a major pain point for developers using TypeScript.