# parax-perp

> ParaX Mini App Template

Latest version **0.1.40** (published 2023-12-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install parax-perp
pnpm add parax-perp
yarn add parax-perp
bun add parax-perp
```

## 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.1.40 |
| Published | 2023-12-23 |
| First published | 2023-10-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.17.0 |
| Dependencies | 5 |
| Unpacked size | 650.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Parallel Finance |
| Maintainers | para-space |

## Links

- npm: https://www.npmjs.com/package/parax-perp
- Repository: https://github.com/parallel-finance/parax-mini-app
- Homepage: https://github.com/parallel-finance/parax-mini-app#readme
- Issues: https://github.com/parallel-finance/parax-mini-app/issues
- npm.io page: https://npm.io/package/parax-perp

## Dependencies (5)

- [dayjs](https://npm.io/package/dayjs.md) ^1.11.4
- [@apollo/client](https://npm.io/package/@apollo/client.md) ^3.8.6
- [react-toastify](https://npm.io/package/react-toastify.md) ^9.1.3
- [lightweight-charts](https://npm.io/package/lightweight-charts.md) ^4.1.1
- [react-use-websocket](https://npm.io/package/react-use-websocket.md) ^4.5.0

## Recent versions

- 0.1.40 (latest) — 2023-12-23
- 0.1.39 — 2023-12-23
- 0.1.38 — 2023-12-01
- 0.1.37 — 2023-11-30
- 0.1.36 — 2023-11-29
- 0.1.35 — 2023-11-29
- 0.1.34 — 2023-11-29
- 0.1.33 — 2023-11-29
- 0.1.32 — 2023-11-29
- 0.1.31 — 2023-11-22
- 0.1.30 — 2023-11-22
- 0.1.29 — 2023-11-22
- 0.1.28 — 2023-11-22
- 0.1.27 — 2023-11-22
- 0.1.26 — 2023-11-22
- … 24 more at https://npm.io/package/parax-perp/versions

## README

# ParaX Mini App Template

## Usage

This is a **sub-project** and it can't run on its own. It needs to be integrated into the **main project**.

### 1. Dev

#### 1.1 Link

Make the main project link to this sub-project

```sh
# cd <this project>
cd <your-sub-project-dir>
pnpm install
pnpm build # or pnpm dev
pnpm link --dir <your-main-project-dir>
# example: pnpm link --dir ../parax
```

Once the sub-project is linked, you can run the main project to see the changes.
> Note: You need to run `pnpm build` every time you make changes to the sub-project

#### 1.2 Unlink

```sh
cd <your-main-project-dir>
pnpm unlink <your-sub-project-dir>
# example: pnpm unlink ../parax-mini-app

# or
cd <your-sub-project-dir>
pnpm unlink --dir <your-main-project-dir>
# example: pnpm unlink --dir ../parax
```

### 2. Prod

Publish as a npm package (e.g. `parax-mini-app`), and install it in the main project

`pnpm add parax-mini-app`

### 3. Integration

```ts
import miniApp from 'parax-mini-app';
import { AppPackage } from 'parax-sdk';

const miniAppPKG: AppPackage = { ...miniApp, icon: `design/logo/${miniApp.icon}` }
```

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