diff options
author | Alberto García Hierro <alberto@garciahierro.com> | 2017-08-28 15:36:21 +0300 |
---|---|---|
committer | Alberto García Hierro <alberto@garciahierro.com> | 2017-08-31 23:27:31 +0300 |
commit | 14f9cb80dfbff9c03af853054e3fc39fb63e6ee4 (patch) | |
tree | c41de7ae8a51057e87bbe17bce91cea73dc2d651 /package.json | |
parent | edef72f985c3702b5af1cff15871a38fddfe25f1 (diff) |
Cleanup gulpfile.js, fix minification
Move outputDir to a constant.
Add an output variable which contains the filenames for each
output file.
Remove usage of 'let' and 'for(... of [Object])' from osd.js,
since uglify doesn't support ES6 and babel failed on
google-analytics-bundle.js
Fix 'deploy-receiver-css'. uglify() was being called as part of
the pipeline instead of the correct minifyCSS() call.
Let npm sort the deps rather than editing them manually
Add missing openlayers dependency
Diffstat (limited to 'package.json')
-rwxr-xr-x | package.json | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/package.json b/package.json index 0d177872..526ed53a 100755 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "main.html", "default_locale": "en", "scripts": { - "start": "node_modules/nw/bin/nw ." + "start": "node_modules/gulp/bin/gulp.js build && node_modules/nw/bin/nw ." }, "window": { "title": "INAV Configurator", @@ -21,16 +21,19 @@ "author": "iNavFlight", "license": "GPL-3.0", "dependencies": { - "nw": "^0.24.4-sdk", - "jquery": "2.1.4", - "jquery-ui-npm": "1.12.0", - "three": "0.72.0", - "inflection": "1.12.0", "bluebird": "3.4.1", + "del": "^3.0.0", "gulp": "~3.9.1", + "gulp-concat": "~2.6.1", + "gulp-minify-css": "~1.2.4", "gulp-rename": "~1.2.2", "gulp-uglify": "~3.0.0", - "gulp-concat": "~2.6.1", - "gulp-minify-css": "~1.2.4" + "inflection": "1.12.0", + "jquery": "2.1.4", + "jquery-ui-npm": "1.12.0", + "nw": "^0.24.4-sdk", + "nw-builder": "^3.4.1", + "openlayers": "^4.3.1", + "three": "0.72.0" } } |