Skip to content

Commit cfb6b9b

Browse files
alnrBenehiko
andauthored
fix: don't include unnecessary files in NPM package (#240)
Co-authored-by: Alano Terblanche <[email protected]>
1 parent 7a3642d commit cfb6b9b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.npmignore

-2
This file was deleted.

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"license": "Apache-2.0",
1414
"author": "Aeneas Rekkas",
1515
"main": "src/index.ts",
16+
"files": [
17+
"lib/*",
18+
"views/*"
19+
],
1620
"scripts": {
1721
"build": "rm -rf lib/* && tsc",
1822
"serve": "node lib/index.js",

0 commit comments

Comments
 (0)