diff --git a/README.md b/README.md index a8856e38ba0..a6295e7aaad 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,11 @@ [![npm version](https://badge.fury.io/js/plotly.js.svg)](https://badge.fury.io/js/plotly.js) +[![npm downloads](https://img.shields.io/npm/dm/plotly.js.svg?style=flat-square)](https://www.npmjs.com/package/plotly.js) + [![circle ci](https://circleci.com/gh/plotly/plotly.js.png?&style=shield&circle-token=1f42a03b242bd969756fc3e53ede204af9b507c0)](https://circleci.com/gh/plotly/plotly.js) +[![Dependency Status](https://img.shields.io/david/plotly/plotly.js.svg?style=flat-square)](https://david-dm.org/plotly/plotly.js) +[![devDependency Status](https://img.shields.io/david/dev/plotly/plotly.js.svg?style=flat-square)](https://david-dm.org/plotly/plotly.js#info=devDependencies) Built on top of [d3.js](http://d3js.org/) and [stack.gl](http://stack.gl/), plotly.js is a high-level, declarative charting library. plotly.js ships with 20 @@ -69,7 +73,11 @@ Then elsewhere in your code: var Plotly = require('./path/to/custom-plotly'); ``` -**IMPORTANT**: the plotly.js code base contains some non-ascii characters. Therefore, please make sure to set the `chartset` attribute to `"utf-8"` in the script tag that imports your plotly.js bundle. For example: +To learn more about the plotly.js module architecture, refer to our [modularizing monolithic JS projects](https://plot.ly/javascript/modularizing-monolithic-javascript-projects/) post. + +#### Non-ascii characters + +Important: the plotly.js code base contains some non-ascii characters. Therefore, please make sure to set the `chartset` attribute to `"utf-8"` in the script tag that imports your plotly.js bundle. For example: ```html diff --git a/package.json b/package.json index 21932292409..61d65701247 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "brfs": "^1.4.3", "browserify": "^13.0.0", "browserify-transform-tools": "^1.5.1", - "ecstatic": "^1.2.0", + "ecstatic": "^1.4.0", "eslint": "^1.10.3", "falafel": "^1.2.0", "glob": "^6.0.4", @@ -97,7 +97,7 @@ "prepend-file": "^1.3.0", "prettysize": "0.0.3", "through2": "^2.0.0", - "uglify-js": "^2.5.0", + "uglify-js": "^2.6.1", "watchify": "^3.7.0", "xml2js": "^0.4.16" }