add postinstall script to build automatically using tsc

This commit is contained in:
Florent 2021-07-12 15:54:12 +02:00 committed by Florent F
parent 877bc20d9b
commit 1b36afbb34
2 changed files with 21 additions and 4393 deletions

4411
package-lock.json generated

File diff suppressed because it is too large Load Diff

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",
"postinstall": "npm run build"
},
"keywords": [
"RSS",