From 8f0390ce246e9686f3f9767947dc8aa689d67dc2 Mon Sep 17 00:00:00 2001 From: Amaury Date: Mon, 12 Jul 2021 14:07:59 +0200 Subject: [PATCH] Added preinstall script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",