integrate codecov

This commit is contained in:
viktorstrate
2021-04-23 21:46:01 +02:00
parent 6bdd73c181
commit 7b2720791e
3 changed files with 258 additions and 2 deletions

View File

@@ -54,10 +54,12 @@
"start": "node --experimental-modules build.mjs watch",
"build": "NODE_ENV=production node --experimental-modules build.mjs",
"test": "npm run lint && npm run jest",
"test:ci": "npm run lint && npm run jest:ci",
"lint": "npm run lint:types & npm run lint:eslint",
"lint:eslint": "eslint ./src --max-warnings 0 --cache --config .eslintrc.js",
"lint:types": "tsc --noemit",
"jest": "jest --verbose",
"jest:ci": "jest --verbose --ci --coverage && codecov",
"genSchemaTypes": "npx apollo client:codegen --target=typescript",
"prepare": "(cd .. && npx husky install)"
},
@@ -77,6 +79,7 @@
"@types/url-join": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"codecov": "^3.8.1",
"eslint-config-prettier": "^8.1.0",
"husky": "^6.0.0",
"jest": "^26.6.3",