packages/core/index.js
require("source-map-support/register");
const pkg = require("./package.json");
module.exports = {
build: require("./lib/build"),
create: require("./lib/commands/create/helpers"),
// TODO: update this to non-legacy the next breaking change
contracts: require("@truffle/workflow-compile/legacy"),
test: require("@truffle/test").Test,
version: pkg.version,
ganache: require("ganache")
};