Merge pull request #245 from oke-py/refactor/rename-format-scripts

refactor(scripts): rename format scripts to format:write and format:check
This commit is contained in:
Naoki Oketani
2025-05-05 21:34:03 +09:00
committed by GitHub

View File

@@ -12,14 +12,14 @@
"node": ">=20.0.0"
},
"scripts": {
"bundle": "npm run format && npm run package",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"bundle": "npm run format:write && npm run package",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
"lint": "eslint src/**/*.ts",
"package": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"test": "vitest --run",
"test:coverage": "vitest --run --coverage",
"all": "npm run format && npm run lint && npm run test:coverage && npm run package"
"all": "npm run format:write && npm run lint && npm run test:coverage && npm run package"
},
"repository": {
"type": "git",