2024-10-25 14:12:35 +00:00
|
|
|
{
|
|
|
|
"name": "upda-ui",
|
2024-10-25 14:42:04 +00:00
|
|
|
"version": "4.0.1",
|
2024-10-25 14:12:35 +00:00
|
|
|
"private": true,
|
|
|
|
"author": "varakh@varakh.de",
|
|
|
|
"type": "module",
|
|
|
|
"engines": {
|
|
|
|
"node": "^20",
|
|
|
|
"npm": "^10"
|
|
|
|
},
|
|
|
|
"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-11-29 21:13:37 +00:00
|
|
|
"checkstyle": "npm run checkstyle:ts && npm run checkstyle:less && npm run checkstyle:format && npm run checkstyle:i18n",
|
2024-10-25 14:12:35 +00:00
|
|
|
"checkstyle:format": "npm run format:check",
|
|
|
|
"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",
|
|
|
|
"@reduxjs/toolkit": "^2.4.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"@types/react": "^18.3.12",
|
|
|
|
"@types/react-dom": "^18.3.1",
|
2024-11-29 21:13:37 +00:00
|
|
|
"antd": "^5.22.2",
|
2024-10-25 14:12:35 +00:00
|
|
|
"file-saver": "^2.0.5",
|
|
|
|
"html-react-parser": "^5.1.18",
|
2024-11-29 21:13:37 +00:00
|
|
|
"i18next": "^24.0.2",
|
2024-10-25 14:12:35 +00:00
|
|
|
"i18next-browser-languagedetector": "^8.0.0",
|
2024-11-29 21:13:37 +00:00
|
|
|
"linkify-html": "^4.1.4",
|
|
|
|
"linkifyjs": "^4.1.4",
|
2024-10-25 14:12:35 +00:00
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"moment-timezone": "^0.5.46",
|
|
|
|
"react": "^18.3.1",
|
|
|
|
"react-dom": "^18.3.1",
|
2024-11-29 21:13:37 +00:00
|
|
|
"react-i18next": "^15.1.3",
|
2024-10-25 14:12:35 +00:00
|
|
|
"react-redux": "^9.1.2",
|
2024-11-29 21:13:37 +00:00
|
|
|
"react-router": "^7.0.1",
|
|
|
|
"typescript": "^5.7.2"
|
2024-10-25 14:12:35 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-11-29 21:13:37 +00:00
|
|
|
"@eslint/compat": "^1.2.3",
|
|
|
|
"@eslint/js": "^9.16.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",
|
|
|
|
"@types/node": "^20.16.15",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^8.16.0",
|
|
|
|
"@typescript-eslint/parser": "^8.16.0",
|
|
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
|
|
"@vitest/coverage-v8": "^2.1.6",
|
|
|
|
"eslint": "^9.16.0",
|
2024-10-25 14:12:35 +00:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
|
|
|
"eslint-formatter-checkstyle": "^8.40.0",
|
|
|
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
|
|
"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",
|
|
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
2024-12-05 13:04:50 +00:00
|
|
|
"eslint-plugin-sonarjs": "^3.0.1",
|
2024-11-29 21:13:37 +00:00
|
|
|
"eslint-plugin-testing-library": "^7.0.0",
|
|
|
|
"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-11-29 21:13:37 +00:00
|
|
|
"prettier": "^3.4.1",
|
2024-10-25 14:12:35 +00:00
|
|
|
"rimraf": "^6.0.1",
|
2024-11-29 21:13:37 +00:00
|
|
|
"stylelint": "^16.11.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-05 13:04:50 +00:00
|
|
|
"vite": "^6.0.2",
|
2024-11-29 21:13:37 +00:00
|
|
|
"vite-plugin-eslint2": "^5.0.3",
|
2024-12-05 13:04:50 +00:00
|
|
|
"vite-plugin-stylelint": "^6.0.0",
|
2024-11-29 21:13:37 +00:00
|
|
|
"vite-plugin-svgr": "^4.3.0",
|
|
|
|
"vite-tsconfig-paths": "^5.1.3",
|
|
|
|
"vitest": "^2.1.6"
|
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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|