mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
tweak(lerna/setup): Slightly tweak setup for lerna monorepo
* Added @octokit/core (peer-dep for lerna) * Added yarn bootstrap on post-install script to automatically bootstrap lerna repo
This commit is contained in:
1 parent
ba8f722c35
commit
1ac4b6dd8d
2 files changed
+1188
-21
No files matched your search
+3
-2
@@ -5,6 +5,7 @@
|
||||
"repository": "https://github.com/project-error/new-phone-who-dis",
|
||||
"license": "CC-BY-NC-SA-4.0",
|
||||
"devDependencies": {
|
||||
"@octokit/core": "^3.4.0",
|
||||
"husky": "^5.1.3",
|
||||
"lerna": "^3.22.1",
|
||||
"prettier": "^2.2.1",
|
||||
@@ -15,11 +16,11 @@
|
||||
"prepare": "husky install",
|
||||
"bootstrap": "lerna bootstrap",
|
||||
"format:staged": "pretty-quick --staged",
|
||||
"postinstall": "husky install"
|
||||
"postinstall": "husky install && yarn bootstrap"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run format:staged"
|
||||
"pre-commit": "npx run format:staged"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user