mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
Vendor prefixes were generated only on the build's minify path, so the dev server served `backdrop-filter` with no `-webkit-` twin. caniuse has Safari 16.3-17.6 as supported-with-prefix, which left every glass surface unblurred while developing in Safari below 18.4. Two rules papered over it by hand, and that made production worse: Lightning CSS collapses such a pair to whichever is declared last, dropping the standard property for Chrome, Edge and Firefox. Lightning CSS as the CSS transformer covers both paths from one setting. Dev now serves both properties, verified against the running server. That also retires the hand-rolled browserslist-to-esbuild conversion. It existed because `target: "esnext"` was inherited by `cssTarget`, and Vite's `convertTargets` skips the `esnext` entry, leaving Lightning CSS with no targets at all. Vite's default target resolves to chrome111, edge111, firefox114, safari16.4, ios16.4, which both the transformer and the minifier read, so the converter, both explicit targets and the `browserslist` dependency all go. `.browserslistrc` goes with them: nothing reads it once the conversion is gone. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BEtFQ17BQDS52wXosTjcUU
113 lines
3.2 KiB
JSON
113 lines
3.2 KiB
JSON
{
|
|
"name": "romm",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"author": "Zurdi <https://github.com/zurdi15>",
|
|
"description": "A beautiful, powerful, self-hosted ROM manager",
|
|
"license": "AGPL-3.0-only",
|
|
"homepage": "https://github.com/rommapp/romm",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+github.com/rommapp/romm.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/rommapp/romm/issues"
|
|
},
|
|
"keywords": [
|
|
"rom",
|
|
"manager",
|
|
"emulation"
|
|
],
|
|
"type": "module",
|
|
"scripts": {
|
|
"build:tokens": "tsx scripts/build-tokens.ts",
|
|
"predev": "npm run build:tokens",
|
|
"prebuild": "npm run build:tokens",
|
|
"dev": "vite --host",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "vue-tsc --noEmit",
|
|
"generate": "openapi --input http://127.0.0.1:3000/openapi.json --output ./src/__generated__ --client axios --useOptions --useUnionTypes --exportServices false --exportSchemas false --exportCore false",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"storybook": "storybook dev -p 6006",
|
|
"storybook:build": "storybook build",
|
|
"storybook:test": "vitest run test/storybook.test.ts",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/vue": "^1.1.11",
|
|
"@mdi/font": "7.4.47",
|
|
"@vueuse/core": "^13.7.0",
|
|
"@zxing/browser": "^0.1.5",
|
|
"@zxing/library": "^0.21.3",
|
|
"axios": "^1.18.1",
|
|
"bowser": "^2.14.1",
|
|
"cronstrue": "^2.57.0",
|
|
"date-fns": "^4.1.0",
|
|
"js-cookie": "^3.0.7",
|
|
"lodash": "^4.18.1",
|
|
"md-editor-v3": "^5.8.4",
|
|
"mitt": "^3.0.1",
|
|
"pinia": "^3.0.1",
|
|
"qrcode": "^1.5.4",
|
|
"semver": "^7.6.2",
|
|
"socket.io-client": "^4.7.5",
|
|
"tailwindcss": "^4.0.0",
|
|
"vanilla-tilt": "^1.8.1",
|
|
"vue": "^3.4.27",
|
|
"vue-i18n": "^11.1.10",
|
|
"vue-router": "^4.3.2",
|
|
"vue3-pdf-app": "^1.0.3",
|
|
"vuetify": "^3.9.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@playwright/test": "^1.61.1",
|
|
"@storybook/addon-a11y": "^10.2.19",
|
|
"@storybook/addon-docs": "^10.2.19",
|
|
"@storybook/addon-themes": "^10.2.19",
|
|
"@storybook/vue3-vite": "^10.2.19",
|
|
"@tailwindcss/vite": "^4.3.1",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/lodash": "^4.17.16",
|
|
"@types/node": "^22.13.14",
|
|
"@types/qrcode": "^1.5.5",
|
|
"@types/semver": "^7.7.0",
|
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
"@vitest/ui": "^4.1.5",
|
|
"@vue/test-utils": "^2.4.9",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"axe-core": "^4.12.1",
|
|
"eslint": "^10.0.3",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-vue": "^10.8.0",
|
|
"eslint-plugin-vuejs-accessibility": "^2.5.0",
|
|
"globals": "^16.0.0",
|
|
"happy-dom": "^20.9.0",
|
|
"openapi-typescript-codegen": "^0.29.0",
|
|
"storybook": "^10.2.19",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.7.3",
|
|
"typescript-eslint": "^8.56.1",
|
|
"vite": "^8.0.16",
|
|
"vite-plugin-mkcert": "^1.17.8",
|
|
"vite-plugin-pwa": "^1.3.0",
|
|
"vite-plugin-vuetify": "^2.0.4",
|
|
"vitest": "^4.1.11",
|
|
"vue-tsc": "^2.2.8"
|
|
},
|
|
"overrides": {
|
|
"rolldown": "1.0.1",
|
|
"esbuild": "^0.28.1",
|
|
"form-data": "^4.0.6"
|
|
},
|
|
"engines": {
|
|
"node": "24",
|
|
"npm": ">=11.10"
|
|
},
|
|
"packageManager": "npm@11.13.0"
|
|
}
|