Files
grimmory/frontend/package.json
T
James Cox cef000d425 chore(frontend-lint): add local typecheck and stylelint commands
- Frontend package scripts:
  - add a dedicated `typecheck` script for `tsc --noEmit`
  - split ESLint into `lint:eslint` and add `lint:styles` plus `lint:styles:fix`
  - keep the top-level `lint` script as a combined frontend lint entrypoint
  - restore `postcss` so the frontend dependency graph satisfies the peer requirements used by Angular build tooling and Stylelint
- Frontend command surface:
  - add `typecheck`, `stylelint`, and `stylelint-fix` recipes to `frontend/Justfile`
  - expand the frontend `check` and `ci-check` recipes to include typechecking, stylesheet linting, and a production build
- Stylelint configuration:
  - add `frontend/stylelint.config.js` using the standard SCSS config as the base
  - pare back the noisiest formatting and notation rules so the initial lint layer stays actionable instead of forcing a repo-wide SCSS rewrite
- Lockfile:
  - refresh `frontend/yarn.lock` for the new frontend lint dependencies

- Validation:
  - `just ui install`
  - `just ui typecheck`
  - `just ui stylelint` currently reports 140 errors, with 76 marked autofixable
2026-04-22 17:26:40 -04:00

89 lines
2.7 KiB
JSON

{
"name": "grimmory",
"version": "0.0.0",
"packageManager": "yarn@4.10.3",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:prod": "ng build --configuration production",
"dev": "ng serve --open --watch --configuration development",
"watch": "ng build --watch --configuration development",
"test": "ng test",
"typecheck": "tsc --noEmit -p tsconfig.app.json",
"lint": "yarn lint:eslint && yarn lint:styles",
"lint:eslint": "ng lint",
"lint:styles": "stylelint \"src/**/*.scss\" \"src/*.scss\"",
"lint:styles:fix": "yarn lint:styles --fix"
},
"private": true,
"dependencies": {
"@angular/animations": "^21.2.4",
"@angular/cdk": "^21.2.0",
"@angular/common": "^21.2.4",
"@angular/compiler": "^21.2.4",
"@angular/core": "^21.2.4",
"@angular/forms": "^21.2.4",
"@angular/platform-browser": "^21.2.4",
"@angular/platform-browser-dynamic": "^21.2.4",
"@angular/router": "^21.2.4",
"@angular/service-worker": "^21.2.4",
"@iharbeck/ngx-virtual-scroller": "^20.0.0",
"@jsverse/transloco": "^8.2.1",
"@primeuix/themes": "^2.0.3",
"@stomp/rx-stomp": "^2.3.0",
"@stomp/stompjs": "^7.3.0",
"@tanstack/angular-query-experimental": "5.90.26",
"@tweenjs/tween.js": "^25.0.0",
"chart.js": "^4.5.1",
"chartjs-chart-matrix": "^3.0.0",
"chartjs-plugin-datalabels": "^2.2.0",
"date-fns": "^4.1.0",
"dompurify": "^3.3.1",
"jwt-decode": "^4.0.0",
"ng-lazyload-image": "^9.1.3",
"ng2-charts": "^8.0.0",
"ngx-extended-pdf-viewer": "^25.6.4",
"ngx-infinite-scroll": "^21.0.0",
"ngx-sse-client": "^20.0.1",
"primeicons": "^7.0.0",
"primeng": "^21.1.1",
"rxjs": "^7.8.2",
"showdown": "^2.1.0",
"tslib": "^2.8.1",
"uuid": "^11.0.0",
"ws": "^8.19.0",
"zone.js": "^0.16.1"
},
"devDependencies": {
"@analogjs/vite-plugin-angular": "^2.3.0",
"@analogjs/vitest-angular": "^2.3.0",
"@angular-devkit/architect": "0.2102.0",
"@angular-devkit/schematics": "21.2.0",
"@angular/build": "^21.2.0",
"@angular/cli": "^21.2.0",
"@angular/compiler-cli": "^21.2.4",
"@types/dompurify": "^3.2.0",
"@types/node": "^25.3.2",
"@types/showdown": "^2.0.6",
"@vitest/coverage-v8": "^4.0.17",
"angular-eslint": "^21.3.1",
"eslint": "^9.39.3",
"jsdom": "^28.1.0",
"postcss": "^8.5.6",
"stylelint": "^16.25.0",
"stylelint-config-standard-scss": "^16.0.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.56.1",
"vitest": "^4.0.17"
},
"overrides": {
"minimatch": "^10.2.1",
"ajv": "^8.18.0",
"eslint": {
"ajv": "^6.14.0"
},
"undici": "^7.24.1"
}
}