* reconciles latest color variables from Figma * defines the primary colors and the color system in tailwind config. * refines how we generate utilities within the color system for `bg`, `fg` and `border`. * removes custom box shadows, instead leaning on direct definition in CSS and `theme()`. This change removes duplicate color information being defined as CSS variables in `index.css` and co-locates all style information with the component whilst retaining the ability to tie in to the color system when mapping styles from Figma.
94 lines
3.2 KiB
JSON
94 lines
3.2 KiB
JSON
{
|
|
"name": "@clan/ui",
|
|
"version": "0.0.1",
|
|
"description": "",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "vite",
|
|
"dev": "vite",
|
|
"build": "npm run check && npm run test && vite build && npm run convert-html",
|
|
"convert-html": "node gtk.webview.js",
|
|
"serve": "vite preview",
|
|
"check": "tsc --noEmit --skipLibCheck && eslint ./src --fix",
|
|
"test": "vitest run --project unit --typecheck",
|
|
"vite": "vite",
|
|
"storybook": "storybook",
|
|
"knip": "knip --fix",
|
|
"storybook-build": "storybook build",
|
|
"storybook-dev": "storybook dev -p 6006",
|
|
"test-storybook": "vitest run --project storybook",
|
|
"test-storybook-update-snapshots": "vitest run --project storybook --update",
|
|
"test-storybook-static": "npm run storybook-build && concurrently -k -s first -n 'SB,TEST' -c 'magenta,blue' 'http-server storybook-static --port 6006 --silent' 'wait-on tcp:127.0.0.1:6006 && npm run test-storybook'"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|
|
"@eslint/js": "^9.3.0",
|
|
"@kachurun/storybook-solid-vite": "^9.0.11",
|
|
"@storybook/addon-a11y": "^9.0.8",
|
|
"@storybook/addon-docs": "^9.0.8",
|
|
"@storybook/addon-links": "^9.0.8",
|
|
"@storybook/addon-onboarding": "^9.0.8",
|
|
"@storybook/addon-viewport": "^9.0.8",
|
|
"@storybook/addon-vitest": "^9.0.8",
|
|
"@tailwindcss/typography": "^0.5.13",
|
|
"@types/node": "^22.15.19",
|
|
"@types/three": "^0.176.0",
|
|
"@typescript-eslint/parser": "^8.32.1",
|
|
"@vitest/browser": "^3.2.3",
|
|
"@vitest/coverage-v8": "^3.2.3",
|
|
"autoprefixer": "^10.4.19",
|
|
"classnames": "^2.5.1",
|
|
"concurrently": "^9.1.2",
|
|
"eslint": "^9.27.0",
|
|
"eslint-plugin-tailwindcss": "^3.17.0",
|
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
"http-server": "^14.1.1",
|
|
"jsdom": "^26.1.0",
|
|
"knip": "^5.61.2",
|
|
"playwright": "~1.52.0",
|
|
"postcss": "^8.4.38",
|
|
"postcss-url": "^10.1.3",
|
|
"prettier": "^3.2.5",
|
|
"solid-devtools": "^0.34.0",
|
|
"storybook": "^9.0.8",
|
|
"tailwindcss": "^3.4.3",
|
|
"typescript": "^5.4.5",
|
|
"typescript-eslint": "^8.32.1",
|
|
"vite": "^6.3.5",
|
|
"vite-plugin-solid": "^2.8.2",
|
|
"vite-plugin-solid-svg": "^0.8.1",
|
|
"vitest": "^3.2.3",
|
|
"wait-on": "^8.0.3"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/dom": "^1.6.8",
|
|
"@kobalte/core": "^0.13.10",
|
|
"@kobalte/tailwindcss": "^0.9.0",
|
|
"@modular-forms/solid": "^0.25.1",
|
|
"@solid-primitives/storage": "^4.3.2",
|
|
"@solidjs/router": "^0.15.3",
|
|
"@solidjs/testing-library": "^0.8.10",
|
|
"@tanstack/eslint-plugin-query": "^5.51.12",
|
|
"@tanstack/solid-query": "^5.76.0",
|
|
"solid-js": "^1.9.7",
|
|
"solid-toast": "^0.5.0",
|
|
"three": "^0.176.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@esbuild/darwin-arm64": "^0.25.4",
|
|
"@esbuild/darwin-x64": "^0.25.4",
|
|
"@esbuild/linux-arm64": "^0.25.4",
|
|
"@esbuild/linux-x64": "^0.25.4"
|
|
},
|
|
"overrides": {
|
|
"vite": {
|
|
"rollup": "npm:@rollup/wasm-node@^4.34.9"
|
|
},
|
|
"@rollup/rollup-darwin-x64": "npm:@rollup/wasm-node@^4.34.9",
|
|
"@rollup/rollup-linux-x64": "npm:@rollup/wasm-node@^4.34.9",
|
|
"@rollup/rollup-darwin-arm64": "npm:@rollup/wasm-node@^4.34.9",
|
|
"@rollup/rollup-linux-arm64": "npm:@rollup/wasm-node@^4.34.9"
|
|
}
|
|
}
|