|
6 | 6 | "ng": "node --max_old_space_size=16000 ./node_modules/@angular/cli/bin/nx",
|
7 | 7 | "//--------------- CODELAB ---------------------": "",
|
8 | 8 | "start": "ng serve codelab",
|
9 |
| - "build": "ng build", |
10 |
| - "build:prod": "ng build --configuration production", |
| 9 | + "build": "ng build codelab", |
| 10 | + "build:prod": "ng build codelab --configuration production", |
11 | 11 | "build:bundler": "ts-node -P libs/code-demos/assets/runner/tsconfig.json libs/code-demos/assets/runner/ng-dts/bundler.ts && node libs/code-demos/assets/runner/ng2/ng2-runner.js",
|
12 |
| - "test": "ng test", |
13 |
| - "lint": "ng lint", |
14 |
| - "i18n": "ng xi18n codelab --i18n-format xmb --output-path src/locale", |
| 12 | + "test": "ng test codelab", |
| 13 | + "lint": "ng lint codelab", |
| 14 | + "i18n": "ng extract-i18n codelab --format xmb --output-path src/locale", |
15 | 15 | "build:ru": "ng build codelab --configuration ru",
|
16 | 16 | "deploy:next": "npm run build:prod && npm run build:ru && npm run build:30s && firebase deploy --only hosting:codelab-next",
|
17 |
| - "serve:ru": "npm run ng -- serve --configuration ru", |
| 17 | + "serve:ru": "ng serve codelab --configuration ru", |
18 | 18 | "pre-deploy": "npm run build:prod && npm run build:ru && npm run build:30s",
|
19 | 19 | "deploy": "npm run pre-deploy && firebase deploy --only hosting:codelab",
|
20 | 20 | "//--------------- KIRJS ---------------------": "",
|
|
23 | 23 | "serve:kirjs:ru": "ng serve kirjs --configuration ru",
|
24 | 24 | "build:kirjs:ru": "ng build kirjs --configuration ru",
|
25 | 25 | "build:kirjs": "ng build kirjs --configuration production",
|
26 |
| - "xi18n:kirjs": "ng xi18n kirjs --i18n-format xmb --output-path src/locale", |
| 26 | + "xi18n:kirjs": "ng extract-i18n kirjs --format xmb --output-path src/locale", |
27 | 27 | "//--------------- Playground ---------------------": "",
|
28 | 28 | "deploy:playground": "ng build playground --configuration production && firebase deploy --only hosting:angular-ivy",
|
29 | 29 | "serve:playground": "ng serve playground",
|
30 | 30 | "build:playground": "ng build playground --configuration production",
|
31 | 31 | "//--------------- 30s OF ANGULAR -------------------": "",
|
32 |
| - "build:30s": "npm run ng build angular-thirty-seconds --configuration production", |
| 32 | + "build:30s": "ng build angular-thirty-seconds --configuration production", |
33 | 33 | "serve:30s": "ng serve angular-thirty-seconds",
|
34 | 34 | "//--------------- NX ---------------------": "",
|
35 | 35 | "affected:build": "ng affected --target=build --parallel=3",
|
|
0 commit comments