fix: build

This commit is contained in:
Marc G
2021-07-15 16:58:13 +00:00
parent 1f920e2d8d
commit 85a161513d
3 changed files with 5 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
"test:debug": "node --inspect=0.0.0.0:9229 node_modules/.bin/jest --config ./test/jest-e2e.json --runInBand",
"test": "node_modules/.bin/jest --config ./test/jest-e2e.json",
"prepublishOnly": "npm run eslint && npm run test && npm run build",
"build": "tsc"
"build": "tsc -p tsconfig.build.json"
},
"author": "Marc Gagnon",
"license": "MIT",

4
tsconfig.build.json Normal file
View File

@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["./node_modules", "./test", "./dist", "**/*spec.ts"]
}

View File

@@ -9,5 +9,4 @@
"typeRoots": ["node_modules/@types"],
"esModuleInterop": true
},
"exclude": ["./node_modules", "./dist", "./test"],
}