andable build chaching
This commit is contained in:
parent
0a21bfb8cd
commit
70218e326e
|
@ -17,10 +17,11 @@
|
||||||
"bls"
|
"bls"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "rm -rf lib && rm -rf dist",
|
"clean": "rm -rf lib && rm -rf dist && rm -f tsconfig.tsbuildinfo",
|
||||||
"build": "yarn build-lib && yarn build-web && yarn build-types",
|
"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-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",
|
"build-web": "webpack --mode production --entry ./lib/web.js --output ./dist/bls.min.js",
|
||||||
"check-types": "tsc --noEmit",
|
"check-types": "tsc --noEmit",
|
||||||
"lint": "eslint --ext .ts src/",
|
"lint": "eslint --ext .ts src/",
|
||||||
|
|
Reference in New Issue