1.1.20 • Published 4 years ago

truffle-config v1.1.20

Weekly downloads
1,916
License
MIT
Repository
github
Last release
4 years ago

truffle-config

Utility for interacting with truffle-config.js files

Usage

const TruffleConfig = require("truffle-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");
1.0.9

4 years ago

1.1.20

5 years ago

1.0.8

5 years ago

1.1.19

5 years ago

1.1.18

5 years ago

1.1.17

5 years ago

1.1.16

5 years ago

1.1.15

5 years ago

1.1.15-ens.0

5 years ago

1.1.14

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.7

5 years ago

1.1.0

5 years ago

1.1.0-next.1

5 years ago

1.1.0-next.0

5 years ago

1.1.0-beta.2

5 years ago

1.1.0-beta.1

6 years ago

1.1.0-beta.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago