From aa582a0b11e277fb7015442624b1439c79b881cf Mon Sep 17 00:00:00 2001 From: nuintun Date: Sat, 28 Apr 2018 17:57:33 +0800 Subject: [PATCH] :art: Add npm script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 40bb4e4..fc6f29a 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "uglify-es": "^3.3.9" }, "scripts": { + "prepublishOnly": "node rollup.js", "test": "mocha --timeout 6000 --check-leaks --reporter spec --bail --exit", "test-ci": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --timeout 6000 --check-leaks --reporter spec --exit",