From c46065fdc0a236ce17d2c567089d915b2bfb6a0f Mon Sep 17 00:00:00 2001 From: Leon Bubova Date: Fri, 17 Dec 2021 01:06:23 +0100 Subject: [PATCH] rename bundle script to start with file watcher, create build script without watcher --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6c0cb42..b5646da 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,9 @@ "description": "Chrome extension to return youtube dislikes", "main": "ryd.content-script.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "bundle": "node_modules/.bin/webpack \"./Extensions/combined/ryd.content-script.js\" -o \"./Extensions/combined\"" + "start": "node_modules/.bin/webpack \"./Extensions/combined/ryd.content-script.js\" -o \"./Extensions/combined\" --watch", + "build": "node_modules/.bin/webpack \"./Extensions/combined/ryd.content-script.js\" -o \"./Extensions/combined\"", + "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git",