Enhance package.json by adding formatting and linting scripts, and updating devDependencies for ESLint, Prettier, and TypeScript support.
This commit is contained in:
@@ -27,7 +27,9 @@
|
|||||||
"ci-build": "bash scripts/ci-build.sh",
|
"ci-build": "bash scripts/ci-build.sh",
|
||||||
"ci-deploy:ga": "bash scripts/ci-deploy.sh --beta false",
|
"ci-deploy:ga": "bash scripts/ci-deploy.sh --beta false",
|
||||||
"ci-deploy:beta": "bash scripts/ci-deploy.sh --beta true",
|
"ci-deploy:beta": "bash scripts/ci-deploy.sh --beta true",
|
||||||
|
"format": "bun run prettier --write .",
|
||||||
"lint": "eslint",
|
"lint": "eslint",
|
||||||
|
"prelint:fix": "bun run format",
|
||||||
"lint:fix": "eslint --fix",
|
"lint:fix": "eslint --fix",
|
||||||
"test": "bun test",
|
"test": "bun test",
|
||||||
"test:watch": "bun test --watch",
|
"test:watch": "bun test --watch",
|
||||||
@@ -50,7 +52,11 @@
|
|||||||
"author": "Techniker.me",
|
"author": "Techniker.me",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest"
|
"@types/bun": "latest",
|
||||||
|
"eslint": "9.39.1",
|
||||||
|
"jiti": "2.6.1",
|
||||||
|
"prettier": "3.5.3",
|
||||||
|
"typescript-eslint": "8.47.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5"
|
"typescript": "^5"
|
||||||
|
|||||||
Reference in New Issue
Block a user