72 lines
4.7 KiB
JSON
72 lines
4.7 KiB
JSON
{
|
|
"name": "cli-hello-world-ivy-compat",
|
|
"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 test && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production && yarn translated:test && yarn translated:legacy-xlf:test && yarn translated:legacy-xmb:test",
|
|
"translate": "localize-translate -r \"dist/\" -s \"**/*\" -l \"en-US\" -t \"src/locales/messages.de.json\" \"src/locales/messages.fr.json\" -o \"../tmp/translations/{{LOCALE}}\"",
|
|
"runtime:test": "yarn e2e --configuration=runtime-translations",
|
|
"translated:test": "yarn build && yarn translate && yarn translated:fr:e2e && yarn translated:de:e2e && yarn translated:en:e2e",
|
|
"translated:fr:serve": "serve ../tmp/translations/fr --listen 4200",
|
|
"translated:fr:e2e": "npm-run-all -p -r translated:fr:serve \"ng e2e --configuration=translated-fr\"",
|
|
"translated:de:serve": "serve ../tmp/translations/de --listen 4200",
|
|
"translated:de:e2e": "npm-run-all -p -r translated:de:serve \"ng e2e --configuration=translated-de\"",
|
|
"translated:en:serve": "serve ../tmp/translations/en-US --listen 4200",
|
|
"translated:en:e2e": "npm-run-all -p -r translated:en:serve \"ng e2e --configuration=translated-en\"",
|
|
"translated:legacy:serve": "serve ../tmp/translations/legacy --listen 4200",
|
|
"translated:legacy:e2e": "npm-run-all -p -r translated:legacy:serve \"ng e2e --configuration=translated-legacy\"",
|
|
"translated:legacy:translate": "localize-translate -r \"dist/\" -s \"**/*\" -o \"../tmp/translations/{{LOCALE}}\"",
|
|
"translated:legacy-xlf:test": "yarn ng xi18n && yarn translated:legacy-xlf:update-translations && yarn ng build --configuration=translated-legacy && yarn translated:legacy:translate -t \"../tmp/legacy-locales/messages.legacy.xlf\" && yarn translated:legacy:e2e",
|
|
"translated:legacy-xlf:update-translations": "sed -i.bak -e 's/source>/target>'/ -e 's/Hello/Bonjour/' -e 's/source-language=\"en-US\"/source-language=\"en-US\" target-language=\"legacy\"/' ../tmp/legacy-locales/messages.legacy.xlf",
|
|
"translated:legacy-xmb:test": "yarn ng xi18n --format=xmb --outFile=messages.legacy.xmb && yarn translated:legacy-xmb:update-translations && yarn ng build --configuration=translated-legacy-xmb && yarn translated:legacy:translate -t \"../tmp/legacy-locales/messages.legacy.xtb\" && yarn translated:legacy:e2e",
|
|
"translated:legacy-xmb:update-translations": "sed -e 's/messagebundle/translationbundle/' -e 's/<translationbundle>/<translationbundle lang=\"legacy\">/' -e 's/msg/translation/' -e 's/Hello/Bonjour/' -e 's/<source>.*<\\/source>//' ../tmp/legacy-locales/messages.legacy.xmb > ../tmp/legacy-locales/messages.legacy.xtb"
|
|
},
|
|
"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",
|
|
"rxjs": "file:../../node_modules/rxjs",
|
|
"tslib": "file:../../node_modules/tslib",
|
|
"zone.js": "file:../../dist/zone.js-dist/zone.js"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "0.900.0-rc.3",
|
|
"@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.4",
|
|
"@types/jasminewd2": "2.0.8",
|
|
"@types/node": "file:../../node_modules/@types/node",
|
|
"codelyzer": "5.2.0",
|
|
"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",
|
|
"npm-run-all": "4.1.5",
|
|
"protractor": "file:../../node_modules/protractor",
|
|
"serve": "11.2.0",
|
|
"ts-node": "8.3.0",
|
|
"tslint": "5.18.0",
|
|
"typescript": "file:../../node_modules/typescript"
|
|
}
|
|
}
|