From 92f55845468ae28db2e3b3a761382ba1229f36f6 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Wed, 7 Sep 2016 07:30:53 -0400 Subject: [PATCH] add browser/cli watch tasks --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0eabb8c..394a4ae 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,11 @@ "posttest-coverage": "remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.json -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped.lcov -t lcovonly -b dist && remap-istanbul -i coverage/coverage-final.json -o coverage/coverage-remapped -t html -b dist", "ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov", "build": "git rev-parse HEAD > .commithash && rollup -c", - "watch": "rollup -c -w", "build:cli": "rollup -c rollup.config.cli.js", - "build:browser": "git rev-parse HEAD > .commithash && rollup -c rollup.config.browser.js -o dist/rollup.browser.js", + "build:browser": "git rev-parse HEAD > .commithash && rollup -c rollup.config.browser.js", + "watch": "rollup -c -w", + "watch:browser": "rollup -c rollup.config.browser.js -w", + "watch:cli": "rollup -c rollup.config.cli.js -w", "prepublish": "npm run lint && npm test && npm run build:browser", "lint": "eslint src browser test/test.js test/utils test/**/_config.js" },