summaryrefslogtreecommitdiff
path: root/package.json
blob: a7a1868595b15475201bd8cf59e8cefc26974349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "scripts": {
    "set": "npm i && cd frontend && npm i",
    "set--ci": "npm ci && cd frontend && npm ci",
    "lint": "eslint .",
    "format": "prettier ./**/* --check",
    "format--write": "prettier ./**/* --write",
    "prepare": "husky install"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^6.2.1",
    "@typescript-eslint/parser": "^6.2.1",
    "eslint": "^8.46.0",
    "eslint-plugin-astro": "^0.28.0",
    "husky": "^8.0.3",
    "lint-staged": "^13.2.3",
    "prettier": "^3.0.0",
    "prettier-plugin-astro": "^0.11.0"
  },
  "lint-staged": {
    "frontend/**/*.{ts,cts,mts,astro,json,md,js,cjs,mjs,html,css}": ["eslint", "prettier"]
  }
}