diff --git a/package.json b/package.json index 881a924..f8f60b2 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ ], "scripts": { "test": "cross-env TS_NODE_PROJECT='./tests/tsconfig.json' mocha --require ts-node/register ./tests/**/*-spec.ts", - "build": "tsc" + "build": "tsc", + "preinstall": "npm install && npm run build" }, "keywords": [ "RSS",