Files
alfresco-content-app/package.json
Denys Vuika 3a8dbcd7a4 upgrade to Angular 7 (#758)
* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* one more try to fix e2e snackbar issues

* yet another try

* only wait in some tests

* diable animations, extra e2e app configuration

* update tomcat e2e script

* fix prod build memory use

* use another type of wait

* disable check

to be investigated separately
2018-10-31 17:53:36 +02:00

107 lines
4.5 KiB
JSON

{
"name": "alfresco-content-app",
"version": "1.5.0",
"license": "LGPL-3.0",
"scripts": {
"ng": "ng",
"start": "npm run server-versions && ng serve --open",
"start:prod": "npm run server-versions && ng serve --prod --open",
"build": "npm run server-versions && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app --prod",
"build:dev": "npm run server-versions && ng build",
"build.e2e": "npm run server-versions && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app --configuration=e2e",
"test": "ng test app --code-coverage",
"test:ci": "ng test app --code-coverage --watch=false",
"lint": "ng lint",
"server-versions": "rimraf ./src/versions.json && npm list --depth=0 --json=true --prod=true > ./src/versions.json || exit 0",
"wd:update": "webdriver-manager update --gecko=false",
"e2e": "npm run wd:update && protractor --baseUrl=http://localhost:4000",
"e2e.local": "npm run wd:update && protractor --baseUrl=http://localhost:4200",
"start:docker": "docker-compose up -d --build && wait-on http://localhost:8080 && wait-on http://localhost:4000",
"stop:docker": "docker-compose stop",
"e2e:docker": "npm run start:docker && npm run e2e && npm run stop:docker",
"spellcheck": "cspell 'src/**/*.ts' 'e2e/**/*.ts' 'projects/**/*.ts'",
"inspect.bundle": "ng build app --prod --stats-json && npx webpack-bundle-analyzer dist/app/stats.json",
"format:check": "prettier --list-different \"src/{app,environments}/**/*{.ts,.js,.css,.scss}\"",
"build.tomcat": "npm run build -- --base-href ./ && jar -cvf docker/tomcat/artifacts/content-app.war -C dist/app/ .",
"build.tomcat.e2e": "./build-tomcat-e2e.sh",
"e2e.tomcat": "npm run wd:update && protractor --baseUrl=http://localhost:4000/content-app/",
"docker.tomcat.start": "cd docker/tomcat && docker-compose up -d --build && wait-on http://localhost:8080 && wait-on http://localhost:4000",
"docker.tomcat.stop": "cd docker/tomcat && docker-compose stop",
"docker.tomcat.e2e": "npm run docker.tomcat.start && npm run e2e.tomcat"
},
"private": true,
"dependencies": {
"@alfresco/adf-content-services": "2.6.0",
"@alfresco/adf-core": "2.6.0",
"@alfresco/adf-extensions": "2.6.0",
"@angular/animations": "7.0.1",
"@angular/cdk": "^7.0.1",
"@angular/common": "7.0.1",
"@angular/compiler": "7.0.1",
"@angular/core": "7.0.1",
"@angular/flex-layout": "^7.0.0-beta.19",
"@angular/forms": "7.0.1",
"@angular/http": "7.0.1",
"@angular/material": "^7.0.1",
"@angular/material-moment-adapter": "^7.0.1",
"@angular/platform-browser": "7.0.1",
"@angular/platform-browser-dynamic": "7.0.1",
"@angular/router": "7.0.1",
"@denysvuika/aca-dev-tools": "^0.1.5",
"@mat-datetimepicker/core": "^2.0.1",
"@mat-datetimepicker/moment": "^2.0.1",
"@ngrx/effects": "^6.1.0",
"@ngrx/router-store": "^6.1.0",
"@ngrx/store": "^6.1.0",
"@ngrx/store-devtools": "^6.1.0",
"@ngx-translate/core": "^10.0.2",
"alfresco-js-api": "2.6.0",
"core-js": "^2.5.7",
"hammerjs": "2.0.8",
"minimatch-browser": "^1.0.0",
"moment": "^2.22.2",
"moment-es6": "1.0.0",
"pdfjs-dist": "^2.0.489",
"rxjs": "^6.3.3",
"zone.js": "0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.10.0",
"@angular-devkit/build-ng-packagr": "~0.10.3",
"@angular/cli": "^7.0.3",
"@angular/compiler-cli": "7.0.1",
"@angular/language-service": "7.0.1",
"@types/jasmine": "^2.5.53",
"@types/jasminewd2": "^2.0.2",
"@types/node": "9.3.0",
"@types/selenium-webdriver": "^3.0.8",
"alfresco-js-api-node": "^2.6.0",
"chrome-remote-interface": "^0.26.1",
"codelyzer": "^4.4.4",
"cspell": "^3.1.3",
"jasmine-core": "~2.8.0",
"jasmine-reporters": "^2.2.1",
"jasmine-spec-reporter": "~4.2.1",
"jasmine2-protractor-utils": "^1.3.0",
"jasminewd2": "^2.2.0",
"karma": "^3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^4.4.0",
"prettier": "^1.14.2",
"protractor": "^5.4.0",
"rimraf": "2.6.2",
"rxjs-tslint-rules": "^4.8.0",
"selenium-webdriver": "4.0.0-alpha.1",
"ts-node": "~4.1.0",
"tsickle": "0.33.1",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"typescript": "^3.1.3",
"wait-on": "^3.0.1"
}
}