Skip to content

Commit e061b43

Browse files
author
Nick Ardecky
committed
bump: Bump ZingChart to version 2.8.8
- add modules to npm output
1 parent e02f753 commit e061b43

4 files changed

Lines changed: 41 additions & 36 deletions

File tree

dist/zingchart-react.js

Lines changed: 26 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 12 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"scripts": {
2424
"test": "cross-env CI=1 react-scripts test --env=jsdom",
2525
"test:watch": "react-scripts test --env=jsdom",
26-
"build": "rollup -c",
26+
"build": "rollup -c && cp -a node_modules/zingchart/modules-es6/ dist/modules/",
2727
"start": "rollup -c -w",
2828
"prepare": "npm run build",
2929
"predeploy": "cd example && npm install && npm run build",
@@ -67,7 +67,7 @@
6767
"dist"
6868
],
6969
"dependencies": {
70-
"zingchart": "^2.8.7",
70+
"zingchart": "^2.8.8",
7171
"zingchart-constants": "github:zingchart/zingchart-constants#master"
7272
}
7373
}

src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zingchart } from 'zingchart';
1+
import zingchart from 'zingchart/es6';
22
import React, { Component } from 'react';
33
import constants from 'zingchart-constants';
44

0 commit comments

Comments
 (0)