Eugenio Romano fb128c2626
[ACA-3190] Update env from travis ()
* Update env from travis

* update permissions

* install script fix
2020-04-24 14:33:07 +01:00

141 lines
5.8 KiB
JSON

{
"name": "alfresco-content-app",
"version": "1.10.0",
"license": "LGPL-3.0",
"scripts": {
"postinstall": "./scripts/postinstall.sh",
"ng": "ng",
"start": "npm run validate-config && 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.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.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 e2e.typecheck",
"e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json",
"e2e": "protractor --baseUrl=${TEST_BASE_URL:-http://localhost:8080/content-app} $SUITE",
"e2e.local": "protractor --baseUrl=http://localhost:4200 $SUITE",
"wait:app": "wait-on http://${HOST_IP:-localhost}:${HOST_PORT:-8080}/alfresco/ -t 1000000",
"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",
"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": "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.8.0-beta9",
"@alfresco/adf-core": "3.8.0-beta9",
"@alfresco/adf-extensions": "3.8.0-beta9",
"@alfresco/js-api": "3.8.0-beta9",
"@angular-custom-builders/lite-serve": "0.0.2",
"@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/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.1.0",
"@mat-datetimepicker/moment": "3.1.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",
"browser-sync": "^2.26.7",
"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.5",
"tsickle": "0.34.0",
"zone.js": "0.8.29"
},
"devDependencies": {
"@alfresco/adf-testing": "3.8.0-83e362d31a737200bc9251e9505137f198509d2f",
"@angular-devkit/build-angular": "~0.13.9",
"@angular-devkit/build-ng-packagr": "^0.13.10",
"@angular/cli": "^7.3.9",
"@angular/compiler-cli": "7.2.15",
"@angular/language-service": "7.2.15",
"@types/jasmine": "3.5.10",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^13.11.0",
"@types/selenium-webdriver": "^4.0.9",
"adf-tslint-rules": "0.0.7",
"ajv-cli": "^3.1.0",
"chrome-remote-interface": "^0.26.1",
"codelyzer": "^5.2.2",
"commander": "^5.0.0",
"cpr": "^3.0.1",
"cspell": "^4.0.55",
"dotenv": "^8.2.0",
"husky": "^4.2.3",
"jasmine-core": "~2.8.0",
"jasmine-reporters": "^2.2.1",
"jasmine-spec-reporter": "~4.2.1",
"jasminewd2": "^2.2.0",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.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": "^10.1.2",
"ng-packagr": "^4.7.1",
"node-sass": "4.13.1",
"node-stream-zip": "^1.9.1",
"prettier": "^1.17.1",
"protractor": "5.4.2",
"protractor-screenshoter-plugin": "0.10.3",
"puppeteer": "2.1.1",
"rxjs-tslint": "^0.1.8",
"rxjs-tslint-rules": "^4.30.1",
"selenium-webdriver": "4.0.0-alpha.1",
"ts-node": "^8.0.3",
"tslib": "^1.11.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0",
"typescript": "3.2.4",
"wait-on": "^4.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"
}
},
"config": {
"chromeDriver": "80.0.3987.0"
}
}