Skip to content

Commit

Permalink
chore: fixed default import and main on package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhvn committed Jun 22, 2021
1 parent 5abbb35 commit ed85ea7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* Randimals <https://github.com/vinhvn/randimals>
*
* Copyright © 2021, Vincent Nguyen.
* Released under the MIT License.
*/
'use strict';

module.exports = require('./dist/index');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"homepage": "https://github.com/vinhvn/randimals",
"repository": "https://github.com/vinhvn/randimals",
"bugs": "https://github.com/vinhvn/randimals/issues",
"main": "./lib/index.ts",
"main": "./index.js",
"types": "./lib/types.d.ts",
"bin": {
"randimals": "./bin/cli.js"
Expand Down

0 comments on commit ed85ea7

Please sign in to comment.