From b4efbe994e5811e56f364edfcf830483e9a375fd Mon Sep 17 00:00:00 2001 From: reficul31 Date: Fri, 31 Mar 2017 10:06:07 +0530 Subject: [PATCH] Adding the script commands --- .eslintignore | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index 2ec096f966..c0ad3c4b3d 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1 @@ -./extension/ \ No newline at end of file +extension/ \ No newline at end of file diff --git a/package.json b/package.json index 105983f6e5..dab6bb4b09 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "build": "gulp build", "watch": "gulp watch", "fx-run": "web-ext -s extension run", - "fx-build": "npm run build-prod && web-ext -s extension -a dist/firefox build" + "fx-build": "npm run build-prod && web-ext -s extension -a dist/firefox build", + "lint": "./node_modules/.bin/eslint .", + "fix": "./node_modules/.bin/eslint --fix ." }, "dependencies": { "babel-runtime": "^6.23.0",