Skip to content

Commit

Permalink
Add main property to package.json to support vanilla require statement
Browse files Browse the repository at this point in the history
Currently you need to do `require('ez-plus/src/jquery.ez-plus.js')` to require the lib file. This would be shortened to `require('ez-plus')` with this property in package.json.
  • Loading branch information
1x-martin authored Jan 24, 2017
1 parent 413aad1 commit 035878c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "ez-plus",
"main": "src/jquery.ez-plus.js",
"title": "EZ Plus",
"version": "1.1.21",
"description": "A jQuery image zoom plug-in, with tints, easing and gallery integration.",
Expand Down

0 comments on commit 035878c

Please sign in to comment.