diff options
author | Alberto García Hierro <alberto@garciahierro.com> | 2020-01-29 23:19:40 +0300 |
---|---|---|
committer | Alberto García Hierro <alberto@garciahierro.com> | 2020-01-29 23:21:13 +0300 |
commit | cf7e266fc82014b68262c1615294136cd38be123 (patch) | |
tree | ba64fdf5de786386fc2da31b98aecac9aa62cdb4 /package.json | |
parent | 7f130d95c4e6d59b69e458236f6b983202a05c84 (diff) |
Add nw and gulp as npm scripts
This allows running them with `npm run gulp` and `npm run nw`
instead of having to type the whole path to the actual binaries.
Also, updated README to simplify the build instructions.
Diffstat (limited to 'package.json')
-rwxr-xr-x | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json index fcb7bbe8..cf93bf6c 100755 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "main.html", "default_locale": "en", "scripts": { - "start": "node node_modules/gulp/bin/gulp.js build && node node_modules/nw/bin/nw ." + "start": "node node_modules/gulp/bin/gulp.js build && node node_modules/nw/bin/nw .", + "gulp": "gulp", + "nw": "nw" }, "window": { "title": "INAV Configurator", |