Add outDir for bls declaration files

This commit is contained in:
Cayman 2019-08-07 10:56:14 -05:00
parent b297740f00
commit 5971c6414a
1 changed files with 1 additions and 1 deletions

View File

@ -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/",