From c76a26bffaed93ac12353086119a2b503e3e6703 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Thu, 10 May 2018 14:15:08 +0200 Subject: [PATCH] Use npx to run lerna --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ade4fcf145078..3329076e368c4 100644 --- a/package.json +++ b/package.json @@ -211,13 +211,13 @@ "clean:devdocs": "npm run -s rm -- server/devdocs/search-index.js && npm run -s rm -- server/devdocs/proptypes-index.json && npm run -s rm -- server/devdocs/components-usage-stats.json", "clean:public": "npm run -s rm -- public .css .css.map .js .js.map && npm run -s rm -- public/sections .css .css.map && npm run -s rm -- public/sections-rtl .css .css.map", "codemod": "node bin/codemods/run", - "distclean": "npm run -s clean && lerna clean --yes ; npm run -s rm -- node_modules", + "distclean": "npm run -s clean && npx lerna clean --yes ; npm run -s rm -- node_modules", "docker": "docker run -it --name wp-calypso --rm -p 80:3000 wp-calypso", "env": "cross-env-shell NODE_PATH=$NODE_PATH:server:client:.", "eslint-branch": "node bin/eslint-branch.js", "install-if-deps-outdated": "node bin/install-if-deps-outdated.js", "install-if-no-packages": "node bin/install-if-no-packages.js", - "postinstall": "lerna bootstrap --hoist", + "postinstall": "npx lerna bootstrap --hoist", "lint": "run-s -s lint:*", "lint:config-defaults": "node server/config/validate-config-keys.js", "lint:css": "stylelint \"client/**/*.scss\" --syntax scss",