Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
fix: add local development workflow (ENG-158) (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
DecathectZero authored Jun 21, 2024
1 parent 434b8f7 commit 4409650
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ yarn install
yarn build

# run dev server
yarn dev
yarn local
```

Once the server is running it should automatically open your browser with the chat widget.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"clean": "turbo run clean && rimraf node_modules",
"dev": "turbo run dev --no-cache --parallel --continue",
"lint": "run-p -c lint:eslint lint:prettier",
"local": "cd packages/react-chat; yarn local",
"lint:eslint": "yarn g:eslint",
"lint:fix": "run-p -c \"g:eslint --fix\" \"g:prettier --write\"",
"lint:prettier": "yarn g:prettier --check",
Expand Down
1 change: 1 addition & 0 deletions packages/react-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"lint:eslint": "yarn g:eslint",
"lint:fix": "yarn g:run-p -c \"lint:eslint --fix\" \"lint:prettier --write\"",
"lint:prettier": "yarn g:prettier --check",
"local": "NODE_ENV=development vite",
"start:e2e": "http-server -o e2e",
"tdd": "yarn g:vitest",
"test": "yarn g:run-p -c test:dependencies test:types test:unit",
Expand Down

0 comments on commit 4409650

Please sign in to comment.