From 7700e769c0702a17939daff9f4862b1c53dd4624 Mon Sep 17 00:00:00 2001 From: Mai Trung Duc Date: Wed, 22 Nov 2023 23:28:17 +0800 Subject: [PATCH] docs: update guide for develop --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 23d3064..a7206ae 100755 --- a/README.md +++ b/README.md @@ -29,8 +29,9 @@ # Develop To Develop the extension: - First clone the project -- Run `yarn install` or `npm install` -- Run `yarn dev` (for Chrome/Edge) or `yarn dev:firefox` for Firefox +- Install `pnpm` globally: `npm install -g pnpm` +- Run `pnpm install` +- Run `npm run dev` (for Chrome/Edge) or `npm run dev:firefox` for Firefox After that, a `dist` folder will be generated, next based on your browser do the following - Chrome: open `chrome://extensions/` and drag `dist` folder there @@ -40,7 +41,7 @@ After that, a `dist` folder will be generated, next based on your browser do the > Note: for Firefox, to make background script + popup page work on load, right click the Konva extension icon on browser bar -> select "Always allow...."" # Build -To build project for publish, run `yarn build` (for Chrome/Edge) or `yarn build:firefox` for Firefox +To build project for publish, run `npm run build` (for Chrome/Edge) or `npm run build:firefox` for Firefox # Architecture ## Overview