2024-10-25 14:12:35 +00:00
|
|
|
{
|
|
|
|
"name": "upda-ui",
|
2024-12-21 14:11:13 +00:00
|
|
|
"version": "5.0.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"private": true,
|
|
|
|
"author": "varakh@varakh.de",
|
|
|
|
"type": "module",
|
|
|
|
"engines": {
|
2024-12-21 14:11:13 +00:00
|
|
|
"node": ">=20",
|
|
|
|
"npm": ">=10",
|
|
|
|
"pnpm": ">=9"
|
2024-10-25 14:12:35 +00:00
|
|
|
},
|
|
|
|
"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",
|
2024-12-10 20:01:37 +00:00
|
|
|
"checkstyle": "pnpm run checkstyle:ts && pnpm run checkstyle:less && pnpm run checkstyle:format && pnpm run checkstyle:i18n",
|
|
|
|
"checkstyle:format": "pnpm run format:check",
|
2024-10-25 14:12:35 +00:00
|
|
|
"checkstyle:ts": "eslint \"./src/**/*.{ts,tsx}\" -f checkstyle > ci/eslint.xml",
|
|
|
|
"checkstyle:less": "stylelint \"./src/**/*.less\"",
|
2024-12-01 10:38:43 +00:00
|
|
|
"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",
|
2024-10-25 14:12:35 +00:00
|
|
|
"clean": "npx --quiet rimraf build && npx --quiet rimraf node_modules"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-11-29 21:13:37 +00:00
|
|
|
"@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",
|
2024-10-25 14:12:35 +00:00
|
|
|
"file-saver": "^2.0.5",
|
2024-12-21 14:11:13 +00:00
|
|
|
"html-react-parser": "^5.2.1",
|
|
|
|
"i18next": "^24.2.0",
|
2024-12-10 20:01:37 +00:00
|
|
|
"i18next-browser-languagedetector": "^8.0.2",
|
|
|
|
"linkify-html": "^4.2.0",
|
|
|
|
"linkifyjs": "^4.2.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"moment-timezone": "^0.5.46",
|
2024-12-21 15:04:21 +00:00
|
|
|
"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",
|
2024-12-21 14:11:13 +00:00
|
|
|
"react-router": "^7.1.0",
|
2024-11-29 21:13:37 +00:00
|
|
|
"typescript": "^5.7.2"
|
2024-10-25 14:12:35 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-12-10 20:01:37 +00:00
|
|
|
"@eslint/compat": "^1.2.4",
|
2024-12-15 16:08:49 +00:00
|
|
|
"@eslint/js": "^9.17.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"@types/file-saver": "^2.0.7",
|
2024-11-29 21:13:37 +00:00
|
|
|
"@types/lodash": "^4.17.13",
|
2024-12-15 16:08:49 +00:00
|
|
|
"@types/node": "^20.17.10",
|
2024-12-21 15:04:21 +00:00
|
|
|
"@types/react": "^19.0.2",
|
|
|
|
"@types/react-dom": "^19.0.2",
|
2024-12-21 14:11:13 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
|
|
"@typescript-eslint/parser": "^8.18.1",
|
2024-11-29 21:13:37 +00:00
|
|
|
"@vitejs/plugin-react": "^4.3.4",
|
2024-12-10 20:01:37 +00:00
|
|
|
"@vitest/coverage-v8": "^2.1.8",
|
2024-12-15 16:08:49 +00:00
|
|
|
"eslint": "^9.17.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
|
|
|
"eslint-formatter-checkstyle": "^8.40.0",
|
2024-12-10 20:01:37 +00:00
|
|
|
"eslint-import-resolver-typescript": "^3.7.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"eslint-plugin-import": "^2.31.0",
|
2024-11-29 21:13:37 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
2024-10-25 14:12:35 +00:00
|
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
|
|
"eslint-plugin-react": "^7.37.2",
|
2024-12-10 20:01:37 +00:00
|
|
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
|
|
"eslint-plugin-sonarjs": "^3.0.1",
|
|
|
|
"eslint-plugin-testing-library": "^7.1.1",
|
2024-11-29 21:13:37 +00:00
|
|
|
"i18next-json-sync": "^3.1.2",
|
2024-10-25 14:12:35 +00:00
|
|
|
"jsdom": "^25.0.1",
|
2024-11-29 21:13:37 +00:00
|
|
|
"less": "^4.2.1",
|
2024-10-25 14:12:35 +00:00
|
|
|
"postcss-less": "^6.0.0",
|
2024-12-10 20:01:37 +00:00
|
|
|
"prettier": "^3.4.2",
|
2024-10-25 14:12:35 +00:00
|
|
|
"rimraf": "^6.0.1",
|
2024-12-15 16:08:49 +00:00
|
|
|
"stylelint": "^16.12.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"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",
|
2024-12-21 14:11:13 +00:00
|
|
|
"vite": "^6.0.5",
|
2024-11-29 21:13:37 +00:00
|
|
|
"vite-plugin-eslint2": "^5.0.3",
|
2024-12-10 20:01:37 +00:00
|
|
|
"vite-plugin-stylelint": "^6.0.0",
|
2024-11-29 21:13:37 +00:00
|
|
|
"vite-plugin-svgr": "^4.3.0",
|
2024-12-10 20:01:37 +00:00
|
|
|
"vite-tsconfig-paths": "^5.1.4",
|
|
|
|
"vitest": "^2.1.8"
|
2024-10-25 14:12:35 +00:00
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|