diff --git a/package.json b/package.json index 1ef5b8b..44f5baa 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ }, "scripts": { "lint": "tslint --project .", - "test": "tsc && ava dist/tests", "build": "tsc", - "prepublish": "tsc" + "test": "npm run lint && npm run build && ava dist/tests", + "prepublish": "npm run build" }, "files": [ "index.js",