mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* upgrade prettier * noImplicitAny rule * fix type * update tsconfig * upgrade to 150 print width
131 lines
5.3 KiB
JSON
131 lines
5.3 KiB
JSON
{
|
|
"name": "alfresco-content-app",
|
|
"version": "1.12.0",
|
|
"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 && 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.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",
|
|
"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",
|
|
"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",
|
|
"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.10.0-6001ff801e211e8385966d2f2b773e59b4667dd9",
|
|
"@alfresco/adf-core": "3.10.0-6001ff801e211e8385966d2f2b773e59b4667dd9",
|
|
"@alfresco/adf-extensions": "3.10.0-6001ff801e211e8385966d2f2b773e59b4667dd9",
|
|
"@alfresco/js-api": "3.10.0-1deb4e85760f96f550a7d6d894e4002ecd4a4c18",
|
|
"@angular-custom-builders/lite-serve": "0.2.0",
|
|
"@angular/animations": "10.0.3",
|
|
"@angular/cdk": "^10.0.1",
|
|
"@angular/common": "10.0.3",
|
|
"@angular/compiler": "10.0.3",
|
|
"@angular/core": "10.0.3",
|
|
"@angular/flex-layout": "^10.0.0-beta.32",
|
|
"@angular/forms": "10.0.3",
|
|
"@angular/material": "^10.0.1",
|
|
"@angular/material-moment-adapter": "^10.0.1",
|
|
"@angular/platform-browser": "10.0.3",
|
|
"@angular/platform-browser-dynamic": "10.0.3",
|
|
"@angular/router": "10.0.3",
|
|
"@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.7",
|
|
"minimatch-browser": "^1.0.0",
|
|
"moment": "^2.27.0",
|
|
"moment-es6": "1.0.0",
|
|
"pdfjs-dist": "2.4.456",
|
|
"rxjs": "^6.6.0",
|
|
"tslib": "^2.0.0",
|
|
"zone.js": "~0.10.2"
|
|
},
|
|
"devDependencies": {
|
|
"@alfresco/adf-cli": "3.10.0-270020f56129a0dab3b9461df1e1f01dde75760f",
|
|
"@alfresco/adf-testing": "3.10.0-6001ff801e211e8385966d2f2b773e59b4667dd9",
|
|
"@angular-devkit/build-angular": "~0.1000.2",
|
|
"@angular-devkit/build-ng-packagr": "~0.1000.2",
|
|
"@angular/cli": "^10.0.2",
|
|
"@angular/compiler-cli": "10.0.3",
|
|
"@angular/language-service": "10.0.3",
|
|
"@types/event-emitter": "^0.3.3",
|
|
"@types/jasmine": "3.5.11",
|
|
"@types/jasminewd2": "^2.0.8",
|
|
"@types/node": "^14.0.23",
|
|
"@types/selenium-webdriver": "^4.0.9",
|
|
"@types/superagent": "^4.1.8",
|
|
"adf-tslint-rules": "0.0.7",
|
|
"ajv-cli": "^3.1.0",
|
|
"chrome-remote-interface": "^0.28.2",
|
|
"codelyzer": "^6.0.0",
|
|
"commander": "^5.0.0",
|
|
"cpr": "^3.0.1",
|
|
"cspell": "^4.0.55",
|
|
"dotenv": "^8.2.0",
|
|
"husky": "^4.2.3",
|
|
"jasmine-core": "~3.5.0",
|
|
"jasmine-spec-reporter": "~5.0.2",
|
|
"karma": "^5.1.0",
|
|
"karma-chrome-launcher": "^3.1.0",
|
|
"karma-coverage-istanbul-reporter": "^3.0.3",
|
|
"karma-jasmine": "^3.3.1",
|
|
"karma-jasmine-html-reporter": "^1.5.4",
|
|
"lint-staged": "^10.2.11",
|
|
"ng-packagr": "^10.0.1",
|
|
"node-stream-zip": "^1.9.1",
|
|
"prettier": "^2.0.5",
|
|
"protractor": "^7.0.0",
|
|
"protractor-screenshoter-plugin": "0.10.3",
|
|
"rxjs-tslint": "^0.1.8",
|
|
"rxjs-tslint-rules": "^4.34.0",
|
|
"selenium-webdriver": "^4.0.0-alpha.7",
|
|
"ts-node": "^8.0.3",
|
|
"tsconfig-paths": "3.9.0",
|
|
"tslint": "^5.20.1",
|
|
"tslint-config-prettier": "^1.18.0",
|
|
"tslint-plugin-prettier": "^2.3.0",
|
|
"typescript": "3.9.6",
|
|
"wait-on": "^5.1.0",
|
|
"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": "83.0.4103.116"
|
|
}
|
|
}
|