Setup lerna to run scripts across packages.

This commit is contained in:
nikugogoi 2021-06-04 19:59:07 +05:30 committed by Ashwin Phatak
parent 8d697ab9d1
commit c3d1737ee1
2 changed files with 13 additions and 1 deletions

8
lerna.json Normal file
View File

@ -0,0 +1,8 @@
{
"packages": [
"packages/*"
],
"version": "0.1.0",
"npmClient": "yarn",
"useWorkspaces": true
}

View File

@ -4,5 +4,9 @@
"workspaces": [
"packages/*"
],
"devDependencies": {}
"devDependencies": {},
"scripts": {
"test": "lerna run test --stream --no-bail",
"lint": "lerna run lint --stream"
}
}