diff --git a/package.json b/package.json index 14e40f6..57d6e8e 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "start": "npm start", "lint": "tslint -p tsconfig.json", - "build": "npm run lint && tsc", + "build": "npm run lint && npm run prepublish", "test": "jest --config jestconfig.json", "example": "ts-node example/index.js", "prepublish": "rm -rf dist && tsc"