|
6 | 6 | "author": "CCW Team", |
7 | 7 | "license": "MIT", |
8 | 8 | "type": "module", |
9 | | - "workspaces": [ |
10 | | - "frontend", |
11 | | - "docs-site" |
12 | | - ], |
13 | 9 | "scripts": { |
14 | | - "dev": "npm run dev --workspace=frontend", |
15 | | - "dev:docs": "npm run start --workspace=docs-site", |
| 10 | + "dev": "cd frontend && npm run dev", |
| 11 | + "dev:docs": "cd docs-site && npm run start", |
16 | 12 | "dev:all": "concurrently \"npm run dev\" \"npm run dev:docs\" --names \"FRONTEND,DOCS\" --prefix-colors \"blue,green\"", |
17 | | - "build": "npm run build --workspace=docs-site && npm run build --workspace=frontend", |
18 | | - "build:frontend": "npm run build --workspace=frontend", |
19 | | - "build:docs": "npm run build --workspace=docs-site", |
20 | | - "clean": "npm run clean --workspace=frontend && npm run clean --workspace=docs-site", |
21 | | - "clean:node_modules": "npm exec --workspaces -- rm -rf node_modules", |
22 | | - "lint": "npm run lint --workspace=frontend", |
23 | | - "lint:fix": "npm run lint:fix --workspace=frontend", |
24 | | - "test": "npm run test --workspace=frontend", |
25 | | - "test:coverage": "npm run test:coverage --workspace=frontend", |
26 | | - "test:e2e": "npm run test:e2e --workspace=frontend", |
27 | | - "validate": "npm run validate:i18n --workspace=frontend", |
28 | | - "serve": "npm run serve --workspace=docs-site", |
29 | | - "preview": "npm run preview --workspace=frontend" |
| 13 | + "build": "cd docs-site && npm run build && cd ../frontend && npm run build", |
| 14 | + "build:frontend": "cd frontend && npm run build", |
| 15 | + "build:docs": "cd docs-site && npm run build", |
| 16 | + "lint": "cd frontend && npm run lint", |
| 17 | + "lint:fix": "cd frontend && npm run lint:fix", |
| 18 | + "test": "cd frontend && npm run test", |
| 19 | + "test:coverage": "cd frontend && npm run test:coverage", |
| 20 | + "test:e2e": "cd frontend && npm run test:e2e", |
| 21 | + "validate": "cd frontend && npm run validate:i18n", |
| 22 | + "serve": "cd docs-site && npm run serve", |
| 23 | + "preview": "cd frontend && npm run preview" |
30 | 24 | }, |
31 | 25 | "devDependencies": { |
32 | 26 | "concurrently": "^9.1.2" |
|
0 commit comments