1.1.20 • Published 5 years ago

truffle-config v1.1.20

Weekly downloads
1,916
License
MIT
Repository
github
Last release
5 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

5 years ago

1.1.20

6 years ago

1.0.8

6 years ago

1.1.19

6 years ago

1.1.18

6 years ago

1.1.17

6 years ago

1.1.16

6 years ago

1.1.15

6 years ago

1.1.15-ens.0

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.0.7

6 years ago

1.1.0

6 years ago

1.1.0-next.1

7 years ago

1.1.0-next.0

7 years ago

1.1.0-beta.2

7 years ago

1.1.0-beta.1

7 years ago

1.1.0-beta.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago