58 lines
2.8 KiB
JSON
58 lines
2.8 KiB
JSON
|
{
|
||
|
"name": "cli-hello-world-ivy-i18n",
|
||
|
"version": "0.0.0",
|
||
|
"license": "MIT",
|
||
|
"scripts": {
|
||
|
"build": "ng build --prod",
|
||
|
"e2e": "ng e2e",
|
||
|
"lint": "ng lint",
|
||
|
"ng": "ng",
|
||
|
"postinstall": "yarn update-webdriver && ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points",
|
||
|
"update-webdriver": "webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG",
|
||
|
"start": "ng serve",
|
||
|
"pretest": "ng version",
|
||
|
"test": "ng e2e --prod && ng xi18n && yarn translate && ng build --configuration production,fr && ng build --configuration production,de && run-p -r \"serve dist/fr\" \"ng e2e --configuration=fr\" && run-p -r \"serve dist/de\" \"ng e2e --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 --listen 4200"
|
||
|
},
|
||
|
"private": true,
|
||
|
"dependencies": {
|
||
|
"@angular/animations": "file:../../dist/packages-dist/animations",
|
||
|
"@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/platform-browser-dynamic": "file:../../dist/packages-dist/platform-browser-dynamic",
|
||
|
"@angular/router": "file:../../dist/packages-dist/router",
|
||
|
"core-js": "file:../../node_modules/core-js",
|
||
|
"npm-run-all": "^4.1.5",
|
||
|
"rxjs": "file:../../node_modules/rxjs",
|
||
|
"serve": "^11.2.0",
|
||
|
"tslib": "file:../../node_modules/tslib",
|
||
|
"zone.js": "file:../../node_modules/zone.js"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@angular-devkit/build-angular": "^0.900.0-rc.0",
|
||
|
"@angular/cli": "file:../../node_modules/@angular/cli",
|
||
|
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
|
||
|
"@angular/language-service": "file:../../dist/packages-dist/language-service",
|
||
|
"@types/jasmine": "~3.4.0",
|
||
|
"@types/jasminewd2": "~2.0.3",
|
||
|
"@types/node": "file:../../node_modules/@types/node",
|
||
|
"codelyzer": "^5.1.2",
|
||
|
"jasmine-core": "~3.5.0",
|
||
|
"jasmine-spec-reporter": "~4.2.1",
|
||
|
"karma": "~4.3.0",
|
||
|
"karma-chrome-launcher": "~3.1.0",
|
||
|
"karma-coverage-istanbul-reporter": "~2.1.0",
|
||
|
"karma-jasmine": "~2.0.1",
|
||
|
"karma-jasmine-html-reporter": "^1.4.2",
|
||
|
"protractor": "file:../../node_modules/protractor",
|
||
|
"ts-node": "~8.3.0",
|
||
|
"tslint": "~5.18.0",
|
||
|
"typescript": "file:../../node_modules/typescript"
|
||
|
}
|
||
|
}
|