Browse Source

chore: add prepublish script

pull/1844/merge
Yoshiya Hinosawa 8 years ago
parent
commit
1038dcfbba
  1. 2
      .travis.yml
  2. 1
      package.json

2
.travis.yml

@ -1,6 +1,6 @@
language: node_js language: node_js
before_script: before_install:
- npm install -g grunt-cli - npm install -g grunt-cli
- gem install sass - gem install sass

1
package.json

@ -4,6 +4,7 @@
"description": "D3-based reusable chart library", "description": "D3-based reusable chart library",
"main": "c3.js", "main": "c3.js",
"scripts": { "scripts": {
"prepublish": "grunt",
"lint": "grunt lint", "lint": "grunt lint",
"test": "karma start karma.conf.js", "test": "karma start karma.conf.js",
"codecov": "cat coverage/*/lcov.info | codecov" "codecov": "cat coverage/*/lcov.info | codecov"

Loading…
Cancel
Save