mirror of
https://github.com/usatiuk/photos.git
synced 2025-10-28 15:27:49 +01:00
add husky checks
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
"scripts": {
|
||||
"start": "parcel serve src/index.html",
|
||||
"build": "parcel build src/index.html",
|
||||
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx",
|
||||
"lint": "eslint ./src/** --ext .js,.jsx,.ts,.tsx && tsc --noEmit",
|
||||
"lint-fix": "eslint ./src/** --ext .js,.jsx,.ts,.tsx --fix",
|
||||
"test": "jest"
|
||||
},
|
||||
"postcss": {
|
||||
@@ -61,4 +62,4 @@
|
||||
"@types/react-router-dom": "^5.1.6",
|
||||
"@types/sass": "^1.16.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user