Include tests in ts-config
This commit is contained in:
parent
c22069335f
commit
eaffbae449
|
@ -23,7 +23,7 @@
|
||||||
"build": "yarn build-lib && yarn build-types",
|
"build": "yarn build-lib && yarn build-types",
|
||||||
"build:release": "yarn clean && yarn build && yarn build-web",
|
"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 --incremental --outDir lib --emitDeclarationOnly",
|
"build-types": "tsc --declaration --incremental --outDir lib --project tsconfig.build.json --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 --color --ext .ts src/ test/",
|
"lint": "eslint --color --ext .ts src/ test/",
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"extends": "./tsconfig",
|
||||||
|
"include": ["src"],
|
||||||
|
"exclude": ["test"],
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"include": ["src"],
|
"include": ["src", "test"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
|
|
Reference in New Issue