- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally
Install node.js.
Then install gulp.js.
npm install -g gulpInstall all project dependencies
npm install- run
gulp - point your browser to localhost:8000
gulprun app in development modegulp -prun app in production modegulp test
gulp extractDefaultMessagesextract default translation messages from source hooks
First, make sure you have Cordova installed:
npm install -g cordova
A cordova folder is already created for you.
It has a default config.xml preconfigured with some default plugins and platforms and is also hooked into the webpack build system.
Add the platform(s) you want to build for:
cd cordova/
cordova platform add ios # or 'android'
To run a packaged app
cordova run ios # or 'android' or 'windows'
This will also launch the webpack build before packaging.