Skip to content

Commit

Permalink
run formatting check as part of ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherny committed Aug 27, 2023
1 parent aebe91e commit fe580b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
"build:server": "tsc -d",
"clean": "shx rm -rf dist && mkdir dist",
"format": "prettier \"**/*.ts\" --write",
"format-check": "prettier \"**/*.ts\" --check",
"lint": "eslint src/*.ts test/*.ts",
"tdd": "concurrently -r -p '' -k 'npm run watch' 'npm run watch:test'",
"test": "npm run pre-test && ava --timeout=300s --verbose",
"stresstest": "seq 1 10 | xargs -I{} npm test",
"prepublishOnly": "npm test",
"pre-test": "npm run clean && npm run build:server",
"pre-test": "npm run clean && npm run format-check && npm run build:server",
"watch": "tsc -w",
"watch:test": "ava -w"
},
Expand Down

0 comments on commit fe580b6

Please sign in to comment.