Browse Source

Adding D3 as a global to Rollup

pull/1629/merge
Ændrew Rininsland 8 years ago committed by Yoshiya Hinosawa
parent
commit
23369a19d5
  1. 2
      package.json

2
package.json

@ -7,7 +7,7 @@
"serve": "static -p 8080 htdocs/", "serve": "static -p 8080 htdocs/",
"prepublish": "npm run dist", "prepublish": "npm run dist",
"lint": "grunt lint", "lint": "grunt lint",
"build": "rollup -f umd --name c3 src/index.js > c3.js", "build": "rollup -f umd --name c3 --globals d3:d3 src/index.js > c3.js",
"minify": "grunt minify", "minify": "grunt minify",
"test": "npm run build && npm run lint && karma start karma.conf.js", "test": "npm run build && npm run lint && karma start karma.conf.js",
"dist": "npm run build && npm run minify", "dist": "npm run build && npm run minify",

Loading…
Cancel
Save