74 lines
4.0 KiB
JSON
74 lines
4.0 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:test",
|
|
"translate": "localize-translate -r \"dist/\" -s \"**/*\" -l \"en-US\" -t \"src/locales/messages.*\" -o \"../tmp/translations/{{LOCALE}}\"",
|
|
|
|
"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:test": "yarn translated:legacy:extract-and-update && ng build --configuration=translated-legacy && yarn translated:legacy:translate && yarn translated:legacy:e2e",
|
|
"translated:legacy:extract-and-update": "ng xi18n && 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:translate": "localize-translate -r \"dist/\" -s \"**/*\" -t \"../tmp/legacy-locales/messages.legacy.xlf\" -o \"../tmp/translations/{{LOCALE}}\"",
|
|
"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\""
|
|
},
|
|
"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-next.12",
|
|
"@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"
|
|
}
|
|
}
|