Add outDir for bls declaration files
This commit is contained in:
parent
b297740f00
commit
5971c6414a
|
@ -20,7 +20,7 @@
|
||||||
"prebuild": "rm -rf lib && rm -rf dist",
|
"prebuild": "rm -rf lib && rm -rf dist",
|
||||||
"build": "yarn build-lib && yarn build-web && yarn build-types",
|
"build": "yarn build-lib && yarn build-web && yarn build-types",
|
||||||
"build-lib": "babel src -x .ts -d lib",
|
"build-lib": "babel src -x .ts -d lib",
|
||||||
"build-types": "tsc --declaration --emitDeclarationOnly",
|
"build-types": "tsc --declaration --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