add prepublish script

This commit is contained in:
Flam3rboy 2021-07-08 16:55:22 +02:00
parent 834d8b28e5
commit d4550a567a

View File

@ -6,7 +6,8 @@
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc -b ." "build": "tsc -b .",
"prepublish": "npm run build"
}, },
"repository": { "repository": {
"type": "git", "type": "git",