GUI: Added ESLint to gulp tasks. ONOS-6521
Commented out gulp tasks making this change uneffective
Fixed an error in the build script
Change-Id: I4f4f9762aa1a66304aa74b3ab208095b9c1d4515
diff --git a/tools/gui/package.json b/tools/gui/package.json
index 4c2aeb0..304cd54 100644
--- a/tools/gui/package.json
+++ b/tools/gui/package.json
@@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "build": "./node_modules/gulp/bin/gulp.js build"
+ "build": "./node_modules/gulp/bin/gulp.js build",
+ "dev": "./node_modules/gulp/bin/gulp.js --development"
},
"author": "",
"license": "ISC",
@@ -14,11 +15,18 @@
"babel": "^6.23.0",
"babel-core": "^6.25.0",
"babel-preset-es2015": "^6.24.1",
+ "browser-sync": "^2.18.12",
+ "eslint": "^4.2.0",
+ "eslint-config-google": "^0.9.1",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.1",
+ "gulp-eslint": "3.0.1",
+ "gulp-if": "^2.0.2",
"gulp-sourcemaps": "^2.6.0",
"gulp-strip-comments": "^2.4.5",
"gulp-uglify": "^3.0.0",
+ "gulp-webserver": "^0.9.1",
+ "http-proxy-middleware": "^0.17.4",
"jasmine-core": "^2.6.4",
"karma": "^1.7.0",
"karma-babel-preprocessor": "^6.0.1",