Skip to content

Commit

Permalink
build: fix test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Jun 8, 2024
1 parent 2679d92 commit e443a66
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@
"samples": "tsc -p samples/tsconfig.json",
"samples:watch": "tsc -p samples/tsconfig.json -w",
"build": "rollup -c",
"test": "jest --passWithNoTests",
"test:watch": "jest --passWithNoTests --watch",
"test:coverage": "jest --passWithNoTests --coverage",
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --passWithNoTests --detectOpenHandles --forceExit",
"test:watch": "yarn run test --watch",
"test:coverage": "yarn run test --coverage",
"lint": "yarn run eslint && yarn run prettier",
"fix": "yarn run eslint:fix && yarn run prettier:write",
"prettier:write": "prettier \"*\" \"*/**\" --write",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.c.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"outDir": "build",
"declaration": true,
"declarationMap": true,
"noEmit": false,
"noEmit": true,
"composite": true
}
}
2 changes: 1 addition & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.c.json",
"include": ["src/**/*.ts", "src/**/*.tsx", "*.js"]
"include": ["src/**/*.ts", "src/**/*.tsx", "*.js", "docs/**/*.ts"]
}
14 changes: 2 additions & 12 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2019",
"target": "ES2018",
"module": "ESNext",
"lib": ["DOM", "ES2020"],
"importHelpers": false,
Expand Down Expand Up @@ -29,15 +29,5 @@
"*": ["*", "node_modules/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.tsx"],

"typedocOptions": {
"name": "TSLibrary",
"out": "./docs",
"theme": "default",
"excludeExternals": true,
"excludePrivate": true,
"includeVersion": true,
"hideGenerator": true
}
"include": ["src/**/*.ts", "src/**/*.tsx", "docs/**/*.tsx"]
}

0 comments on commit e443a66

Please sign in to comment.