Skip to content

Commit

Permalink
Add index file for npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Jul 3, 2016
1 parent 39de419 commit a428b51
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Vue wrapper for chart.js",
"author": "Jakub Juszczak <[email protected]>",
"private": true,
"main": "src/index.js",
"scripts": {
"dev": "node build/dev-server.js",
"build": "node build/build.js",
Expand Down
17 changes: 17 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import Bar from './BaseCharts/Bar'
import Doughnut from './BaseCharts/Doughnut'
import Line from './BaseCharts/Line'
import Pie from './BaseCharts/Pie'
import PolarArea from './BaseCharts/PolarArea'
import Radar from './BaseCharts/Radar'

const VueCharts = {
Bar,
Doughnut,
Line,
Pie,
PolarArea,
Radar
}

module.exports = VueCharts

0 comments on commit a428b51

Please sign in to comment.