From f91f3f87788e3185022628be2aeb48a1a44da76b Mon Sep 17 00:00:00 2001 From: Bryce Osterhaus Date: Tue, 2 May 2017 15:34:52 -0700 Subject: [PATCH] Create releast task for chrome --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8c67960..e4ab25f 100644 --- a/package.json +++ b/package.json @@ -6,12 +6,14 @@ "build": "npm run build:injected && npm run build:chrome", "build:chrome": "webpack --config shells/chrome/webpack.config.js", "build:injected": "webpack --config injected/webpack.config.js", - "format:prettier": "prettier --single-quote --no-bracket-spacing --write \"./!(node_modules|coverage)/**/!(build)/*.js\"", - "format:eslint": "eslint \"./!(node_modules|coverage)/**/!(build)/*.js\" --fix", + "clean": "rm -rf shells/chrome/dist/build && rm -rf injected/build", "format": "npm run format:prettier && npm run format:eslint", + "format:eslint": "eslint \"./!(node_modules|coverage)/**/!(build)/*.js\" --fix", + "format:prettier": "prettier --single-quote --no-bracket-spacing --write \"./!(node_modules|coverage)/**/!(build)/*.js\"", "lint": "eslint \"./!(node_modules|coverage)/**/!(build)/*.js\"", "precommit": "npm run format", "prepush": "npm test", + "release:chrome": "npm run clean && npm run build:injected && npm run build:chrome && cd shells/chrome/dist && zip -r ../metal-devtools.zip * && cd ../../..", "test": "jest" }, "author": "Bryce Osterhaus ",