chore: exclude ".test-d.ts" files from "build:tests" script

pull/779/head
hasezoey 4 months ago
parent 89b94169ef
commit a7094a456e
No known key found for this signature in database
GPG Key ID: 9F8C99E834CC54FB
  1. 4
      package.json
  2. 7
      tsconfig.buildTests.json

@ -13,14 +13,14 @@
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build:tests": "tsc -p tsconfig.json",
"build:tests": "tsc -p tsconfig.buildTests.json",
"lint": "eslint -c ./.eslintrc.js \"./**/*.{js,ts}\"",
"test": "jest",
"test:watch": "jest --watchAll",
"test:coverage": "jest --collectCoverage",
"test:watchCoverage": "jest --collectCoverage --watchAll",
"test:types": "jest -c jest.config.tsd.json",
"watch": "tsc -w -p tsconfig.json",
"watch": "tsc -w -p tsconfig.buildTests.json",
"clean": "rimraf lib .tsbuildinfo coverage doc build",
"version:patch": "yarn version patch -m 'release: %s'",
"prepare": "husky install",

@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"exclude": [
"*.js",
"**/*.test-d.ts"
],
}
Loading…
Cancel
Save