Skip to content

Commit 64abfa6

Browse files
committed
add npmignore and prepack command
1 parent 26e6bdb commit 64abfa6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/src
2+
/.github
3+
/.vscode
4+
/node_modules

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
"lint": "eslint src/**/*.ts",
3131
"build": "tsc -p .",
3232
"test": "jest",
33-
"typecheck": "tsc -p . --noEmit"
33+
"typecheck": "tsc -p . --noEmit",
34+
"prepack": "yarn build"
3435
},
3536
"bin": {
3637
"typescript2python": "./dist/index.js"

0 commit comments

Comments
 (0)