Skip to content

Commit 5358aae

Browse files
committed
update package json scripts
1 parent f8ea2d2 commit 5358aae

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"ng": "node --max_old_space_size=16000 ./node_modules/@angular/cli/bin/nx",
77
"//--------------- CODELAB ---------------------": "",
88
"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",
1111
"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",
1515
"build:ru": "ng build codelab --configuration ru",
1616
"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",
1818
"pre-deploy": "npm run build:prod && npm run build:ru && npm run build:30s",
1919
"deploy": "npm run pre-deploy && firebase deploy --only hosting:codelab",
2020
"//--------------- KIRJS ---------------------": "",
@@ -23,13 +23,13 @@
2323
"serve:kirjs:ru": "ng serve kirjs --configuration ru",
2424
"build:kirjs:ru": "ng build kirjs --configuration ru",
2525
"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",
2727
"//--------------- Playground ---------------------": "",
2828
"deploy:playground": "ng build playground --configuration production && firebase deploy --only hosting:angular-ivy",
2929
"serve:playground": "ng serve playground",
3030
"build:playground": "ng build playground --configuration production",
3131
"//--------------- 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",
3333
"serve:30s": "ng serve angular-thirty-seconds",
3434
"//--------------- NX ---------------------": "",
3535
"affected:build": "ng affected --target=build --parallel=3",

0 commit comments

Comments
 (0)