{"_id":"@cm-ds/cm-ds-foundation","_rev":"2-e216e7d620f5102306e620fcea2aa190","name":"@cm-ds/cm-ds-foundation","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@cm-ds/cm-ds-foundation","version":"0.1.0","_id":"@cm-ds/cm-ds-foundation@0.1.0","maintainers":[{"name":"harrychuang-cm","email":"harry_chuang@cmoney.com.tw"}],"dist":{"shasum":"ddcef661cf042ac2ead21cc5bd7ab56799a2822f","tarball":"https://registry.npmjs.org/@cm-ds/cm-ds-foundation/-/cm-ds-foundation-0.1.0.tgz","fileCount":50,"integrity":"sha512-zUObewYXlsDiipheWHDSOmlkgBMuPNzPvVJYFrWFDtmcNeJ+eLp1JrhIWOF/3QvCqMeHI5iHg8NdKAtXUIf6YA==","signatures":[{"sig":"MEUCIBe1J7HmJZ+5JphRRy8f0XxV8rh6OJXpXkcG/qgDCjUhAiEA2k/x5YyU3bp8Uhf4x+wCuKdM4crBZ6DftNiQulT4FCw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2251404},"type":"module","types":"./dist-lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist-lib/index.d.ts","import":"./dist-lib/index.js"},"./styles.css":"./dist-lib/index.css","./tokens.css":"./src/tokens/index.css","./tokens/foundation-default.css":"./src/tokens/entry-foundation-default.css"},"gitHead":"ae98532a0aedab6a6b12fffbd1692e29960a0eb8","scripts":{"dev":"vite","lint":"eslint .","build":"tsc -b && vite build","preview":"vite preview","build:lib":"vite build --config vite.lib.config.ts","storybook":"storybook dev -p 6006","build:tokens":"node sd.build.js","prestorybook":"npm run build:tokens","verify:tokens":"npm run build:tokens && node scripts/assert-dist-tokens.mjs","build-storybook":"storybook build","illust:generate":"node scripts/generate-illustration.mjs","build:tokens:watch":"node --watch sd.build.js","storybook:clean-cache":"rm -rf node_modules/.cache/storybook"},"_npmUser":{"name":"harrychuang-cm","email":"harry_chuang@cmoney.com.tw"},"_npmVersion":"11.11.0","description":"Foundation design-system components, tokens, and Storybook lab","directories":{},"_nodeVersion":"24.14.1","dependencies":{"lightweight-charts":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.4","react":"^19.2.4","dotenv":"^17.4.2","eslint":"^9.39.4","vitest":"^4.1.4","globals":"^17.4.0","react-dom":"^19.2.4","storybook":"^10.3.5","@eslint/js":"^9.39.4","playwright":"^1.59.1","remark-gfm":"^4.0.1","typescript":"~6.0.2","@types/node":"^24.12.2","@types/react":"^19.2.14","@google/genai":"^1.50.1","@xyflow/react":"^12.10.2","react-markdown":"^10.1.0","vite-plugin-dts":"^4.5.4","@types/react-dom":"^19.2.3","style-dictionary":"^4.4.0","typescript-eslint":"^8.58.0","@vitest/coverage-v8":"^4.1.4","@vitejs/plugin-react":"^6.0.1","@storybook/addon-a11y":"^10.3.5","@storybook/addon-docs":"^10.3.5","@storybook/react-vite":"^10.3.5","@storybook/addon-vitest":"^10.3.5","eslint-plugin-storybook":"^10.3.5","@chromatic-com/storybook":"^5.1.2","eslint-plugin-react-hooks":"^7.0.1","@vitest/browser-playwright":"^4.1.4","eslint-plugin-react-refresh":"^0.5.2"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/cm-ds-foundation_0.1.0_1776664084119_0.08786259208353742","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@cm-ds/cm-ds-foundation","version":"0.1.1","type":"module","description":"Foundation design-system components, tokens, and Storybook lab","types":"./dist-lib/index.d.ts","scripts":{"dev":"vite","build":"tsc -b && vite build","lint":"eslint .","preview":"vite preview","prestorybook":"npm run build:tokens","storybook":"storybook dev -p 6006","storybook:clean-cache":"rm -rf node_modules/.cache/storybook","build-storybook":"storybook build","build:tokens":"node sd.build.js","build:tokens:watch":"node --watch sd.build.js","verify:tokens":"npm run build:tokens && node scripts/assert-dist-tokens.mjs","build:lib":"vite build --config vite.lib.config.ts","illust:generate":"node scripts/generate-illustration.mjs"},"peerDependencies":{"react":"^18.0.0 || ^19.0.0","react-dom":"^18.0.0 || ^19.0.0"},"peerDependenciesMeta":{"react":{"optional":false},"react-dom":{"optional":false}},"exports":{".":{"types":"./dist-lib/index.d.ts","import":"./dist-lib/index.js"},"./styles.css":"./dist-lib/index.css","./tokens.css":"./src/tokens/index.css","./tokens/foundation-default.css":"./src/tokens/entry-foundation-default.css"},"engines":{"node":">=20"},"publishConfig":{"access":"public"},"dependencies":{"lightweight-charts":"^5.1.0"},"devDependencies":{"@chromatic-com/storybook":"^5.1.2","@eslint/js":"^9.39.4","@google/genai":"^1.50.1","@storybook/addon-a11y":"^10.3.5","@storybook/addon-docs":"^10.3.5","@storybook/addon-vitest":"^10.3.5","@storybook/react-vite":"^10.3.5","@types/node":"^24.12.2","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1","react":"^19.2.4","react-dom":"^19.2.4","react-markdown":"^10.1.0","remark-gfm":"^4.0.1","@vitest/browser-playwright":"^4.1.4","@vitest/coverage-v8":"^4.1.4","@xyflow/react":"^12.10.2","dotenv":"^17.4.2","eslint":"^9.39.4","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-react-refresh":"^0.5.2","eslint-plugin-storybook":"^10.3.5","globals":"^17.4.0","playwright":"^1.59.1","storybook":"^10.3.5","style-dictionary":"^4.4.0","typescript":"~6.0.2","typescript-eslint":"^8.58.0","vite":"^8.0.4","vite-plugin-dts":"^4.5.4","vitest":"^4.1.4"},"gitHead":"ae98532a0aedab6a6b12fffbd1692e29960a0eb8","_id":"@cm-ds/cm-ds-foundation@0.1.1","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-j5bMCiWbCY+UHzmSO2eaGodPIcmabdrhl2nhMXOIZsfzj1Cv0HSpySyYDIUCj67l76w+RkpJwMNBH2P2tAf0+Q==","shasum":"ed67341bdc9eaab4d5f7e58785ca3bf7a99bea9d","tarball":"https://registry.npmjs.org/@cm-ds/cm-ds-foundation/-/cm-ds-foundation-0.1.1.tgz","fileCount":51,"unpackedSize":2256765,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGI9YKT9t5eQYrJv3Uofo0SJXUqm7XfT5NHZI7xGtqHNAiBrskrL0k8CkEExoLum5/1DqImZHpIC424muWYDaqeyEQ=="}]},"_npmUser":{"name":"harrychuang-cm","email":"harry_chuang@cmoney.com.tw"},"directories":{},"maintainers":[{"name":"harrychuang-cm","email":"harry_chuang@cmoney.com.tw"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cm-ds-foundation_0.1.1_1776664663792_0.637232394353918"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-20T05:48:04.007Z","modified":"2026-04-20T05:57:44.117Z","0.1.0":"2026-04-20T05:48:04.292Z","0.1.1":"2026-04-20T05:57:43.968Z"},"description":"Foundation design-system components, tokens, and Storybook lab","maintainers":[{"name":"harrychuang-cm","email":"harry_chuang@cmoney.com.tw"}],"readme":"# 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"}