@xchainjs/xchain-thornode
v0.1.0-alpha2 XChain Thornode
lint
eslint "{src,__tests__}/**/*.ts" --fix --max-warnings 0
test
jest --passWithNoTests
build
yarn clean && rollup -c
clean
rimraf lib/**
generate:types
yarn clean:types:thornode && yarn generate:types:convertToJson && yarn generate:types:thornode && yarn clean:types:tempFiles
prepublishOnly
yarn run build
clean:types:thornode
rimraf ./src/generated/thornodeApi
clean:types:tempFiles
rimraf ./input.yaml ./input.json
generate:types:thornode
TS_POST_PROCESS_FILE=./node_modules/.bin/prettier openapi-generator-cli generate -i ./input.json -g typescript-axios -o ./src/generated/thornodeApi --reserved-words-mappings in=in
generate:types:convertToJson
curl 'https://thornode.ninerealms.com/thorchain/doc/openapi.yaml' > ./input.yaml && yaml2json ./input.yaml --pretty > ./input.json