Merge pull request #485 from frauniki/add-prettier-ci

chore: Add Prettier format check to CI and format code
This commit is contained in:
GPT8
2025-06-15 12:18:31 +03:00
committed by GitHub
13 changed files with 153 additions and 112 deletions
+1
View File
@@ -51,6 +51,7 @@
"deploy:patch": "npm version patch && npm run deploy:build",
"lint": "eslint src --ext ts && tsc --noEmit",
"format": "prettier --write src",
"format:check": "prettier --check src",
"test": "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",
"test:all": "npm run test:unit:docker && npm run test:e2e:docker",
"test:docker-build": "docker build -t oco-test -f test/Dockerfile .",