Skip to content

Commit 77d3285

Browse files
author
NoahAndrews
committed
Don't include compiled typescript in git repo
1 parent 16bacde commit 77d3285

File tree

4 files changed

+2
-86
lines changed

4 files changed

+2
-86
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ build/
22
node_modules/
33
.idea/
44
prebuilds/
5+
dist/

dist/binding.d.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

dist/binding.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"scripts": {
2424
"install": "node-gyp-build",
25-
"prepublishOnly": "prebuildify --napi",
25+
"prepublishOnly": "tsc && prebuildify --napi",
2626
"pretest": "node-gyp-build && tsc",
2727
"test": "node --napi-modules test/test_binding.js"
2828
},

0 commit comments

Comments
 (0)