peanut-cl
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Peanut-Cl

🥜 peanut-cl , a react component library 此刻尽丝滑!

安装已经发布的组件库来试试

npm install peanut-cl --save

使用

// 加载样式
import 'peanut-cl/dist/index.css'

// 引入组件
import { Button } from 'peanut-cl'

技术点

  • 😁 typescript with React Hooks
  • 🍑 使用 react-testing-library 完成单元测试
  • 🦌 使用 storybook 本地调试和生成文档页面
  • 🥦 使用 react-doc-gen 自动生成文档
  • 🥭 使用第三方库扩充组件-(react-fontawesome, react-transition-group)

一些本地开发命令

// 启动本地环境
npm run stroybook

// 单元测试
npm test

// build 可发布静态文件
npm run build

// 发布到 npm
npm run publish

/peanut-cl/

    Package Sidebar

    Install

    npm i peanut-cl

    Weekly Downloads

    2

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    56 kB

    Total Files

    49

    Last publish

    Collaborators

    • echo_xsm