# monkey-component

> React components library

Latest version **1.0.1** (published 2020-10-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install monkey-component
pnpm add monkey-component
yarn add monkey-component
bun add monkey-component
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-10-22 |
| First published | 2020-10-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 64.8 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | zoulam |
| Maintainers | zoulam |
| Keywords | Component, UI, React |

## Links

- npm: https://www.npmjs.com/package/monkey-component
- Repository: https://github.com/zoulam/MonkeyComponent
- Issues: https://github.com/zoulam/MonkeyComponent/issues
- npm.io page: https://npm.io/package/monkey-component

## Dependencies (6)

- [axios](https://npm.io/package/axios.md) ^0.19.1
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [react-transition-group](https://npm.io/package/react-transition-group.md) ^4.3.0
- [@fortawesome/react-fontawesome](https://npm.io/package/@fortawesome/react-fontawesome.md) ^0.1.8
- [@fortawesome/fontawesome-svg-core](https://npm.io/package/@fortawesome/fontawesome-svg-core.md) ^1.2.26
- [@fortawesome/free-solid-svg-icons](https://npm.io/package/@fortawesome/free-solid-svg-icons.md) ^5.12.0

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-10-22
- 1.0.0 — 2020-10-21

## README

# monkey component library

### 这是一个基于 React + typescript 开发的组件库

[演示文档](https://zoulam.github.io/MonkeyComponent/)
[npm地址](https://www.npmjs.com/package/monkey-component)


### 安装方式
~~~javascript
npm install monkey-component --save
~~~

### 使用方式

~~~javascript
// 加载样式,一般放在 index.js文件下
import 'monkey-component/dist/index.css'
// 引入组件
import { Button } from 'monkey-component'
~~~

### 使用库

| 库名                   | 用途                   |
| ---------------------- | ---------------------- |
| react-testing-library  | 完成单元测试           |
| storybook              | 本地调试和生成文档页面 |
| react-doc-gen          | 自动生成文档           |
| react-fontawesome      | 图标                   |
| react-transition-group | 动画                   |


最后的 npm publish，husky提交发布前验证（做测试和代码lint，**新增**打包storybook），travis实现 CI/CD 集成，发布文档站点等

### 一些本地开发命令

~~~
// 启动本地环境
npm run stroybook

//跑单元测试
npm run test

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

//发布到 npm
npm run publish

// 删除上一次打包的文件
npm run clean

// 命令行校验代码
npm lint

// 打包TS=>ES5、SCSS=>CSS
npm run build

// 非开发环境（CI）测试
npm run test:nowatch

// 只打包TS=>ES5
npm run build build-ts

// 只打包SCSS=>CSS
npm run build-css

// 将storybook打包为静态文件
npm run build-storybook

// 只在 npm publish之前运行（添加上only是避免在CI环境运行）
prepublishOnly
~~~

---
_Source: https://npm.io/package/monkey-component · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
