mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 18:31:53 +00:00
chore: add prettier and reformat lib
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc"
|
||||
"build": "tsc",
|
||||
"check": "tsc --noEmit --skipLibCheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"sorted-btree": "1.5.0",
|
||||
@@ -19,8 +20,20 @@
|
||||
"devDependencies": {
|
||||
"@types/node": "16.4.13",
|
||||
"@types/uuid": "8.3.1",
|
||||
"husky": "^4.3.8",
|
||||
"lint-staged": "^12.3.7",
|
||||
"prettier": "^2.6.1",
|
||||
"ts-node": "10.2.0",
|
||||
"tslint": "6.1.3",
|
||||
"typescript": "4.3.5"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged && npm run check"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.{js,ts,html,md,less,json}": "prettier --write",
|
||||
"*.ts": "tslint --fix"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user