Newer
Older
"pki": {
"path": "../../dev-deployment/environments/certs/server/hosts/localhost",
"asset": "reverse"
},
"scripts": {
"ng": "ng",
"ng-high-memory": "node --max_old_space_size=4000 ./node_modules/@angular/cli/bin/ng",
"start": "ng serve --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
"start:en": "ng serve --proxy-config proxy.conf.json --configuration=en --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
"start:demo": "ng serve demo --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
"start:portal": "ng serve portal --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
"start:identity": "ng serve identity --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
"start:referential": "ng serve referential --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
"start:ingest": "ng serve ingest --proxy-config proxy.conf.json --disable-host-check --ssl --ssl-key $npm_package_pki_path/$npm_package_pki_asset.key --ssl-cert $npm_package_pki_path/$npm_package_pki_asset.crt",
"build": "ng build --prod --i18n-locale fr --build-optimizer=false --optimization=false",
"build:prod": "export NODE_OPTIONS=--max_old_space_size=4096; ng build --prod --i18n-locale fr --output-path ../../../target/www",
"build:dev": "ng build --prod --i18n-locale fr --build-optimizer=false --optimization=false",
"build:fr": "ng build --prod --i18n-locale fr --output-path ../../../target/www/fr",
"build:en": "ng build --prod --i18n-file src/locale/messages.en.xlf --i18n-format xlf --i18n-locale en --output-path ../../../target/www/en",
"build:all": "npm run build:fr && npm run build:en",
"build:demo": "ng build demo --prod --i18n-locale fr",
Ludovic BLANCHET
committed
"build:portal": "export NODE_OPTIONS=--max_old_space_size=4096; ng build portal --prod",
"build:identity": "export NODE_OPTIONS=--max_old_space_size=4096; ng build identity --prod --i18n-locale fr",
"build:ingest": "export NODE_OPTIONS=--max_old_space_size=4096; ng build ingest --prod --i18n-locale fr",
"build:referential": "export NODE_OPTIONS=--max_old_space_size=4096; ng build referential --prod --i18n-locale fr",
Ludovic BLANCHET
committed
"analyze-portal": "ng build portal --stats-json --prod ; webpack-bundle-analyzer dist/portal/stats-es2015.json",
"analyze-identity": "ng build identity --stats-json --prod --i18n-locale fr ; webpack-bundle-analyzer dist/identity/stats-es2015.json",
"analyze-referential": "ng build referential --stats-json --prod --i18n-locale fr ; webpack-bundle-analyzer dist/referential/stats-es2015.json",
"analyze-ingest": "ng build ingest --stats-json --prod --i18n-locale fr ; webpack-bundle-analyzer dist/ingest/stats-es2015.json",
"test": "ng test --watch=false",
"test:demo": "ng test demo --watch=false",
"test:portal": "ng test portal --watch=false",
"test:identity": "ng test identity --watch=false",
"test:ingest": "ng test ingest --watch=false",
"test:referential": "ng test referential --watch=false",
"test:vitamui-library": "ng test vitamui-library --watch=false",
"test:conf-ci": "ng test --watch=false --karma-config=karma.conf.ci.js",
"test:sonar": "ng test --code-coverage --watch=false",
"lint": "ng lint --format=stylish",
"lint:demo": "ng lint demo --format=stylish",
"lint:identity": "ng lint identity --format=stylish",
"lint:ingest": "ng lint ingest --format=stylish",
"lint:portal": "ng lint portal --format=stylish",
"e2e": "ng e2e",
"i18n-extract": "ng xi18n --outputPath=locale --i18n-locale=fr",
"i18n-merge": "xliffmerge --profile xliffmerge.json fr en",
"i18n:identity": "ng xi18n identity --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/identity/xliffmerge.json fr en",
"i18n:ingest": "ng xi18n ingest --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/ingest/xliffmerge.json fr en",
"i18n:referential": "ng xi18n referential --outputPath=src/locale --i18n-locale=fr && xliffmerge --profile projects/referential/xliffmerge.json fr en",
"check:demo": "npm run lint:demo && npm run build:demo",
"check:portal": "npm run lint:portal && npm run test:portal && npm run build:portal",
"check:identity": "npm run lint:identity && npm run test:identity && npm run build:identity",
Ludovic BLANCHET
committed
"extract-translations": "ngx-translate-extract --input ./projects/portal/src --output ./projects/portal/src/assets/i18n/*.json --sort --format namespaced-json --key-as-default-value",
"check:referential": "npm run lint:referential && npm run test:referential && npm run build:referential",
"copy-scss:vitamui-library": "cp-cli ./projects/vitamui-library/src/sass ./dist/sass",
"build:vitamui-library": "ng build vitamui-library",
"watch:vitamui-library": "ng build vitamui-library --watch"
"@angular/animations": "8.2.14",
"@angular/cdk": "^8.2.3",
"@angular/common": "8.2.14",
"@angular/compiler": "8.2.14",
"@angular/core": "8.2.14",
"@angular/forms": "8.2.14",
"@angular/material": "^8.2.3",
"@angular/platform-browser": "8.2.14",
"@angular/platform-browser-dynamic": "8.2.14",
"@angular/service-worker": "8.2.14",
Ludovic BLANCHET
committed
"@ngx-translate/core": "^12.1.2",
"@ngx-translate/http-loader": "^6.0.0",
Ludovic BLANCHET
committed
"flag-icon-css": "^3.5.0",
Ludovic BLANCHET
committed
"lodash": "^4.17.15",
Ludovic BLANCHET
committed
"ngx-translate-multi-http-loader": "^3.0.0",
"popper.js": "^1.16.1",
"rxjs": "^6.5.5",
"tslib": "^1.13.0",
"ui-frontend-common": "file:../ui-frontend-common/ui-frontend-common-1.1.0.tgz",
"underscore": "^1.10.2",
"utf-8-validate": "^5.0.2",
"web-animations-js": "^2.3.2",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-builders/custom-webpack": "^8.4.1",
"@angular-devkit/build-ng-packagr": "^0.900.2",
"@angular/cli": "^8.3.26",
"@angular/compiler-cli": "8.2.14",
Ludovic BLANCHET
committed
"@biesbjerg/ngx-translate-extract": "^7.0.2",
Ludovic BLANCHET
committed
"@types/lodash": "^4.14.156",
"moment-locales-webpack-plugin": "^1.2.0",
"codelyzer": "^5.2.2",
"cp-cli": "^2.0.0",
"jasmine-core": "^3.5.0",
"jasmine-marbles": "^0.4.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^5.0.9",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage-istanbul-reporter": "~2.1.1",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.5.4",
"typescript": "~3.5.3",
"webpack-bundle-analyzer": "^3.8.0"