aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/monorepo-scripts/README.md2
-rw-r--r--packages/monorepo-scripts/package.json11
2 files changed, 8 insertions, 5 deletions
diff --git a/packages/monorepo-scripts/README.md b/packages/monorepo-scripts/README.md
index ea1d43bd5..dbdfdf135 100644
--- a/packages/monorepo-scripts/README.md
+++ b/packages/monorepo-scripts/README.md
@@ -9,7 +9,7 @@ This repository contains a few helpful scripts for working with this mono repo.
In order to reduce the size of this repo, we try and use the same versions of dependencies between packages. To make it easier to discover version discrepancies between packages, you can run:
```bash
-yarn deps_versions
+yarn scripts:deps_versions
```
This will list out any dependencies that differ in versions between packages.
diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json
index 7c87199fc..3cef65b19 100644
--- a/packages/monorepo-scripts/package.json
+++ b/packages/monorepo-scripts/package.json
@@ -6,12 +6,14 @@
"types": "lib/index.d.ts",
"scripts": {
"build:watch": "tsc -w",
- "deps_versions": "node ./lib/deps_versions.js",
- "publish": "yarn build; node ./lib/publish.js",
- "convert_changelogs": "yarn build; node ./lib/convert_changelogs.js",
"lint": "tslint --project . 'src/**/*.ts'",
"clean": "shx rm -rf lib",
- "build": "tsc"
+ "build": "tsc",
+ "publish": "run-s build script:publish",
+ "convert_changelogs": "run-s build script:convert_changelogs",
+ "script:deps_versions": "node ./lib/deps_versions.js",
+ "script:publish": "node ./lib/publish.js",
+ "script:convert_changelogs": "node ./lib/convert_changelogs.js"
},
"repository": {
"type": "git",
@@ -30,6 +32,7 @@
"@types/node": "^8.0.53",
"@types/rimraf": "^2.0.2",
"lerna-get-packages": "^1.0.0",
+ "npm-run-all": "^4.1.2",
"shx": "^0.2.2",
"tslint": "5.8.0",
"typescript": "2.7.1"