Skip to content

Commit

Permalink
Ensure Package JSON Availability (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
bh2smith authored Sep 20, 2024
1 parent 4e6930a commit ffb6410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dist/**/*"
],
"scripts": {
"build": "rm -rf dist/* && yarn build:esm && yarn build:cjs",
"build": "rm -rf dist/* && yarn build:esm && yarn build:cjs && cp package.json dist",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"test": "jest",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

"rootDir": "src"
},
"include": ["src"],
"include": ["src", "package.json"],
"exclude": ["node_modules", "dist", "tests"] // Added "dist" to avoid recompiling the output
}

0 comments on commit ffb6410

Please sign in to comment.