summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2018-12-22 17:12:01 -0700
committermo <mo.khan@gmail.com>2018-12-22 17:12:01 -0700
commitac62f7010272af233b0ad326e002f5817e551e2a (patch)
treef6498248a574e488e9dbd02bdd0aecf554410bbe
parentd9f82ad1dae467cc54d333fed8cad2d85ef12fb2 (diff)
build before publishingHEADmaster
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
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",