@hezebin/doraemon
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

doraemon

河泽冰 下一些常用的组件、工具函数、常量等,基于 dumi 构建,并引入 vite 解决组件库庞大后在开发阶段的调试热更新缓慢的问题。

开发

# install dependencies
$ yarn install

# develop library by vite
$ yarn dev

# develop library by docs demo
$ yarn start

# build library source code
$ yarn run build

# build library source code in watch mode
$ yarn run build:watch

# build docs
$ yarn run docs:build

# Locally preview the production build.
$ yarn run docs:preview

# check your project for potential problems
$ yarn run doctor

发布

1.切换npm源为官方:

yrm use npm

npm config set registry https://registry.npmjs.org

2.登录

npm login
# Username: ihezebin
# Email: 86744316@qq.com

3.发布

npm publish --access public

4.发布结束后切回淘宝源

yrm use taobao

npm config set registry  https://registry.npmmirror.com/

使用

yarn add @hezebin/doraemon
import { Test } from '@hezebin/doraemon';

<Test></Test>

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @hezebin/doraemon

Weekly Downloads

9

Version

1.3.1

License

MIT

Unpacked Size

159 kB

Total Files

40

Last publish

Collaborators

  • ihezebin