1.0.35 • Published 5 years ago

truffle-box v1.0.35

Weekly downloads
44
License
MIT
Repository
github
Last release
5 years ago

truffle-box

Truffle Box management functionality.

Provides behavior for unboxing a new project from a predefined Truffle Box.

Box Configuration

Truffle Boxes are configured via an optional truffle-box.json file in the box repo's root directory.

This box configuration file specifies an object containing the following properties:

  • ignore

    A list of relative paths to files that should be removed upon box unpack. Useful to remove box READMEs or other artifacts that pertain to box but not the set-up Truffle project.

    Example:

    "ignore": [
      "README.md",
      ".gitignore"
    ]
  • commands

    An object mapping supported behaviors for project to invoked command strings.

    truffle unbox prints commands to screen upon unboxing for documentation purposes.

    Example:

    "commands": {
      "compile": "truffle compile",
      "migrate": "truffle migrate",
      "test": "truffle test"
    }
  • hooks

    An object to specify commands to run at particular steps in the unbox process. Maps strings identifying individual hooks to command strings.

    Example:

    "hooks": {
      "post-unpack": "npm install"
    }

Available Unbox Hooks

  • post-unpack

    If provided, runs command after box files are fetched and cleaned up for a new project.

    Commonly useful to install dependencies, e.g.

1.0.9-v4.0

5 years ago

1.0.8-alpha.1

6 years ago

1.0.35

6 years ago

1.0.34

6 years ago

1.0.33

6 years ago

1.0.32

6 years ago

1.0.31

6 years ago

1.0.31-ens.0

6 years ago

1.0.30

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8-alpha.0

6 years ago

1.0.8

6 years ago

1.0.8-beta.2

7 years ago

1.0.8-beta.1

7 years ago

1.0.8-beta.0

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 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