1.0.9 • Published 2 years ago

dso-core-charts v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

React 图表组件库-插件

图表工具插件开发项目,主要作用是本地调试npm包并上传。 此项目是图表池插件项目,不用编写详细文档,只用预览和功能,然后把组件向外暴露出去。

comment: <> (🚀 在线预览(https://worldzhao.github.io/react-ui-library-tutorial))

Getting Started

Install dependencies,

$ npm i

Start the dev server,

$ npm start

npm包发布

先手动在package.json文件里面升级一下版本号(version),然后发布执行命令即可。

$ npm publish

创建新的图表文件

输入命令然后填写对应的组件名称和描述

$ npm run new

comment: <> (## 概览)

comment: <> (本系列文章主要包含以下内容:)

comment: <> (- 项目初始化: 组件库前期开发准备工作。eslint/commit lint/typescript等等;)

comment: <> (- 开发阶段: 使用 dumi(https://d.umijs.org/zh-CN); 进行开发调试以及文档编写;)

comment: <> (- 打包阶段: 输出umd/cjs/esm产物并支持按需加载;)

comment: <> (- 组件测试: 使用@testing-library/react及其相关生态进行组件测试;)

comment: <> (- 发布 npm: 编写脚本完成发布或直接使用 np(https://www.npmjs.com/package/np); 发布;)

comment: <> (- 部署文档站点: 使用 Github Pages 以及 Github Actions 完成文档站点自动部署。)

comment: <> (- 参考Git(https://github.com/worldzhao/react-ui-library-tutorial))

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago