2022-07-25 04:28:43 +00:00
|
|
|
{
|
|
|
|
"devDependencies": {
|
|
|
|
"husky": "^8.0.1",
|
|
|
|
"js-beautify": "^1.14.4",
|
|
|
|
"lint-staged": "^13.0.3",
|
|
|
|
"prettier": "^2.7.1"
|
2022-07-25 04:35:21 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"format": "npm run format:prettier && npm run format:html",
|
2022-07-25 04:38:48 +00:00
|
|
|
"format:prettier": "prettier --config .prettierrc \"**/src/**/*.{ts,css,less,scss,js}\" --write",
|
|
|
|
"format:html": "js-beautify --config .jsbeautifyrc --type 'html' --file '**/src/**/*.html' --replace"
|
2022-07-25 04:35:21 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{ts,css,less,scss,js}": [
|
|
|
|
"prettier --config .prettierrc --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.html": [
|
|
|
|
"js-beautify --config .jsbeautifyrc --type 'html' --replace",
|
|
|
|
"git add"
|
|
|
|
]
|
2022-08-04 07:22:41 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@react-navigation/native": "^6.0.11"
|
2022-07-25 04:28:43 +00:00
|
|
|
}
|
|
|
|
}
|