upda/server/web/package.json

108 lines
3.6 KiB
JSON
Raw Normal View History

{
"name": "upda-ui",
2024-12-21 15:10:00 +00:00
"version": "5.0.1",
"private": true,
"author": "varakh@varakh.de",
"type": "module",
"engines": {
"node": ">=20",
"npm": ">=10",
"pnpm": ">=9"
},
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"serve": "vite preview",
"test": "vitest watch",
"test:no-watch": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ci": "vitest run --coverage --passWithNoTests",
"format": "prettier --write ./src/**/*.{ts,tsx,less}",
"format:check": "prettier --check ./src/**/*.{ts,tsx,less}",
"lint": "eslint \"./src/**/*.{tsx,ts}\"",
"lintfix": "eslint --fix \"./src/**/*.{tsx,ts}\"",
"lint:style": "stylelint \"./src/**/*.less\"",
"lint-style-fix": "stylelint \"./src/**/*.less\" --fix",
"checkstyle": "pnpm run checkstyle:ts && pnpm run checkstyle:less && pnpm run checkstyle:format && pnpm run checkstyle:i18n",
"checkstyle:format": "pnpm run format:check",
"checkstyle:ts": "eslint \"./src/**/*.{ts,tsx}\" -f checkstyle > ci/eslint.xml",
"checkstyle:less": "stylelint \"./src/**/*.less\"",
"checkstyle:i18n": "sync-i18n --check --files '**/translations/*.json' --primary en --languages en --space 2 --lineendings LF",
"i18n-sync": "sync-i18n --files '**/translations/*.json' --primary en --languages en --space 2 --lineendings LF",
"clean": "npx --quiet rimraf build && npx --quiet rimraf node_modules"
},
"dependencies": {
"@ant-design/icons": "^5.5.2",
"@ant-design/pro-layout": "^7.21.2",
2024-12-15 16:08:49 +00:00
"@reduxjs/toolkit": "^2.5.0",
"antd": "^5.22.5",
"file-saver": "^2.0.5",
"html-react-parser": "^5.2.1",
"i18next": "^24.2.0",
"i18next-browser-languagedetector": "^8.0.2",
"linkify-html": "^4.2.0",
"linkifyjs": "^4.2.0",
"lodash": "^4.17.21",
"moment-timezone": "^0.5.46",
"react": "^19.0.0",
"react-dom": "^19.0.0",
2024-12-15 16:08:49 +00:00
"react-i18next": "^15.2.0",
"react-redux": "^9.2.0",
"react-router": "^7.1.0",
"typescript": "^5.7.2"
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
2024-12-15 16:08:49 +00:00
"@eslint/js": "^9.17.0",
"@types/file-saver": "^2.0.7",
"@types/lodash": "^4.17.13",
2024-12-15 16:08:49 +00:00
"@types/node": "^20.17.10",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.18.1",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.8",
2024-12-15 16:08:49 +00:00
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-formatter-checkstyle": "^8.40.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-sonarjs": "^3.0.1",
"eslint-plugin-testing-library": "^7.1.1",
"i18next-json-sync": "^3.1.2",
"jsdom": "^25.0.1",
"less": "^4.2.1",
"postcss-less": "^6.0.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
2024-12-15 16:08:49 +00:00
"stylelint": "^16.12.0",
"stylelint-config-standard": "^36.0.1",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.2",
"vite": "^6.0.5",
"vite-plugin-eslint2": "^5.0.3",
"vite-plugin-stylelint": "^6.0.0",
"vite-plugin-svgr": "^4.3.0",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}