mirror of
https://github.com/unraid/api.git
synced 2026-01-07 00:59:48 -06:00
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Eli Bosley <ekbosley@gmail.com> - **CI/CD** - Updated GitHub Actions workflow to build Unraid UI Web Components. - Adjusted artifact naming and download configurations. - **Web Components** - Added new web components and registration mechanism. - Implemented toast notifications. - Enhanced UI component library. - **Notifications** - Added real-time notification subscription. - Created notification settings page. - Implemented notification toast system. - **API Improvements** - Refactored GraphQL schema loading. - Updated authentication and cookie handling. - Improved error logging and server initialization. - **Development Tools** - Updated ESLint configuration. - Enhanced import path management. - Added new development dependencies.
106 lines
3.0 KiB
JSON
106 lines
3.0 KiB
JSON
{
|
|
"name": "@unraid/ui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"tailwind.config.ts"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:wc": "REM_PLUGIN=true npx vite build -c vite.web-component.ts --mode production",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"coverage": "vitest run --coverage",
|
|
"clean": "rm -rf dist",
|
|
"prebuild": "npm run clean",
|
|
"typecheck": "vue-tsc --noEmit",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build"
|
|
},
|
|
"peerDependencies": {
|
|
"tailwindcss": "^3.0.0",
|
|
"vue": "^3.3.0"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/vue": "^1.7.23",
|
|
"@heroicons/vue": "^2.2.0",
|
|
"@vueuse/core": "^10.0.0",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"kebab-case": "^2.0.1",
|
|
"lucide-vue-next": "^0.468.0",
|
|
"radix-vue": "^1.9.11",
|
|
"shadcn-vue": "^0.11.3",
|
|
"tailwind-merge": "^2.5.5",
|
|
"vue-sonner": "^1.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
|
|
"@storybook/addon-essentials": "^8.4.7",
|
|
"@storybook/addon-interactions": "^8.4.7",
|
|
"@storybook/addon-links": "^8.4.7",
|
|
"@storybook/vue3-vite": "^8.4.7",
|
|
"@tailwindcss/typography": "^0.5.15",
|
|
"@testing-library/vue": "^8.0.0",
|
|
"@types/jsdom": "^21.1.7",
|
|
"@types/node": "^20.0.0",
|
|
"@types/testing-library__vue": "^5.0.0",
|
|
"@vitejs/plugin-vue": "^5.0.0",
|
|
"@vitejs/plugin-vue-jsx": "^4.1.1",
|
|
"@vitest/coverage-v8": "^1.0.0",
|
|
"@vitest/ui": "^1.0.0",
|
|
"@vue/test-utils": "^2.4.0",
|
|
"@vue/tsconfig": "^0.7.0",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-vue": "^9.32.0",
|
|
"happy-dom": "^12.0.0",
|
|
"postcss": "^8.4.49",
|
|
"prettier": "3.4.2",
|
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
"tailwindcss": "^3.0.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^5.0.0",
|
|
"vite-plugin-dts": "^3.0.0",
|
|
"vite-plugin-vue-devtools": "^7.7.1",
|
|
"vitest": "^1.0.0",
|
|
"vue": "^3.3.0",
|
|
"vue-tsc": "^1.8.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@rollup/rollup-linux-x64-gnu": "^4.30.1"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./styles": "./dist/style.css",
|
|
"./styles/*": "./src/styles/*",
|
|
"./tailwind.config": {
|
|
"types": "./dist/tailwind.config.d.ts",
|
|
"import": "./dist/tailwind.config.js",
|
|
"default": "./dist/tailwind.config.js"
|
|
},
|
|
"./tailwind.config.ts": {
|
|
"import": "./tailwind.config.ts",
|
|
"default": "./tailwind.config.ts"
|
|
},
|
|
"./theme/preset": {
|
|
"types": "./dist/theme/preset.d.ts",
|
|
"import": "./dist/theme/preset.js"
|
|
}
|
|
}
|
|
}
|