Skip to content

Commit

Permalink
Merge pull request #23 from Yqnn/fix-dual-package
Browse files Browse the repository at this point in the history
fix: esm module type
  • Loading branch information
Yqnn authored Oct 28, 2024
2 parents e1b2513 + d485851 commit 06ae9bb
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
38 changes: 38 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Yann Armelin",
"name": "readdir-glob",
"description": "Recursive fs.readdir with streaming API and glob filtering.",
"version": "2.0.0",
"version": "2.0.1",
"homepage": "https://github.com/Yqnn/node-readdir-glob",
"repository": {
"type": "git",
Expand Down Expand Up @@ -37,6 +37,7 @@
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"tick": "0.0.6",
"tsconfig-to-dual-package": "^1.2.0",
"typescript": "^5.4.4"
},
"keywords": [
Expand All @@ -53,7 +54,7 @@
"scripts": {
"test": "npx nyc --reporter=lcov --reporter=text-summary --reporter=html jasmine --config=jasmine.json",
"test-regen": "TEST_REGEN=1 jasmine --config=jasmine.json",
"build": "rimraf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
"build": "rimraf dist && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && tsconfig-to-dual-package tsconfig.esm.json tsconfig.cjs.json",
"bench": "bash scripts/benchmark.sh",
"profile": "bash scripts/profile.sh && cat profile.txt"
},
Expand Down

0 comments on commit 06ae9bb

Please sign in to comment.