{ "name": "alfresco-content-app", "version": "1.10.1", "license": "LGPL-3.0", "scripts": { "ng": "ng", "start": "npm run validate-config && npm run build.extensions && ng serve --open", "start:prod": "npm run validate-config && node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng serve --prod --open", "build:aos-extension": "npx rimraf dist/@alfresco/adf-office-services-ext && ng build adf-office-services-ext && cpr projects/adf-office-services-ext/ngi.json dist/@alfresco/adf-office-services-ext/ngi.json && cpr projects/adf-office-services-ext/assets dist/@alfresco/adf-office-services-ext/assets", "build.shared": "ng build aca-shared", "build.aos": "npm run build:aos-extension", "build.extensions": "npm run build.shared && npm run build.aos", "build.app": "node --max-old-space-size=8192 node_modules/@angular/cli/bin/ng build app", "build": "npm run validate-config && npm run build.extensions && npm run build.app -- --prod", "build.js-api": "./scripts/install-local-js-api.sh && npm run build", "build.adf": "./scripts/install-local-adf.sh && npm run build.extensions && npm run build.app", "build.e2e": "npm run build.extensions && npm run build.app -- --prod --configuration=e2e", "test": "ng test app --code-coverage", "test:ci": "npm run build.extensions && ng test adf-office-services-ext --watch=false && ng test app --code-coverage --watch=false", "lint": "ng lint && npm run spellcheck && npm run format:check && npm run e2e.typecheck", "wd:update": "webdriver-manager update --gecko=false $VERSION_CHROME", "e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json", "e2e": "npm run wd:update && protractor --baseUrl=${TEST_BASE_URL:-http://localhost:8080/content-app} $SUITE", "e2e.local": "npm run wd:update && protractor --baseUrl=http://localhost:4200 $SUITE", "wait:app": "wait-on http://${HOST_IP:-localhost}:${HOST_PORT:-8080}/alfresco/ -t 1000000 && wait-on http://${HOST_IP:-localhost}:${HOST_PORT:-8080}/content-app/ -t 400000", "start:docker": "./start.sh", "stop:docker": "./start.sh -d", "e2e:docker": "./start.sh && npm run e2e && ./start.sh -d", "spellcheck": "cspell '{src,e2e,projects}/**/*.ts'", "inspect.bundle": "ng build app --prod --stats-json && npx webpack-bundle-analyzer dist/app/stats.json", "format:check": "prettier --check \"src/{app,environments}/**/*.{ts,js,css,scss,html}\"", "format:fix": "prettier --write \"src/{app,environments}/**/*.{ts,js,css,scss,html}\"", "build.tomcat": "npm run validate-config && npm run build.extensions && npm run build.app -- --prod --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:8080/content-app/ $SUITE", "docker.tomcat.start": "cd docker/tomcat && docker-compose up -d --build && npm run wait:app", "docker.tomcat.stop": "cd docker/tomcat && docker-compose stop", "docker.tomcat.e2e": "npm run docker.tomcat.start && npm run e2e.tomcat", "validate-config": "ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d ./src/app.config.json --errors=text --verbose" }, "private": true, "dependencies": { "@alfresco/adf-content-services": "3.7.0", "@alfresco/adf-core": "3.7.0", "@alfresco/adf-extensions": "3.7.0", "@alfresco/js-api": "3.7.0", "@angular/animations": "7.2.15", "@angular/cdk": "^7.3.7", "@angular/common": "7.2.15", "@angular/compiler": "7.2.15", "@angular/core": "7.2.15", "@angular/flex-layout": "^7.0.0-beta.24", "@angular/forms": "7.2.15", "@angular/http": "7.2.15", "@angular/material": "^7.3.7", "@angular/material-moment-adapter": "^7.3.7", "@angular/platform-browser": "7.2.15", "@angular/platform-browser-dynamic": "7.2.15", "@angular/router": "7.2.15", "@mat-datetimepicker/core": "^3.0.0-beta.0", "@mat-datetimepicker/moment": "^3.0.0-beta.0", "@ngrx/effects": "^7.4.0", "@ngrx/router-store": "^7.4.0", "@ngrx/store": "^7.4.0", "@ngrx/store-devtools": "^7.4.0", "@ngx-translate/core": "^11.0.1", "core-js": "^2.5.7", "hammerjs": "2.0.8", "minimatch-browser": "^1.0.0", "moment": "^2.24.0", "moment-es6": "1.0.0", "pdfjs-dist": "2.3.200", "rxjs": "^6.5.2", "zone.js": "0.8.29" }, "devDependencies": { "@angular-devkit/build-angular": "~0.13.9", "@angular-devkit/build-ng-packagr": "~0.13.0", "@angular/cli": "^7.3.9", "@angular/compiler-cli": "7.2.15", "@angular/language-service": "7.2.15", "@types/jasmine": "^2.5.53", "@types/jasminewd2": "^2.0.2", "@types/node": "9.3.0", "@types/selenium-webdriver": "^3.0.8", "ajv-cli": "^3.0.0", "adf-tslint-rules": "0.0.7", "chrome-remote-interface": "^0.26.1", "codelyzer": "^4.5.0", "cpr": "^3.0.1", "cspell": "^3.2.17", "husky": "^2.4.0", "jasmine-core": "~2.8.0", "jasmine-reporters": "^2.2.1", "jasmine-spec-reporter": "~4.2.1", "jasminewd2": "^2.2.0", "karma": "^4.0.1", "karma-chrome-launcher": "~2.2.0", "karma-cli": "~1.0.1", "karma-coverage-istanbul-reporter": "^2.0.4", "karma-jasmine": "~1.1.0", "karma-jasmine-html-reporter": "^0.2.2", "lint-staged": "^8.2.0", "ng-packagr": "^4.7.1", "node-sass": "4.13.0", "node-stream-zip": "1.8.0", "prettier": "^1.17.1", "protractor": "5.4.2", "protractor-screenshoter-plugin": "0.10.3", "puppeteer": "^2.1.0", "rxjs-tslint-rules": "^4.19.0", "selenium-webdriver": "4.0.0-alpha.1", "ts-node": "^8.0.3", "tsickle": "0.34.0", "tslib": "^1.9.0", "tslint": "~5.11.0", "typescript": "3.2.4", "wait-on": "^3.0.1", "webdriver-manager": "12.1.7" }, "lint-staged": { "*.{ts,js,css,scss,html}": [ "prettier --single-quote --write", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }