Skip to content

Commit

Permalink
fix: workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Guillemin committed Jun 2, 2023
1 parent c9cefc4 commit f9d5eb0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"initialize": "yarn && cp api/.env.example api/.env",
"clean": "find . -name node_modules -type d -prune -o -name cache -type d -o -name dist -type d | xargs rm -rf",
"dev": "concurrently -n WS,API,Client \"yarn start:ws\" \"yarn dev:api\" \"yarn dev:client\"",
"dev:api": "yarn workspace api dev",
"dev:client": "yarn workspace client dev",
"dev:api": "yarn workspace @gip-recia/tldraw-api dev",
"dev:client": "yarn workspace @gip-recia/tldraw-webcomponent dev",
"build": "rm -rf dist && yarn build:api && yarn build:client && mkdir dist && mv api/dist dist/api && mv client/dist dist/client",
"build:api": "yarn workspace api build",
"build:client": "yarn workspace client build",
"build:api": "yarn workspace @gip-recia/tldraw-api build",
"build:client": "yarn workspace @gip-recia/tldraw-webcomponent build",
"start:ws": "HOST=localhost PORT=1234 node ./node_modules/y-websocket/bin/server.js",
"start:api": "yarn workspace api start",
"start:client": "yarn workspace client preview"
"start:api": "yarn workspace @gip-recia/tldraw-api start",
"start:client": "yarn workspace @gip-recia/tldraw-webcomponent preview"
},
"devDependencies": {
"concurrently": "^8.1.0",
Expand Down

0 comments on commit f9d5eb0

Please sign in to comment.