use-dpr
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

use-dpr

医患链内部react hooks抽象

目录结构

|-- scripts                               # prettier脚本
|-- src                                   # 开发目录
|   |-- hooks                             # hooks源码
|-- .gitignore                            # git忽略文件
|-- .prettierignore                       # 代码风格配置忽略文件
|-- .prettierrc                           # 代码风格配置文件
|-- .stylelintrc                          # 样式风格配置文件
|-- commitlint.config.js                  # 代码提交规范配置文件
|-- tsconfig.json                         # ts配置页面
|-- tslint.json                           # tslint规则
|-- package.json                          # 依赖及配置
|-- README.md                             # 简介

使用

 
// 安装项目
git clone --depth=1 git@192.168.1.209:m/use-dpr.git
 
cd use-dpr
 
// 检出依赖
yarn
 
// 打包
yarn build
 
// 更多命令可在package.json中查看

提交

 
git add .
 
//提交做了预校验,须填写必要的信息,请参考 commitlint.config.js
git commit "feat: xxx"
 
git push

typescript

使用了TypeScript,TypeScript

Readme

Keywords

none

Package Sidebar

Install

npm i use-dpr

Weekly Downloads

1

Version

0.1.6

License

MIT

Unpacked Size

231 kB

Total Files

43

Last publish

Collaborators

  • ivliu