mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Feat: Lerna integration with husky for precommit checks (#57)
* feat: Lerna integration with husky * Lint-staged integration * tweak(ci/cd): Removed prettier integration * Added lint-staged to precommit hook call * tweak: removed git add from lint-staged * tweak(gitignore): Removed package.json from ignore
This commit is contained in:
9 files changed
+5783
-30
No files matched your search
@@ -9,7 +9,8 @@
|
||||
"build": "webpack --mode production",
|
||||
"format": "prettier --write \"./**/*.ts\"",
|
||||
"watch": "webpack --mode development --watch true",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"precommit": "npm run test && lint-staged"
|
||||
},
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
@@ -37,6 +38,7 @@
|
||||
"eslint-loader": "^4.0.2",
|
||||
"husky": "^4.3.0",
|
||||
"jest": "^26.5.3",
|
||||
"lint-staged": "^10.5.3",
|
||||
"prettier": "^2.0.5",
|
||||
"remove-files-webpack-plugin": "^1.4.3",
|
||||
"ts-jest": "^26.4.1",
|
||||
@@ -44,5 +46,10 @@
|
||||
"typescript": "^3.9.7",
|
||||
"webpack": "^4.44.1",
|
||||
"webpack-cli": "^3.3.12"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": [
|
||||
"prettier --write \"./**/*.ts\""
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user