@pendle/core-v2-offchain-math
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

Template for project with Typescript

TODO before use

  • yarn to install (dev)dependencies
  • Change the project name in the package.json.
  • Remove example files in src and test.
  • Change this file (README.md) content.
  • Change the variables name (to fit the project):
    • PROJECT_NAME_NPM_AUTH_TOKEN in .yarnrc.yml.

Features

Format with prettier

yarn format

See .prettierrc and .prettierignore for prettier configuration.

Lint with eslint

yarn lint           # running lint with fixes
yarn lint:nofix     # running lint but without fixes

See .eslintrc.js for eslint configuration. Additionally, the script in package.json, also contains a glob for which files to lint.

This repo uses typescript-eslint with recommended rules. Please make sure to turn off undesired rules.

Type checking

yarn typecheck

Building

yarn build

Github workflow

  • Automatically do yarn lint:nofix and yarn typecheck on push.

Readme

Keywords

none

Package Sidebar

Install

npm i @pendle/core-v2-offchain-math

Weekly Downloads

250

Version

1.0.10

License

MIT

Unpacked Size

514 kB

Total Files

140

Last publish

Collaborators

  • tungtranpendle
  • binh-nh
  • dacpendle
  • tientran3
  • hung3a8-pendle
  • fishmanfrank
  • ayobuenavista
  • cabonara
  • mikan-
  • waynebruce0x
  • huberthalim
  • quangloctran99
  • thuc-pendle
  • woodydark
  • theger14
  • longvh
  • ykloo
  • mrenoon
  • ngfam