Skip to content

Commit

Permalink
fix: exposing an index.js in lib
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudPower97 committed Dec 3, 2018
1 parent 43f31b2 commit 749993d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@cloudpower97/react-spy",
"version": "1.1.1",
"description": "A simple React Scrollspy component built with performance in mind",
"main": "./lib/Scrollspy.js",
"main": "./lib/index.js",
"scripts": {
"clean": "rimraf lib",
"pretest": "npm run fix",
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Scrollspy from './Scrollspy'

export default Scrollspy

0 comments on commit 749993d

Please sign in to comment.