Skip to content

Commit 7fe697a

Browse files
committed
specify files to include in package when publishing
1 parent 41efc6e commit 7fe697a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"description": "Class-based Node.js web server",
55
"main": "dist/src/index.js",
66
"type": "module",
7+
"files": [
8+
"dist/**/*.js",
9+
"dist/**/*.d.ts",
10+
"dist/*.json"
11+
],
712
"scripts": {
813
"prebuild": "npm run gen:indices",
914
"build": "tsc",

0 commit comments

Comments
 (0)