packages/contract-schema/scripts/generate-declarations
#!/bin/bash
cd spec
json2ts -i contract-object.spec.json -o ./index.d.ts \
--bannerComment "/* tslint:disable */
/**
* This file was automatically generated by json-schema-to-typescript.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run \`yarn prepare\` inside your local packages/contract-schema
*
* @module @truffle/contract-schema/spec
*/ /** */
"