autobrr/web/package.json
soup 6815c67e0c
build(ci): integrate ESLint with CodeQL (#1273)
* ci: integrate ESLint with CodeQL

* specualtive fix

* always upload sarif

* make lint.ci exit with 0 so sarif is generated

* fix: exit with 0

* exit 0 on error

* correction

* revert to default with sarif

* see what pnpm run lint --fix does

* reset codeql

* egg

* actually setup pnpm

* checking out the mall

* reimplement lint

* run lint:ci

* anyone home?

* category

* fix?

* try cats

* damage

* TRY IT ONE MORE TIME

* on an atm

* no way?

* test

* test2

* test3

* test4

* revert change in context.ts

* attempt to update lockfile

* reset and update pnpm-lock

* speculative fix

* allow it to fail

* update eslint.yml

* correct path helps

* bring lint:ci back into the fold

* revert eslint.yml

* embed sarif

* is it really this

* k. great.

---------

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2023-12-25 13:37:46 +01:00

89 lines
2.6 KiB
JSON

{
"name": "web",
"version": "0.2.0",
"type": "module",
"private": true,
"homepage": ".",
"packageManager": "pnpm@8.10.5",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --color",
"lint:ci": "eslint src/ --ext .js,.jsx,.ts,.tsx --format=@microsoft/eslint-formatter-sarif --fix > ../results.sarif || true",
"preview": "vite preview",
"lint:watch": "pnpm run lint -- --watch"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"pnpm": {
"overrides": {
"react": "$react"
}
},
"dependencies": {
"@headlessui/react": "^1.7.17",
"@heroicons/react": "^2.0.18",
"@hookform/error-message": "^2.0.1",
"@tailwindcss/forms": "^0.5.7",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"autoprefixer": "^10.4.16",
"buffer": "^6.0.3",
"date-fns": "^2.30.0",
"formik": "^2.4.5",
"http-proxy-middleware": "^2.0.6",
"postcss": "^8.4.31",
"react": "^18.2.0",
"react-debounce-input": "^3.3.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.11",
"react-hook-form": "^7.48.2",
"react-hot-toast": "^2.4.1",
"react-multi-select-component": "^4.3.4",
"react-popper-tooltip": "^4.4.2",
"react-portal": "^4.2.2",
"react-ridge-state": "4.2.9",
"react-router-dom": "6.18.0",
"react-select": "^5.8.0",
"react-table": "^7.8.0",
"react-textarea-autosize": "^8.5.3",
"stacktracey": "^2.1.8",
"tailwind-lerp-colors": "1.2.1",
"tailwindcss": "^3.3.5",
"workbox-window": "^7.0.0",
"zod": "^3.22.4",
"zod-formik-adapter": "^1.2.0"
},
"devDependencies": {
"@types/node": "^20.9.1",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/react-portal": "^4.0.6",
"@types/react-table": "^7.7.18",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"eslint": "^8.54.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"eslint-watch": "^8.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"vite": "^5.0.4",
"vite-plugin-pwa": "^0.16.7",
"vite-plugin-svgr": "^4.2.0",
"@microsoft/eslint-formatter-sarif": "^3.0.0"
}
}