chore: add new npm script check & fix

This commit is contained in:
Jumpei Ogawa
2024-08-25 06:52:42 +09:00
parent fcc9e20a1b
commit 53eb56e15d

View File

@@ -13,8 +13,13 @@
"build": "astro build",
"preview": "astro preview",
"astro": "astro",
"format": "prettier -w .",
"lint:eslint": "eslint ."
"check": "npm run check:astro && npm run check:eslint && npm run check:prettier",
"check:astro": "astro check",
"check:eslint": "eslint .",
"check:prettier": "prettier --check .",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:eslint": "eslint --fix .",
"fix:prettier": "prettier -w ."
},
"dependencies": {
"@astrojs/rss": "^4.0.7",
@@ -30,6 +35,7 @@
"unpic": "^3.18.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/mdx": "^3.1.4",
"@astrojs/partytown": "^2.1.1",
"@astrojs/tailwind": "5.1.0",