From ac62f7010272af233b0ad326e002f5817e551e2a Mon Sep 17 00:00:00 2001 From: mo Date: Sat, 22 Dec 2018 17:12:01 -0700 Subject: build before publishing --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3499c47..393bf32 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "build": "yarn build:clean && yarn build:scss", "build:clean": "rm -fr css", "build:scss": "node-sass --include-path node_modules --output-style expanded --source-map true index.scss css/mokha.css", - "build:watch": "yarn build:scss --watch" + "build:watch": "yarn build:scss --watch", + "prepublishOnly": "yarn build" }, "repository": { "type": "git", -- cgit v1.2.3