mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 15:13:30 +00:00
feat: add backend and worker test scripts to package.json and create a combined test command
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
"lint:front": "cd front && pnpm nuxt typecheck",
|
||||
"lint:backend": "cd backend && golangci-lint run",
|
||||
"lint:worker": "cd worker && golangci-lint run",
|
||||
"test:backend": "cd backend && go test -v ./test/...",
|
||||
"test:worker": "cd worker && go test -v ./test/...",
|
||||
"test": "concurrently -n backend,worker -c green,yellow 'pnpm:test:backend' 'pnpm:test:worker'",
|
||||
"prepare": "husky",
|
||||
"up-deps": "concurrently -n backend,worker,models,utils -c green,yellow,blue,magenta 'pnpm:up-deps:backend' 'pnpm:up-deps:worker' 'pnpm:up-deps:models' 'pnpm:up-deps:utils'",
|
||||
"up-deps:backend": "cd backend && go get -u",
|
||||
|
||||
Reference in New Issue
Block a user