@injectivelabs/utils

v1.11.2-beta.0
List of utils and helper functions that can be reused throughout Injective's projects.

dev

ts-node-dev -r tsconfig-paths/register src/index.ts

test

jest

build

tsc --build tsconfig.build.json && tsc --build tsconfig.build.esm.json && yarn build:post && link-module-alias

clean

tsc --build tsconfig.build.json --clean && tsc --build tsconfig.build.esm.json --clean && shx rm -rf coverage *.log junit.xml dist && jest --clearCache && shx mkdir -p dist

start

node dist/index.js

test:ci

jest --coverage --ci --reporters='jest-junit'

coverage

jest --coverage

build:post

shx cp ../../etc/stub/package.json.stub dist/cjs/package.json && shx cp ../../etc/stub/package.esm.json.stub dist/esm/package.json

test:watch

jest --watch

build:watch

tsc --build -w tsconfig.build.json && tsc -w --build tsconfig.build.esm.json && yarn build:post && link-module-alias

postinstall

link-module-alias

coverage:show

live-server coverage
npm i @injectivelabs/[email protected]

Metadata

Downloads