Skip to content

Commit

Permalink
Define files in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
shira-374 committed Sep 22, 2018
1 parent 9766d54 commit 13ad3e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"keywords": ["jquery", "scroll", "fix", "fixed", "position"],
"peerDependencies": {
"jquery": ">=1.9.0"
}
},
"files": [
"src/scrollfix.js"
]

This comment has been minimized.

Copy link
@jfcherng

jfcherng Sep 22, 2018

Contributor

Could we add "main": "src/scrollfix.js", so that this could be easily used by require('jquery-scrollfix') rather than require('jquery-scrollfix/src/scrollfix.js')?

This comment has been minimized.

Copy link
@shira-374

shira-374 Sep 22, 2018

Author Owner

Sure, please try if b66eee6 works for you

}

0 comments on commit 13ad3e7

Please sign in to comment.