Skip to content

Commit

Permalink
fix: move index files out of src and specify more exports
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jan 8, 2021
1 parent 7c007ad commit bfbaad4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@
"author": "@favware",
"version": "1.1.0",
"main": "index.js",
"module": "index.mjs",
"license": "MIT",
"homepage": "https://github.com/favware/skip-dependency#readme",
"exports": {
"require": "./src/index.js",
"import": "./src/index.mjs"
"require": "./index.js",
"default": "./index.js",
"node": "./index.js",
"import": "./index.mjs"
},
"files": [
"src"
"index.js",
"index.mjs"
],
"engines": {
"node": ">=10",
Expand Down

0 comments on commit bfbaad4

Please sign in to comment.