{"_id":"@alexcommonsku/design-system-canary","name":"@alexcommonsku/design-system-canary","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@alexcommonsku/design-system-canary","version":"0.1.1","type":"module","description":"React component library for consistent UI at commonsku","license":"UNLICENSED","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./styles.css":"./dist/assets/index.css"},"sideEffects":["**/*.css"],"engines":{"node":">=20.19.0"},"publishConfig":{"access":"public"},"scripts":{"dev":"vite","build":"vite build --mode lib","build:playground":"vite build","lint":"eslint .","preview":"vite preview","storybook":"storybook dev -p 6006","build-storybook":"storybook build"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"devDependencies":{"@chromatic-com/storybook":"^5.1.1","@eslint/js":"^9.39.4","@storybook/addon-a11y":"^10.3.3","@storybook/addon-docs":"^10.3.3","@storybook/addon-onboarding":"^10.3.3","@storybook/addon-vitest":"^10.3.3","@storybook/react-vite":"^10.3.3","@testing-library/jest-dom":"^6.9.1","@testing-library/react":"^16.3.2","@types/node":"^24.12.0","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1","@vitest/browser-playwright":"^4.1.2","@vitest/coverage-v8":"^4.1.2","babel-jest":"^30.3.0","eslint":"^9.39.4","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.5.2","eslint-plugin-storybook":"^10.3.3","globals":"^17.4.0","jest":"^30.3.0","jest-environment-jsdom":"^30.3.0","playwright":"^1.58.2","react":"^19.2.4","react-dom":"^19.2.4","storybook":"^10.3.3","typescript":"~5.9.3","typescript-eslint":"^8.57.0","vite":"^8.0.1","vite-plugin-dts":"^4.5.4","vitest":"^4.1.2"},"_id":"@alexcommonsku/design-system-canary@0.1.1","gitHead":"d72f8205017a3f8f1b29a37163449fa68d0d8950","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-DC1eC8d3N0YAF4Cbg84MveXLv8XU2EKXUaq3ohtPXnjyAXHlSTGrg8YIdOMspFhBeVIw0Xr6crmxsOmv9eedXQ==","shasum":"7772dd0dce0940cd2d5c1204d4d4eb645c2d13e1","tarball":"https://registry.npmjs.org/@alexcommonsku/design-system-canary/-/design-system-canary-0.1.1.tgz","fileCount":6,"unpackedSize":7942,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGRmjZ1nzFo7h5Sx25f77qir8JQ3OrMcqfzZNl7J94BfAiEAzyzN0mp3+m7KO9S/4jNoQE6KOFPU3GstYDw0JBZGB4U="}]},"_npmUser":{"name":"alexcommonsku","email":"alexandra@commonsku.com"},"directories":{},"maintainers":[{"name":"alexcommonsku","email":"alexandra@commonsku.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/design-system-canary_0.1.1_1776699814282_0.4761758255476094"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-20T15:43:34.200Z","0.1.1":"2026-04-20T15:43:34.415Z","modified":"2026-04-20T15:43:34.639Z"},"maintainers":[{"name":"alexcommonsku","email":"alexandra@commonsku.com"}],"description":"React component library for consistent UI at commonsku","license":"UNLICENSED","readme":"# Design System\n\nReact component library for new consistent styles and faster development\n\n## Development\n\nTo create a new component add a new folder under the `lib` folder\n\n## Scripts\n\nThe following scripts are available in this codebase\n\n- `npm run storybook` runs a local version of the storybook documentation\n- `npm run lint` runs linting using eslint\n\n### Below was generated by the vite template it is being left for now in case it is helpful during spinup of this library\n\n## React + TypeScript + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs)\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/)\n\n## React Compiler\n\nThe React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).\n\n## Expanding the ESLint configuration\n\nIf you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:\n\n```js\nexport default defineConfig([\n  globalIgnores(['dist']),\n  {\n    files: ['**/*.{ts,tsx}'],\n    extends: [\n      // Other configs...\n\n      // Remove tseslint.configs.recommended and replace with this\n      tseslint.configs.recommendedTypeChecked,\n      // Alternatively, use this for stricter rules\n      tseslint.configs.strictTypeChecked,\n      // Optionally, add this for stylistic rules\n      tseslint.configs.stylisticTypeChecked,\n\n      // Other configs...\n    ],\n    languageOptions: {\n      parserOptions: {\n        project: ['./tsconfig.node.json', './tsconfig.app.json'],\n        tsconfigRootDir: import.meta.dirname,\n      },\n      // other options...\n    },\n  },\n])\n```\n\nYou can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:\n\n```js\n// eslint.config.js\nimport reactX from 'eslint-plugin-react-x'\nimport reactDom from 'eslint-plugin-react-dom'\n\nexport default defineConfig([\n  globalIgnores(['dist']),\n  {\n    files: ['**/*.{ts,tsx}'],\n    extends: [\n      // Other configs...\n      // Enable lint rules for React\n      reactX.configs['recommended-typescript'],\n      // Enable lint rules for React DOM\n      reactDom.configs.recommended,\n    ],\n    languageOptions: {\n      parserOptions: {\n        project: ['./tsconfig.node.json', './tsconfig.app.json'],\n        tsconfigRootDir: import.meta.dirname,\n      },\n      // other options...\n    },\n  },\n])\n```\n","readmeFilename":"README.md","_rev":"1-63f8a6be075d9bf4cb7a4887ba8a454c"}