- all entities export a kind field (credential/snippet/scenario) for safe type checking on import - import upserts by id: overwrites if id exists, creates with explicit id otherwise - scenario export now includes id and step ids; import deletes old steps before recreating - add GET /:id/export and POST /import endpoints to credential and snippet controllers - add UuidBadge ui component: shortens uuid to first+last 4 hex chars, tooltip, clipboard copy with animated ClipboardCheck icon pop - apply UuidBadge across all entity id display sites (detail pages, card footers, table columns) - add export/import buttons to CredentialsPage, SnippetsPage, CredentialDetailPage, SnippetDetailPage
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "liqa-client",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build",
|
|
"test:storybook": "vitest run --project storybook",
|
|
"lint": "eslint src .storybook",
|
|
"lint:fix": "eslint src .storybook --fix",
|
|
"format": "prettier --write \"src/**/*.{ts,tsx}\" \".storybook/**/*.{ts,tsx}\""
|
|
},
|
|
"dependencies": {
|
|
"i18next": "^26.0.4",
|
|
"lucide-react": "^1.7.0",
|
|
"moment": "^2.30.1",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-i18next": "^17.0.2",
|
|
"react-router-dom": "^7.14.0",
|
|
"yaml": "^2.8.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.4",
|
|
"@storybook/addon-a11y": "^10.3.5",
|
|
"@storybook/addon-docs": "^10.3.5",
|
|
"@storybook/addon-vitest": "^10.3.5",
|
|
"@storybook/react-vite": "^10.3.5",
|
|
"@types/react": "^19.1.2",
|
|
"@types/react-dom": "^19.1.2",
|
|
"@vitejs/plugin-react": "^4.4.1",
|
|
"@vitest/browser-playwright": "^4.1.3",
|
|
"@vitest/coverage-v8": "^4.1.3",
|
|
"eslint": "^10.2.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"playwright": "^1.59.1",
|
|
"prettier": "^3.8.1",
|
|
"storybook": "^10.3.5",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.58.1",
|
|
"vite": "^6.3.1",
|
|
"vitest": "^4.1.3"
|
|
}
|
|
}
|