truffle-conflux-config
Utility for interacting with truffle-conflux-config.js files
Last updated a year ago by liuis .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install truffle-conflux-config 
SYNC missed versions from official npm registry.

truffle-conflux-config

Utility for interacting with truffle-conflux-config.js files

Usage

const TruffleConfig = require("truffle-conflux-config");

Instantiate default TruffleConfig object

const newConfig = TruffleConfig.default();

Instantiate custom TruffleConfig object

const customConfig = new TruffleConfig("/truffleDirPath", "/currentWorkingDirPath", networkObj);

Config.detect()

// find config file & return new TruffleConfig object with config file settings (cwd)
const truffleConfig = TruffleConfig.detect();

// find config file & return new TruffleConfig object from custom working dir
const truffleConfig = TruffleConfig.detect({ workingDirectory: "./some/Path" });

// find & return new TruffleConfig object from custom named config
const customTruffleConfig = TruffleConfig.detect({}, "./customConfig.js");

Current Tags

  • 0.0.2-alpha.0                                ...           latest (a year ago)

1 Versions

  • 0.0.2-alpha.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (6)
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |