Package Exports
- @paintswap/estfor-definitions
- @paintswap/estfor-definitions/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@paintswap/estfor-definitions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
estfor-definitions
Types and Constants for Estfor
Build
yarn buildPublish to NPM (--access=public needed the first time)
yarn publishDev use locally using yarn
From library root:
yarn linkFrom project root:
yarn link @paintswap/estfor-definitionsDev use locally using yalc
From library root:
yalc publishFrom project root:
yalc link @paintswap/estfor-definitionsPush live updates to projects (library root)
yarn build
yalc pushRestore NPM version
yarn add @paintswap/estfor-definitionsNormal Usage
yarn add @paintswap/estfor-definitions
import { EstforConstants, EstforTypes } from '@paintswap/estfor-definitions'
const { LOG } = EstforConstants
const LOG = EstforConstants.LOGCan also do single imports:
import { LOG } from '@paintswap/estfor-definitions/dist/constants'
import { Skill } from '@paintswap/estfor-definitions/dist/types'