# antd-test-demo

Latest version **1.2.3** (published 2020-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install antd-test-demo
pnpm add antd-test-demo
yarn add antd-test-demo
bun add antd-test-demo
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.3 |
| Published | 2020-08-17 |
| First published | 2020-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 628.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lawliet |
| Maintainers | lawlietcos |

## Links

- npm: https://www.npmjs.com/package/antd-test-demo
- npm.io page: https://npm.io/package/antd-test-demo

## Dependencies (7)

- [antd](https://npm.io/package/antd.md) ^4.5.4
- [react](https://npm.io/package/react.md) ^16.13.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.13.1
- [react-hot-loader](https://npm.io/package/react-hot-loader.md) ^4.12.21
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^5.2.0
- [@hot-loader/react-dom](https://npm.io/package/@hot-loader/react-dom.md) ^16.13.0
- [@csstools/normalize.css](https://npm.io/package/@csstools/normalize.css.md) ^10.1.0

## Recent versions

- 1.2.3 (latest) — 2020-08-17

## README

<div align="center">

# create-react-ts-webpack-npm-package

</div>

使用 webpack 打包 react+typescript 的 npm 包

## 特性

- 使用 typescript 进行开发
- 使用 postcss 同时兼容 less scss 处理
- 使用 prettier 统一格式化代码
- 采用 webapck 构建
- 使用 precommit 钩子自动 Lint、格式化代码

## 构建与发布说明

### 安装

进入到项目根目录，安装依赖。（自动安装子项目依赖）

```
yarn install
```

### 开发

```
yarn start
```

### 发布

1. 首先打包

```
yarn build
```

2. 构建且发布到 npm 镜像

```
yarn publish
```

## 开发说明

1. index.tsx 文件可以作为发布的出口，注意发布时要注释掉 render 部分， render 部分只作为开发时的依赖

### 參考

- [从零开始配置 react + typescript（三）：webpack](https://lyreal666.com/从零开始配置-react-typescript（三）：webpack/)
-

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