Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto García Hierro <alberto@garciahierro.com>2020-01-29 23:19:40 +0300
committerAlberto García Hierro <alberto@garciahierro.com>2020-01-29 23:21:13 +0300
commitcf7e266fc82014b68262c1615294136cd38be123 (patch)
treeba64fdf5de786386fc2da31b98aecac9aa62cdb4 /package.json
parent7f130d95c4e6d59b69e458236f6b983202a05c84 (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-xpackage.json4
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",