Added preinstall script

This commit is contained in:
Amaury 2021-07-12 14:07:59 +02:00
parent b0811ea505
commit 8f0390ce24

View File

@ -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",