mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 23:29:33 +00:00
chore: add watch script for all projects (#20068)
This commit is contained in:
parent
4dbfc9c022
commit
cb00a17994
@ -33,6 +33,7 @@
|
|||||||
"build": "nx run-many --target=build --nx-ignore-cycles",
|
"build": "nx run-many --target=build --nx-ignore-cycles",
|
||||||
"build:size": "cd examples/getstarted && yarn build",
|
"build:size": "cd examples/getstarted && yarn build",
|
||||||
"build:ts": "nx run-many --target=build:ts --nx-ignore-cycles",
|
"build:ts": "nx run-many --target=build:ts --nx-ignore-cycles",
|
||||||
|
"build:watch": "nx watch --all --nx-ignore-cycles -- nx run \\$NX_PROJECT_NAME:build --nx-ignore-cycles",
|
||||||
"clean": "nx run-many --target=clean --nx-ignore-cycles",
|
"clean": "nx run-many --target=clean --nx-ignore-cycles",
|
||||||
"doc:api": "node scripts/open-api/serve.js",
|
"doc:api": "node scripts/open-api/serve.js",
|
||||||
"format": "yarn format:code && yarn format:other",
|
"format": "yarn format:code && yarn format:other",
|
||||||
@ -68,8 +69,7 @@
|
|||||||
"test:ts:packages": "nx run-many --target=test:ts --nx-ignore-cycles",
|
"test:ts:packages": "nx run-many --target=test:ts --nx-ignore-cycles",
|
||||||
"test:unit": "jest --config jest.config.js",
|
"test:unit": "jest --config jest.config.js",
|
||||||
"test:unit:all": "nx run-many --target=test:unit --nx-ignore-cycles",
|
"test:unit:all": "nx run-many --target=test:unit --nx-ignore-cycles",
|
||||||
"test:unit:watch": "run test:unit --watch",
|
"test:unit:watch": "run test:unit --watch"
|
||||||
"watch": "nx run-many --target=watch --nx-ignore-cycles"
|
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@strapi/design-system": "1.17.0-typescript.0",
|
"@strapi/design-system": "1.17.0-typescript.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user