diff --git a/package.json b/package.json index 5ed846c2..38f13ef7 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "yarn": "1.22.4" }, "resolutions": { - "js-beautify": "1.10.3" + "js-beautify": "1.10.3", + "d3-color": "3.1.0" } } diff --git a/packages/react-vis/package.json b/packages/react-vis/package.json index 2f269029..67341590 100644 --- a/packages/react-vis/package.json +++ b/packages/react-vis/package.json @@ -23,7 +23,7 @@ "docs": "./publish-docs.sh", "clean": "rm -rf dist es bundle.* index.html && mkdir dist es", "start": "(cd showcase && command -v yarn >/dev/null && yarn && npm start || npm install && npm start)", - "build:browser": "browserify src/index.js -t [ babelify --rootMode upward ] --standalone reactVis | uglifyjs > dist/dist.min.js", + "build:browser": "browserify src/index.js -t [ babelify --rootMode upward --global ] --standalone reactVis | uglifyjs > dist/dist.min.js", "build": "yarn run clean && babel --root-mode upward src -d dist --copy-files && BABEL_ENV=es babel --root-mode upward src -d es --copy-files && node-sass src/main.scss dist/style.css --output-style compressed && yarn run build:browser", "lint-styles": "stylelint src/styles/*.scss --syntax scss", "test:windows": "babel-node --inspect ./tests/index.js", diff --git a/yarn.lock b/yarn.lock index 9297eaaa..2b788b21 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5582,12 +5582,7 @@ d3-collection@1, d3-collection@^1.0.3: resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e" integrity sha1-NJvSqpl32wcQkcExRNXk8WtbMQ4= -d3-color@1, d3-color@^1.0.3: - version "1.4.1" - resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-1.4.1.tgz#c52002bf8846ada4424d55d97982fef26eb3bc8a" - integrity sha1-xSACv4hGraRCTVXZeYL+8m6zvIo= - -d3-color@^3.1.0: +d3-color@1, d3-color@3.1.0, d3-color@^1.0.3, d3-color@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2" integrity sha1-OVsoM9+scVB/EqwvevI7+BneJOI=