# lapnn-dao-proposal

> ## Development

Latest version **0.2.2** (published 2022-06-28) · 0 weekly downloads

## Install

```sh
npm install lapnn-dao-proposal
pnpm add lapnn-dao-proposal
yarn add lapnn-dao-proposal
bun add lapnn-dao-proposal
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2022-06-28 |
| First published | 2022-06-27 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 693.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ngo Lap Nguyen |
| Maintainers | ngolapnguyen |

## Links

- npm: https://www.npmjs.com/package/lapnn-dao-proposal
- npm.io page: https://npm.io/package/lapnn-dao-proposal

## Dependencies (8)

- [ethers](https://npm.io/package/ethers.md) ^5.6.9
- [classnames](https://npm.io/package/classnames.md) ^2.3.1
- [react-modal](https://npm.io/package/react-modal.md) ^3.15.1
- [@tippyjs/react](https://npm.io/package/@tippyjs/react.md) ^4.2.6
- [react-hook-form](https://npm.io/package/react-hook-form.md) ^7.33.0
- [@heroicons/react](https://npm.io/package/@heroicons/react.md) ^1.0.6
- [styled-components](https://npm.io/package/styled-components.md) ^5.3.5
- [@tinymce/tinymce-react](https://npm.io/package/@tinymce/tinymce-react.md) ^4.1.0

## Recent versions

- 0.2.2 (latest) — 2022-06-28
- 0.2.1 — 2022-06-28
- 0.2.0 — 2022-06-28
- 0.1.36 — 2022-06-27
- 0.1.35 — 2022-06-27
- 0.1.34 — 2022-06-27
- 0.1.33 — 2022-06-27
- 0.1.32 — 2022-06-27
- 0.1.30 — 2022-06-27
- 0.1.29 — 2022-06-27
- 0.1.28 — 2022-06-27
- 0.1.27 — 2022-06-27

## README

# Development Guide

## Development

```bash
yarn
# then
yarn dev
```

## Build

```bash
yarn
# then
yarn build
```

## Publish

We are using `clean-publish` to make sure `react` (together with other unneeded stuff) is excluded in the published `package.json`:

```bash
npm run publish
```

## Troubleshootting

### I see no `react` in `depedencies` and `devDependencies`, how can we run the project locally?

Having `react` in `dependencies` and `devDependencies` will cause issues while we try to test the lib out locally (e.g. installing to another project). Biggest problem is the app will see 2 different instance of React, one from itself & one from the lib. Things like hooks will stop working. Therefore, it's best we only specify `react` as `peerDependencies`.

_So that's the problem, what's the solution?_

Just symlink `react` and `react-dom` from other projects' `node_modules`:

```bash
npm link ../project_that_uses_the_lib/node_modules/react
npm link ../project_that_uses_the_lib/node_modules/react-dom
```

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