Commandbox Box.json
Commandbox used with cli, cfml web servers and modules
Validate with Lintel
npx @lintel/lintel check
Configuration file for a CFML package
Properties
The name of the package
ForgeBox unique slug
Semantic version of your package
Author of this package
Location of where to download the package. Overrides ForgeBox location
Install directory where this package should be placed once installed. If not defined, it installs were the CommandBox command was executed.
This determines if the container directory will contain a sub-directory according to the package slug name. The default is true
This name will be used for the package sub-directory instead of the slug name
Project homepage URL
Documentation URL
Source repository
2 nested properties
The version control system. Popular examples are git, svn, or mercurial
The URL at which the repository resides
Bug issue management URL
ForgeBox short description
ForgeBox big description. If not set, it can be taken from a Readme.md, Readme, or Readme.txt
Install instructions. If not set, it can be taken from a instructions.md, instructions, or instructions.txt
Change log. If not set, it can be taken from a changelog.md, changelog, or changelog.txt
ForgeBox contribution type
ForgeBox keywords
[]
Designates the package as a private ForgeBox package. Private packages are not publicly accessible, but still offer all the benefits of ForgeBox.
The name of the default CFML engine for the start command to use.
Deprecated. The HTTP port the server will be started on when you use the start command. Use port in server.json instead.
Default project URL if not using CommandBox start server commands
List of licenses the package can have
[]
Dependencies are specified with a package name/slug to version range, local file path, URL, or Git/SVN endpoint. The version range is a string which has one or more space-separated descriptors.
Dependencies are specified with a package name/slug to version range, local file path, URL, or Git/SVN endpoint. The version range is a string which has one or more space-separated descriptors.
Tracks install locations so uninstall can work. The key is the package name/slug and the value is the path
{}
Set of script commands that correspond to the interception points in CommandBox or arbitrary names that can be run with the run-script command
{}
10 nested properties
Run BEFORE the package is installed
Run WHILE the package is installed
Run AFTER the package is installed
Run BEFORE the package is uninstalled
Run AFTER the package is uninstalled
Run BEFORE bump the package version
Run AFTER bump the package version, but BEFORE Git repo is tagged
Run AFTER bump the package version and AFTER Git repo is tagged
Run BEFORE the package is published
Run AFTER the package is published
List of file globs to ignore when installing the package similar to .gitignore patterns
[]
TestBox integration
3 nested properties
The URI location of the test runner for an app or several with slug names
A list of labels to only include when running the tests
A list of labels to exclude when running the tests
Configuration object for CF Migration database settings.
4 nested properties
Location of generated migration files that migration commands will use.
Location of generated migration files that migration commands will use.
4 nested properties
Name of the qb service to use for grammar.
Definitions
CFML engine the package supports
The name of the engine
The semantic version of the engine that is supported
Dependencies are specified with a package name/slug to version range, local file path, URL, or Git/SVN endpoint. The version range is a string which has one or more space-separated descriptors.
A person who has been involved in creating or maintaining this package
Name of the person
URL for the person
Email address of the person