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

1.0.15 • 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

212

Version

1.0.15

License

MIT

Unpacked Size

546 kB

Total Files

155

Last publish

Collaborators

  • longvh
  • ykloo
  • yahuy-pendle
  • mrenoon
  • ngfam
  • woodydark
  • huberthalim
  • quangloctran99
  • thuc-pendle
  • dev-pendle
  • fishmanfrank
  • seejayd3v
  • mikan-
  • dacpendle
  • cabonara
  • binh-nh
  • ayobuenavista
  • tungtranpendle
  • hiep-pendle
  • hung3a8-pendle
  • tientran3
  • andytranpendle
  • duykhanh-pendle