Add build all script
This commit is contained in:
parent
368b0b419b
commit
067a3ff369
|
@ -12,13 +12,7 @@ Includes:
|
||||||
## Jumpstart
|
## Jumpstart
|
||||||
|
|
||||||
1. Install dependencies: `yarn`
|
1. Install dependencies: `yarn`
|
||||||
2. Build everything
|
2. Build everything: `yarn build`
|
||||||
```
|
|
||||||
yarn workspace @msagent-chat/msagent.js build
|
|
||||||
yarn workspace @msagent-chat/protocol build
|
|
||||||
yarn workspace @msagent-chat/webapp build
|
|
||||||
yarn workspace @msagent-chat/server build
|
|
||||||
```
|
|
||||||
3. Copy `server/config.example.toml` to `server/config.toml` and fill out the relevant fields.
|
3. Copy `server/config.example.toml` to `server/config.toml` and fill out the relevant fields.
|
||||||
4. Run the server: `yarn workspace @msagent-chat/server serve`
|
4. Run the server: `yarn workspace @msagent-chat/server serve`
|
||||||
5. - Run the webapp on the development webserver: `yarn workspace @msagent-chat/webapp serve`; OR
|
5. - Run the webapp on the development webserver: `yarn workspace @msagent-chat/webapp serve`; OR
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
"msagent.js"
|
"msagent.js"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write **/*.{ts,html,scss}"
|
"format": "prettier --write **/*.{ts,html,scss}",
|
||||||
|
"build": "yarn workspaces foreach -p -A run build"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.2.2",
|
"packageManager": "yarn@4.2.2",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
Loading…
Reference in a new issue