Skip to content

Commit

Permalink
Fix paths in package.json (#5)
Browse files Browse the repository at this point in the history
- Paths were wrong causing package to not work
- Do not package `*.tsbuildinfo`
  • Loading branch information
huntharo authored Jun 16, 2023
1 parent 7b3c80f commit 0f33deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@shutterstock/p-map-iterable",
"version": "0.0.0",
"description": "Async iterable that maps an async iterable input with backpressure.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"publishConfig": {
"access": "public"
},
Expand All @@ -19,7 +19,7 @@
"AsyncIterator"
],
"scripts": {
"build": "tsc --build tsconfig.json && echo 'examples/' > dist/.npmignore",
"build": "tsc --build tsconfig.json && echo 'examples/\n*.tsbuildinfo' > dist/.npmignore",
"build:docs": "typedoc src/index.ts",
"example:iterable-mapper": "ts-node -r tsconfig-paths/register examples/iterable-mapper.ts",
"example:iterable-queue-mapper": "ts-node -r tsconfig-paths/register examples/iterable-queue-mapper.ts",
Expand Down

0 comments on commit 0f33deb

Please sign in to comment.