From 1038dcfbba29ce5b292b8802d696523f92cbb53e Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Mon, 22 May 2017 13:25:45 +0900 Subject: [PATCH] chore: add prepublish script --- .travis.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 66eaec1..989225e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js -before_script: +before_install: - npm install -g grunt-cli - gem install sass diff --git a/package.json b/package.json index 63459ff..edaf70c 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "D3-based reusable chart library", "main": "c3.js", "scripts": { + "prepublish": "grunt", "lint": "grunt lint", "test": "karma start karma.conf.js", "codecov": "cat coverage/*/lcov.info | codecov"