Skip to content

Commit 1881e9a

Browse files
committed
Added npm require support
1 parent 5625433 commit 1881e9a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ZingChart-AngularJS",
3-
"version": "1.0.0",
3+
"version": "1.0.4",
44
"description": "An AngularJS wrapper for ZingChart",
55
"main": "src/zingchart-angularjs.js",
66
"keywords": [

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require('./src/zingchart-angularjs');
2+
module.exports = 'zingchart-angularjs';

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "zingchart-angularjs",
3-
"version": "1.0.1",
3+
"version": "1.0.4",
44
"description": "A ZingChart AngularJS directive",
5-
"main": "src/zingchart-angularjs.js",
5+
"main": "index.js",
66
"author": "ZingChart",
77
"homepage": "www.zingchart.com",
88
"devDependencies": {

0 commit comments

Comments
 (0)