Skip to content

Commit ffb6410

Browse files
authored
Ensure Package JSON Availability (#70)
1 parent 4e6930a commit ffb6410

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dist/**/*"
1212
],
1313
"scripts": {
14-
"build": "rm -rf dist/* && yarn build:esm && yarn build:cjs",
14+
"build": "rm -rf dist/* && yarn build:esm && yarn build:cjs && cp package.json dist",
1515
"build:esm": "tsc -p tsconfig.esm.json",
1616
"build:cjs": "tsc -p tsconfig.cjs.json",
1717
"test": "jest",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222

2323
"rootDir": "src"
2424
},
25-
"include": ["src"],
25+
"include": ["src", "package.json"],
2626
"exclude": ["node_modules", "dist", "tests"] // Added "dist" to avoid recompiling the output
2727
}

0 commit comments

Comments
 (0)