Skip to content

Commit

Permalink
fix formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Aug 27, 2024
1 parent 462e570 commit d0ba77c
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
"npmClient": "npm",
"main": "src/index.ts",
"scripts": {
"dev": "ts-node --swc ./src/index.ts",
"dev-koa": "ts-node --swc ./src/index_koa.ts",
"build": "tsc",
"test": "vitest run",
"check-errors": "tsc --noemit",
"validate": "npm run test",
"dev": "ts-node --swc ./src/index.ts",
"dev-koa": "ts-node --swc ./src/index_koa.ts",
"format": "prettier --write \"**/*.{ts,tsx}\"",
"precommit": "no-master-commits -b main"
"format-scss": "stylelint \"**/*.scss\" --fix",
"format-staged": "lint-staged",
"test": "vitest run",
"validate": "npm run test"
},
"dependencies": {
"bootstrap": "^5.2.3",
Expand All @@ -44,5 +45,16 @@
"@types/koa-bodyparser": "^4.3.10",
"@types/koa-router": "^7.4.4",
"@types/mocha": "^10.0.1"
},
"pre-commit": [
"format-staged"
],
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write \"**/*.{ts,tsx}\""
],
"*.scss": [
"stylelint \"**/*.scss\" --fix"
]
}
}

0 comments on commit d0ba77c

Please sign in to comment.