andable build chaching

This commit is contained in:
Marin Petrunić 2019-10-03 14:01:43 +02:00
parent 0a21bfb8cd
commit 70218e326e
1 changed files with 4 additions and 3 deletions

View File

@ -17,10 +17,11 @@
"bls"
],
"scripts": {
"prebuild": "rm -rf lib && rm -rf dist",
"build": "yarn build-lib && yarn build-web && yarn build-types",
"clean": "rm -rf lib && rm -rf dist && rm -f tsconfig.tsbuildinfo",
"build": "yarn build-lib && yarn build-types",
"build:release": "yarn clean && yarn build && yarn build-web",
"build-lib": "babel src -x .ts -d lib",
"build-types": "tsc --declaration --outDir lib --emitDeclarationOnly",
"build-types": "tsc --declaration --incremental --outDir lib --emitDeclarationOnly",
"build-web": "webpack --mode production --entry ./lib/web.js --output ./dist/bls.min.js",
"check-types": "tsc --noEmit",
"lint": "eslint --ext .ts src/",