Skip to content

Commit

Permalink
fix(test): remove nyc, use jest coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Jun 20, 2024
1 parent d1caf15 commit ce11139
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,10 @@
"build": "npm-run-all lint build:clean build:es",
"build:clean": "rimraf lib",
"build:es": "esbuild ./src/start.ts --bundle --platform=node --outfile=lib/start.cjs --tree-shaking=true --sourcemap=inline",
"lcov-report": "nyc report --reporter=lcov",
"dev": "cross-env NODE_ENV=development nodemon --watch './src/**/*.ts' --exec node --loader ts-node/esm ./src/start.ts",
"lint": "eslint src --ext .ts",
"test": "NODE_OPTIONS=--experimental-vm-modules cross-env NODE_ENV=test jest --detectOpenHandles --runInBand --testTimeout=40000 --forceExit",
"coverage": "c8 npm run test && npm run lcov-report",
"coverage": "c8 npm run test",
"postinstall": "rm -rf ./node_modules/@josephg/resolvable/index.ts",
"prepare": "node -e \"try { require('husky').install() } catch (e) {}\""
},
Expand Down

0 comments on commit ce11139

Please sign in to comment.