|
80 | 80 | "name": "upswyng", |
81 | 81 | "private": true, |
82 | 82 | "scripts": { |
83 | | - "build:local-packages": "yarn workspace @upswyng/types build && yarn workspace @upswyng/common build", |
84 | | - "build:server": "yarn build:local-packages && yarn workspace @upswyng/server build", |
85 | | - "build:web": "yarn build:local-packages && yarn workspace @upswyng/web build", |
| 83 | + "build:local-packages": "yarn types build && yarn common build", |
| 84 | + "build:server": "yarn build:local-packages && yarn server build", |
| 85 | + "build:web": "yarn build:local-packages && yarn web build", |
86 | 86 | "build:local-db": "docker compose up --build -d && mongorestore --port 27018 --username upswyng-dev-user --password upswyng123 -d upswyng-dev ./packages/server/localdb/mongodump", |
87 | 87 | "clean": "node clean.js", |
| 88 | + "common": "yarn workspace @upswyng/common", |
88 | 89 | "reset": "node clean.js --reset && docker compose down -v", |
89 | 90 | "heroku-postbuild": "yarn build:web && yarn build:server", |
90 | 91 | "lint": "tsc --noEmit && eslint \"packages/**/src/**/*.{js,jsx,ts,tsx}\" --fix", |
91 | 92 | "lint:ci": "tsc --noEmit && eslint \"packages/**/src/**/*.{js,jsx,ts,tsx}\" --quiet", |
92 | | - "test": "concurrently -n common,server -c yellow,blue \"yarn workspace @upswyng/common test:unit\" \"yarn workspace @upswyng/server test\" && yarn workspace @upswyng/web test", |
93 | | - "test:ci": "concurrently -n common,server -c yellow,blue \"yarn workspace @upswyng/common test:unit\" \"yarn workspace @upswyng/server test\" --kill-others-on-fail && yarn workspace @upswyng/web test", |
94 | | - "start:local": "./start_local.sh" |
| 93 | + "test": "concurrently -n common,server -c yellow,blue \"yarn common test:unit\" \"yarn server test\" && yarn web test", |
| 94 | + "test:ci": "concurrently -n common,server -c yellow,blue \"yarn common test:unit\" \"yarn server test\" --kill-others-on-fail && yarn web test", |
| 95 | + "start:local": "./start_local.sh", |
| 96 | + "server": "yarn workspace @upswyng/server", |
| 97 | + "types": "yarn workspace @upswyng/types", |
| 98 | + "web": "yarn workspace @upswyng/web" |
95 | 99 | }, |
96 | 100 | "version": "0.1.0", |
97 | 101 | "workspaces": [ |
|
0 commit comments