@mchappell/golden-test-generator

v0.3.0
Generate golden test files for a range of Cardano concepts

build:esm

tsc -p src/tsconfig.json --outDir ./dist/esm --module es2020

build:cjs

tsc --build src

build

run-s build:cjs build:esm module-fixup

module-fixup

shx cp ../../build/cjs-package.json ./dist/cjs/package.json && cp ../../build/esm-package.json ./dist/esm/package.json

tscNoEmit

shx echo typescript --noEmit command not implemented yet

cleanup:dist

shx rm -rf dist

cleanup:nm

shx rm -rf node_modules

cleanup

run-s cleanup:dist cleanup:nm

dev

API_PORT=3000 OGMIOS_HOST=localhost OGMIOS_PORT=1337 ts-node-dev ./src/index.ts

lint

shx echo linting disabled in this package temporarily

lint:fix

shx echo linting disabled in this package temporarily

prepkg

yarn build

pkg

yarn build && pkg -o build/golden-test-generator .

prestart

yarn build

start

API_PORT=3000 OGMIOS_HOST=localhost OGMIOS_PORT=1337 ts-node ./src/index.ts

prepack

yarn build

pretest

yarn build

test

jest -c ./jest.config.js

test:e2e

shx echo 'test:e2e' command not implemented yet

coverage

shx echo No coverage report for this package
npm i @mchappell/golden-test-generator

Metadata

  • MPL-2.0
  • ^14
  • Rhys Bartels-Waller
  • released 6/16/2022

Downloads

Maintainers