commit 0cb3156e9617889df33eeca16639c7166b278a7f
parent 40731506f2a21df672f496557a55f99c2ff9fb0a
Author: nolash <dev@holbrook.no>
Date: Wed, 11 Nov 2020 18:23:46 +0100
Add prepare script
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package.json b/package.json
@@ -5,7 +5,8 @@
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "build": "tsc -d --outDir dist/"
+ "build": "tsc -d --outDir dist/",
+ "prepare": "npm run build"
},
"repository": {
"type": "git",