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