mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-07 22:53:55 -05:00
Add husky and lint-staged
This commit is contained in:
28
package.json
Normal file
28
package.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"name": "infisical",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/infisical/infisical.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/infisical/infisical/issues"
|
||||
},
|
||||
"homepage": "https://github.com/infisical/infisical#readme",
|
||||
"scripts": {
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*": "prettier --write --ignore-unknown",
|
||||
"*.{ts,tsx}": [
|
||||
"eslint --fix",
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.29.0",
|
||||
"husky": "^8.0.2",
|
||||
"prettier": "^2.8.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user