UNPKG

@orchard9ai/design-system

Version:

DaisyUI-based component library for Orchard9 applications

146 lines (145 loc) 4.59 kB
{ "name": "@orchard9ai/design-system", "version": "0.14.0", "description": "DaisyUI-based component library for Orchard9 applications", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./styles.css": "./dist/styles.css", "./grove.css": "./dist/grove.css", "./dawn.css": "./dist/dawn.css", "./dusk.css": "./dist/dusk.css", "./tokens": { "types": "./dist/tokens.d.ts", "import": "./dist/tokens.mjs", "require": "./dist/tokens.js" }, "./tokens.json": "./src/tokens/tokens.json", "./tokens.css": "./src/tokens/tokens.css", "./figma-tokens.json": "./src/tokens/figma-tokens.json", "./package.json": "./package.json" }, "sideEffects": [ "*.css" ], "files": [ "dist", "README.md" ], "scripts": { "dev": "tsup --watch", "dev:federated": "vite", "dev:storybook": "concurrently \"npm run dev:federated\" \"npm run storybook\" --names \"federation,storybook\" --prefix-colors \"green,cyan\"", "build": "npm run build:js && npm run build:css && npm run build:tokens", "build:js": "tsup", "build:css": "postcss src/styles.css -o dist/styles.css", "build:tokens": "node scripts/extract-tokens.js", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage --watchAll=false", "test:a11y": "jest --testNamePattern=\"Accessibility|accessibility\" --verbose", "test:themes": "jest --testNamePattern=\"Theme|theme\" --verbose", "test:performance": "jest --testNamePattern=\"Performance|performance\" --verbose", "test:e2e": "playwright test", "test:e2e:ui": "playwright test --ui", "test:visual": "chromatic --exit-zero-on-changes", "lint": "eslint \"src/**/*.{ts,tsx}\"", "typecheck": "tsc --noEmit", "size": "size-limit", "size:analyze": "size-limit --why", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "chromatic": "chromatic --exit-zero-on-changes", "test:all": "npm run test:coverage && npm run test:a11y && npm run test:e2e && npm run size" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "dependencies": { "clsx": "^2.1.0", "eventemitter3": "^5.0.1", "focus-trap-react": "^11.0.4" }, "devDependencies": { "@originjs/vite-plugin-federation": "^1.4.1", "@playwright/test": "^1.52.0", "@size-limit/preset-small-lib": "^11.0.1", "@storybook/addon-a11y": "^7.6.10", "@storybook/addon-essentials": "^7.6.10", "@storybook/addon-interactions": "^7.6.10", "@storybook/addon-links": "^7.6.10", "@storybook/blocks": "^7.6.10", "@storybook/react": "^7.6.10", "@storybook/react-vite": "^7.6.10", "@storybook/test": "^7.6.10", "@tailwindcss/postcss": "^4.1.8", "@tailwindcss/typography": "^0.5.16", "@testing-library/jest-dom": "^6.2.0", "@testing-library/react": "^14.1.2", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "@types/node": "^20.17.50", "@types/react": "^18.2.48", "@types/react-dom": "^18.2.18", "@typescript-eslint/eslint-plugin": "^8.32.0", "@typescript-eslint/parser": "^8.32.0", "@vitejs/plugin-react": "^4.6.0", "autoprefixer": "^10.4.17", "chromatic": "^12.1.0", "concurrently": "^9.2.0", "daisyui": "^5.0.43", "eslint": "^9.27.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^5.0.0", "jest": "^29.7.0", "jest-axe": "^8.0.0", "jest-environment-jsdom": "^29.7.0", "postcss": "^8.4.33", "postcss-cli": "^11.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "size-limit": "^11.0.1", "storybook": "^7.6.10", "tailwindcss": "^4.0.0", "ts-jest": "^29.3.4", "tsup": "^8.0.1", "typescript": "^5.3.3", "vite": "^4.5.0" }, "size-limit": [ { "path": "dist/index.js", "limit": "50 KB" }, { "path": "dist/styles.css", "limit": "25 KB" } ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/orchard9ai/frontend-packages.git", "directory": "packages/design-system" }, "keywords": [ "react", "components", "design-system", "daisyui", "tailwind", "orchard9" ], "author": "Orchard9", "license": "MIT" }