|
5 | 5 | "sideEffects": false,
|
6 | 6 | "private": true,
|
7 | 7 | "scripts": {
|
8 |
| - "start-local": "lerna run --scope '@openmsupply-client/*' --parallel start-local -- --env $1 _", |
9 |
| - "start-remote": "lerna run --scope '@openmsupply-client/*' --parallel start-remote -- --env $1 _", |
| 8 | + "start-local": "lerna run --scope @openmsupply-client/* --parallel start-local -- --env $1 _", |
| 9 | + "start-remote": "lerna run --scope @openmsupply-client/* --parallel start-remote -- --env $1 _", |
10 | 10 | "start": "yarn start-local",
|
11 |
| - "build": "lerna run --scope '@openmsupply-client/*' build", |
12 |
| - "build-stats": "lerna run --scope '@openmsupply-client/*' build-stats", |
13 |
| - "build-plugins": "lerna run --scope '@openmsupply-client/*' build-plugin", |
14 |
| - "serve": "lerna run --scope '@openmsupply-client/*' --parallel serve", |
15 |
| - "clean": "lerna run --scope '@openmsupply-client/*' --parallel clean", |
16 |
| - "compile": "lerna run --scope '@openmsupply-client/*' --parallel tsc --since HEAD -- --noEmit", |
17 |
| - "compile-full": "lerna run --scope '@openmsupply-client/*' --parallel tsc", |
| 11 | + "build": "lerna run --scope @openmsupply-client/* build", |
| 12 | + "build-stats": "lerna run --scope @openmsupply-client/* build-stats", |
| 13 | + "build-plugins": "lerna run --scope @openmsupply-client/* build-plugin", |
| 14 | + "serve": "lerna run --scope @openmsupply-client/* --parallel serve", |
| 15 | + "clean": "lerna run --scope @openmsupply-client/* --parallel clean", |
| 16 | + "compile": "lerna run --scope @openmsupply-client/* --parallel tsc --since HEAD -- --noEmit", |
| 17 | + "compile-full": "lerna run --scope @openmsupply-client/* --parallel tsc", |
18 | 18 | "prepare": "cd .. && husky client/.husky",
|
19 | 19 | "pre-commit-lint": "yarn compile && yarn lint-staged",
|
20 | 20 | "test": "jest --config ./jest.config.js --maxWorkers=50% --env=jsdom",
|
|
24 | 24 | "//": "This command runs graphql-codegen twice, as running once is causing import path errors for shared fragments in the generated files (but running twice resolves them??) See issue here: https://github.com/msupply-foundation/open-msupply/issues/2812",
|
25 | 25 | "generate": "cd ../server && cargo run --bin remote_server_cli -- export-graphql-schema && cd ../client && yarn gql-codegen && yarn gql-codegen",
|
26 | 26 | "android:run": "npx cap run android",
|
27 |
| - "android:build:server": "yarn build && lerna run --scope '@openmsupply-client/android' build:server --stream", |
28 |
| - "android:build:debug": "yarn build && lerna run --scope '@openmsupply-client/android' build:debug --stream", |
29 |
| - "android:build:release": "yarn build && lerna run --scope '@openmsupply-client/android' build:release --stream", |
| 27 | + "android:build:server": "yarn build && lerna run --scope @openmsupply-client/android build:server --stream", |
| 28 | + "android:build:debug": "yarn build && lerna run --scope @openmsupply-client/android build:debug --stream", |
| 29 | + "android:build:release": "yarn build && lerna run --scope @openmsupply-client/android build:release --stream", |
30 | 30 | "electron:start": "lerna run --scope @openmsupply-client/electron start --stream",
|
31 | 31 | "electron:start-local": "ELECTRON_HOST=http://localhost:3003 lerna run --scope @openmsupply-client/electron start --stream",
|
32 | 32 | "electron:build": "lerna run --scope @openmsupply-client/electron make",
|
33 | 33 | "i18n-unused-display": "i18n-unused display-unused",
|
34 | 34 | "i18n-unused-remove": "i18n-unused remove-unused",
|
35 | 35 | "i18n-missing": "i18n-unused display-missed",
|
36 |
| - "eslint": "lerna run --scope '@openmsupply-client/*' --parallel eslint" |
| 36 | + "eslint": "lerna run --scope @openmsupply-client/* --parallel eslint" |
37 | 37 | },
|
38 | 38 | "workspaces": {
|
39 | 39 | "packages": [
|
|
0 commit comments