Skip to content

Commit e9c714d

Browse files
Merge pull request #98 from deriv-com/sandeep/chore--update-scripts
sandeep/chore: updated scripts and readme
2 parents 527e2c9 + 9672644 commit e9c714d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,15 @@ To ensure smooth running and contribution to this project, please make sure you
4242

4343
git clone [email protected]:deriv-com/deriv-api-docs.git
4444

45-
### Install Dependencies
45+
### Prepare for run - (Install Dependencies & Build)
4646

47-
npm ci // Clean Install
48-
49-
or
50-
51-
npm i // Install
47+
npm run bootstrap
5248

5349
### Run the Project
5450

5551
After successfully building the project, you can execute or debug it using the Terminal by running the following command.
5652

57-
npm run start:dev
53+
npm run dev
5854

5955
### Build the Project
6056

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {
6+
"bootstrap": "npm ci && npm run build",
7+
"dev": "docusaurus start",
68
"docusaurus": "docusaurus",
79
"start:auth": "npx netlify-cms-proxy-server",
810
"start": "docker compose up -d && docusaurus start --no-open",

0 commit comments

Comments
 (0)