From 6f1cce84a55742c6b63066f8c0099bca2bc5be57 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 22 Jan 2020 13:50:39 +0000 Subject: [PATCH] wrapping lerna commands in NPM scripts --- package.json | 7 ++++++- readme.md | 8 +++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 1f8b5ad203..64aa1aea0d 100644 --- a/package.json +++ b/package.json @@ -4,5 +4,10 @@ "devDependencies": { "lerna": "^3.14.1" }, - "dependencies": {} + "dependencies": {}, + "scripts": { + "bootstrap": "lerna bootstrap", + "build": "lerna run build", + "init": "lerna run initialise" + } } diff --git a/readme.md b/readme.md index 0573eb6271..4ad650fa13 100644 --- a/readme.md +++ b/readme.md @@ -56,8 +56,6 @@ Install requires [node-gyp](https://github.com/nodejs/node-gyp), due to a depend *yarn -* `npm install -g yarn` -*lerna -* `npm install -g lerna` - *jest* - `npm install -g jest` ### 2. Clone this repository @@ -68,11 +66,11 @@ then `cd ` into your local copy... ### 3. Install and Build -`lerna bootstrap` will install all modules +`yarn bootstrap` will install all modules -`lerna run build` will build all packages +`yarn build` will build all packages -`lerna run initialise` will initialise your budibase (i.e. create local database) +`yarn initialise` will initialise your budibase (i.e. create local database) ### 4. Running