run prettier + lint separately (improves output)

This commit is contained in:
Felix Roos 2022-12-13 21:53:45 +01:00
parent bf1ba6efc0
commit 5d3c522da2
2 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@
"description": "Port of tidalcycles to javascript",
"scripts": {
"pretest": "cd tutorial && npm run jsdoc-json",
"test": "npm run lint && vitest run --version",
"test": "vitest run --version",
"test-ui": "vitest --ui",
"test-coverage": "vitest --coverage",
"bootstrap": "lerna bootstrap",
@ -21,7 +21,7 @@
"lint": "eslint . --ext mjs,js --quiet",
"codeformat": "prettier --write .",
"format-check": "prettier --check .",
"check": "npm run format-check && npm run lint"
"check": "npm run format-check && npm run lint && npm run test"
},
"workspaces": [
"packages/*"