From 770cdafec4f4e73b31ce304ca49e6abd3e5f1223 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Mon, 19 Aug 2019 08:57:23 +0100 Subject: [PATCH] [refactor] improve npm clean and lint --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a32be15a..3b851523 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "build": "npm run clean-build; npm run build-web; npm run build-extension", "build-web": "gulp build", "build-extension": "web-ext build -s build/web -a build/extension", - "lint-webext": "web-ext lint -s", + "lint": "npm run lint-extension", + "lint-extension": "web-ext lint -s build/web", + "clean": "npm run clean-dev; npm run clean-build", "clean-dev": "rm -rf dev", "clean-build": "rm -rf build", "deploy-gh-pages": "npm run clean-build; gulp build; gh-pages -d build/web"