Skip to content
This repository was archived by the owner on Feb 24, 2024. It is now read-only.

Commit 49eeeed

Browse files
committed
Fix unncessary files are published in NPM package
When publishing version 0.1.0 following unnecessary files were added to NPM package: - tsconfig.tsbuildinfo - *.js.map files To fix that issue configuration of package.json has been changed to include only JavaScript files and TypeScript declaration files located in lib directory.
1 parent 718cff8 commit 49eeeed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"author": "RandomVoid (https://github.com/RandomVoid)",
1111
"license": "MIT",
1212
"files": [
13-
"lib/**/*"
13+
"lib/**/*.js",
14+
"lib/**/*.d.ts"
1415
],
1516
"main": "lib/cli.js",
1617
"types": "lib/cli.d.ts",

0 commit comments

Comments
 (0)