fix: Switch to biome & vitest (#726)

This commit is contained in:
Nerivec
2025-03-23 21:30:14 +01:00
committed by GitHub
parent 44c5bbcc1c
commit 94b76a910a
48 changed files with 1762 additions and 4075 deletions

View File

@@ -13,13 +13,12 @@
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"clean": "rm -rf dist coverage *.tsbuildinfo",
"start": "node ./dist/index.js",
"format": "prettier --write .",
"format:check": "prettier --check .",
"eslint": "eslint . --max-warnings=0",
"test": "jest test --config=./tests/jest.config.ts --silent --runInBand",
"test:watch": "jest test --watch --config=./tests/jest.config.ts --silent --runInBand",
"coverage": "jest test --config=./tests/jest.config.ts --silent --runInBand --coverage"
"check": "biome check",
"test": "vitest run --config ./tests/vitest.config.mts",
"test:coverage": "vitest run --config ./tests/vitest.config.mts --coverage",
"test:watch": "vitest watch --config ./tests/vitest.config.mts"
},
"keywords": [
"zigbee",
@@ -49,19 +48,11 @@
"devDependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.0",
"@eslint/core": "^0.12.0",
"@eslint/js": "^9.23.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"@biomejs/biome": "^1.9.4",
"@octokit/rest": "^21.1.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.11",
"eslint": "^9.23.0",
"eslint-config-prettier": "^10.1.1",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"ts-jest": "^29.2.6",
"ts-node": "^10.9.2",
"@vitest/coverage-v8": "^3.0.9",
"typescript": "^5.8.2",
"typescript-eslint": "^8.27.0"
"vitest": "^3.0.9"
}
}