mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-26 17:24:45 +00:00
* fix typings and missing lib * fix i18n typo, add typings * code improvements * fix missing awaits * more fixes * fix bug in the evaluators, simplify code * more fixes
135 lines
5.5 KiB
JSON
135 lines
5.5 KiB
JSON
{
|
|
"name": "alfresco-content-app",
|
|
"version": "2.0.1",
|
|
"commit": "<build-generated-commit>",
|
|
"license": "LGPL-3.0",
|
|
"scripts": {
|
|
"postinstall": "ngcc",
|
|
"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 --prod && 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 --prod",
|
|
"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 --prod",
|
|
"build": "npm run validate-config && npm run build.app -- --prod",
|
|
"build.e2e": "npm run build.app -- --prod --configuration=e2e",
|
|
"test": "ng test app --code-coverage",
|
|
"unit": "ng test --browsers=Chrome --watch",
|
|
"lite-serve": "./scripts/run lite-serve",
|
|
"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",
|
|
"update-webdriver": "./scripts/update-webdriver.sh",
|
|
"e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json",
|
|
"e2e": "npm run update-webdriver && protractor --baseUrl=${TEST_BASE_URL:-http://localhost:8080/content-app} $SUITE",
|
|
"e2e.local": "npm run update-webdriver && protractor --baseUrl=http://localhost:4200",
|
|
"spellcheck": "cspell '{src,e2e,projects}/**/*.ts'",
|
|
"inspect.bundle": "ng build app --prod --stats-json && npx webpack-bundle-analyzer dist/app/stats.json",
|
|
"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": "4.1.0-d83bc9935cbdf12b592f282271aa431eee66b514",
|
|
"@alfresco/adf-core": "4.1.0-d83bc9935cbdf12b592f282271aa431eee66b514",
|
|
"@alfresco/adf-extensions": "4.1.0-d83bc9935cbdf12b592f282271aa431eee66b514",
|
|
"@alfresco/js-api": "4.1.0-44f2a9255656bf2ad23cd1faa5ecfd195fa0f9bd",
|
|
"@angular-custom-builders/lite-serve": "^0.2.2",
|
|
"@angular/animations": "10.0.4",
|
|
"@angular/cdk": "^10.0.2",
|
|
"@angular/common": "10.0.4",
|
|
"@angular/compiler": "10.0.4",
|
|
"@angular/core": "10.0.4",
|
|
"@angular/flex-layout": "^10.0.0-beta.32",
|
|
"@angular/forms": "10.0.4",
|
|
"@angular/material": "^10.0.2",
|
|
"@angular/material-moment-adapter": "^10.1.3",
|
|
"@angular/platform-browser": "10.0.4",
|
|
"@angular/platform-browser-dynamic": "10.0.4",
|
|
"@angular/router": "10.0.4",
|
|
"@mat-datetimepicker/core": "4.1.0",
|
|
"@mat-datetimepicker/moment": "4.1.0",
|
|
"@ngrx/effects": "^9.2.0",
|
|
"@ngrx/router-store": "^9.2.0",
|
|
"@ngrx/store": "^9.2.0",
|
|
"@ngrx/store-devtools": "^9.2.0",
|
|
"@ngx-translate/core": "^13.0.0",
|
|
"browser-sync": "^2.26.12",
|
|
"chalk": "^4.1.0",
|
|
"http-server": "^0.12.3",
|
|
"inquirer": "^7.3.3",
|
|
"minimatch-browser": "^1.0.0",
|
|
"moment": "^2.27.0",
|
|
"moment-es6": "1.0.0",
|
|
"ora": "^5.0.0",
|
|
"pdfjs-dist": "2.4.456",
|
|
"rxjs": "^6.6.2",
|
|
"tslib": "^2.0.1",
|
|
"winston": "^3.3.3",
|
|
"zone.js": "~0.10.2"
|
|
},
|
|
"devDependencies": {
|
|
"@alfresco/adf-cli": "4.1.0-d83bc9935cbdf12b592f282271aa431eee66b514",
|
|
"@alfresco/adf-testing": "4.1.0-d83bc9935cbdf12b592f282271aa431eee66b514",
|
|
"@angular-devkit/build-angular": "~0.1000.8",
|
|
"@angular-devkit/build-ng-packagr": "~0.1001.3",
|
|
"@angular/cli": "^10.1.3",
|
|
"@angular/compiler-cli": "10.0.4",
|
|
"@angular/language-service": "10.1.3",
|
|
"@types/event-emitter": "^0.3.3",
|
|
"@types/jasmine": "3.5.14",
|
|
"@types/jasminewd2": "^2.0.8",
|
|
"@types/node": "^14.6.0",
|
|
"@types/selenium-webdriver": "^4.0.9",
|
|
"@types/superagent": "^4.1.10",
|
|
"adf-tslint-rules": "0.0.7",
|
|
"ajv-cli": "^3.3.0",
|
|
"codelyzer": "^6.0.0",
|
|
"commander": "^6.0.0",
|
|
"connect-history-api-fallback": "^1.6.0",
|
|
"cpr": "^3.0.1",
|
|
"cspell": "^4.1.0",
|
|
"dotenv": "^8.2.0",
|
|
"husky": "^4.2.5",
|
|
"jasmine-core": "~3.6.0",
|
|
"jasmine-spec-reporter": "~5.0.2",
|
|
"karma": "^5.2.3",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-coverage-istanbul-reporter": "^3.0.3",
|
|
"karma-jasmine": "^4.0.1",
|
|
"karma-jasmine-html-reporter": "^1.5.4",
|
|
"karma-mocha-reporter": "^2.2.5",
|
|
"lint-staged": "^10.4.0",
|
|
"lite-server": "^2.4.0",
|
|
"ng-packagr": "^10.1.2",
|
|
"node-stream-zip": "^1.11.3",
|
|
"prettier": "^2.1.2",
|
|
"protractor": "^7.0.0",
|
|
"protractor-retry": "^1.2.13",
|
|
"protractor-retry-angular-cli": "^1.3.0",
|
|
"protractor-screenshoter-plugin": "0.10.3",
|
|
"protractor-smartrunner": "^0.1.1",
|
|
"rxjs-tslint": "^0.1.8",
|
|
"rxjs-tslint-rules": "^4.34.3",
|
|
"selenium-webdriver": "^4.0.0-alpha.7",
|
|
"ts-node": "^9.0.0",
|
|
"tsconfig-paths": "3.9.0",
|
|
"tslint": "^5.20.1",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"tslint-plugin-prettier": "^2.3.0",
|
|
"typescript": "3.9.7",
|
|
"webdriver-manager": "12.1.7"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,js,css,scss,html}": [
|
|
"prettier --single-quote --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
}
|