Skip to content

Commit 9e1ca07

Browse files
author
Evgeny Markov
committed
fix: make type checking faster and more portable
1 parent a2ed13f commit 9e1ca07

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "index.js",
66
"types": "index.d.ts",
77
"scripts": {
8-
"test": "standard && tap -J test/*.test.js && npm run test:types",
9-
"test:types": "sh tools/build-examples.sh",
8+
"test": "standard && tap -J test/*.test.js && npm run test:typescript",
9+
"test:typescript": "tsc --build examples/typescript/*",
1010
"test:report": "standard && tap -J --coverage-report=html test/*.test.js",
1111
"test:verbose": "standard && tap -J test/*.test.js -Rspec",
1212
"postgres": "docker run -p 5432:5432 --name fastify-postgres -e POSTGRES_PASSWORD=postgres -d postgres:11-alpine",

tools/build-examples.sh

-7
This file was deleted.

0 commit comments

Comments
 (0)