mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-15 22:31:19 +01:00
Set up husky and lint-staged to run oxfmt on staged files before each commit. Co-authored-by: Ona <no-reply@ona.com>
34 lines
690 B
JSON
34 lines
690 B
JSON
{
|
|
"name": "aelis",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*",
|
|
"apps/*"
|
|
],
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "bun run --filter '*' test",
|
|
"lint": "oxlint .",
|
|
"lint:fix": "oxlint --fix .",
|
|
"format": "oxfmt --write .",
|
|
"format:check": "oxfmt --check .",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@json-render/core": "^0.12.1",
|
|
"@nym.sh/jrx": "^0.2.0",
|
|
"@types/bun": "latest",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260412.1",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.4.0",
|
|
"oxfmt": "^0.24.0",
|
|
"oxlint": "^1.39.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^6"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx,json,css,md}": "oxfmt --write"
|
|
}
|
|
}
|