Skip to content

Commit

Permalink
refactor: move test scripts to top
Browse files Browse the repository at this point in the history
  • Loading branch information
AlAnNuB authored Aug 31, 2024
1 parent 8916f5c commit 3ca3cd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"main": "index.js",
"scripts": {
"dev": "npm run services:up && npm run services:wait:database && npm run migrations:up && next dev",
"test": "npm run services:up && concurrently --names next,jest --hide next --kill-others --success command-jest \"next dev\" \"jest --runInBand --verbose\"",
"test:watch": "jest --watchAll --runInBand",
"services:up": "docker compose -f infra/compose.yaml up -d",
"services:stop": "docker compose -f infra/compose.yaml stop",
"services:down": "docker compose -f infra/compose.yaml down",
Expand All @@ -14,8 +16,6 @@
"lint:prettier:check": "prettier --check .",
"lint:prettier:fix": "prettier --write .",
"lint:eslint:check": "next lint --dir .",
"test": "npm run services:up && concurrently --names next,jest --hide next --kill-others --success command-jest \"next dev\" \"jest --runInBand --verbose\"",
"test:watch": "jest --watchAll --runInBand",
"prepare": "husky",
"commit": "cz"
},
Expand Down

0 comments on commit 3ca3cd1

Please sign in to comment.