mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
integrate Prettier with tslint (#1419)
* integrate prettier with tslint * remove obsolte scripts * update tsconfig * fix lint issues * fix lint errors * more rules and fixes * kebab case and lint fixes * update helpers * update util
This commit is contained in:
+5
-5
@@ -18,7 +18,7 @@
|
||||
"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",
|
||||
"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",
|
||||
@@ -28,8 +28,6 @@
|
||||
"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": "protractor --baseUrl=http://localhost:8080/content-app/ $SUITE",
|
||||
@@ -77,7 +75,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "~0.13.9",
|
||||
"@angular-devkit/build-ng-packagr": "~0.13.0",
|
||||
"@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",
|
||||
@@ -112,12 +110,14 @@
|
||||
"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",
|
||||
"tsickle": "0.34.0",
|
||||
"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"
|
||||
|
||||
Reference in New Issue
Block a user