Skip to content

Commit

Permalink
Change to use exports
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 24, 2023
1 parent d65e1f4 commit 079807b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
],
"sideEffects": false,
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'node:assert/strict'
import test from 'node:test'
import {npmHighImpact, npmTopDependents, npmTopDownloads} from './index.js'
import {npmHighImpact, npmTopDependents, npmTopDownloads} from 'npm-high-impact'

test('npmHighImpact', function () {
assert(Array.isArray(npmHighImpact), 'should be a list')
Expand Down

0 comments on commit 079807b

Please sign in to comment.