mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
45 lines
2.2 KiB
JSON
45 lines
2.2 KiB
JSON
{
|
|
"name": "cli-hello-world-ivy-i18n",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "ng build --configuration production",
|
|
"e2e": "ng e2e --port 0",
|
|
"lint": "ng lint",
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"pretest": "ng version",
|
|
"test": "ng e2e --port 0 --configuration production && ng extract-i18n && yarn translate && ng e2e --port 0 --configuration fr && ng e2e --port 0 --configuration de",
|
|
"translate": "cp src/locale/messages.xlf src/locale/messages.fr.xlf && cp src/locale/messages.xlf src/locale/messages.de.xlf && sed -i.bak -e 's/source>/target>/g' -e 's/Hello/Bonjour/' src/locale/messages.fr.xlf && sed -i.bak -e 's/source>/target>/g' -e 's/Hello/Hallo/' src/locale/messages.de.xlf",
|
|
"serve": "serve --no-clipboard --listen 4200"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/common": "file:../../dist/packages-dist/common",
|
|
"@angular/compiler": "file:../../dist/packages-dist/compiler",
|
|
"@angular/core": "file:../../dist/packages-dist/core",
|
|
"@angular/forms": "file:../../dist/packages-dist/forms",
|
|
"@angular/localize": "file:../../dist/packages-dist/localize",
|
|
"@angular/platform-browser": "file:../../dist/packages-dist/platform-browser",
|
|
"@angular/router": "file:../../dist/packages-dist/router",
|
|
"rxjs": "file:../../node_modules/rxjs",
|
|
"tslib": "file:../../node_modules/tslib",
|
|
"zone.js": "file:../../node_modules/zone.js"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "file:../../node_modules/@angular-devkit/build-angular",
|
|
"@angular/build": "file:../../node_modules/@angular/build",
|
|
"@angular/cli": "file:../../node_modules/@angular/cli",
|
|
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
|
"@types/jasmine": "file:../../node_modules/@types/jasmine",
|
|
"@types/jasminewd2": "file:../../node_modules/@types/jasminewd2",
|
|
"@types/node": "file:../../node_modules/@types/node",
|
|
"jasmine-core": "3.5.0",
|
|
"jasmine-spec-reporter": "4.2.1",
|
|
"npm-run-all": "4.1.5",
|
|
"protractor": "file:../../node_modules/protractor",
|
|
"serve": "11.2.0",
|
|
"ts-node": "8.3.0",
|
|
"typescript": "file:../../node_modules/typescript"
|
|
}
|
|
}
|