-
Notifications
You must be signed in to change notification settings - Fork 1
Package JSON Reference
{
"name": "coffee-script",
"version": "1.1.1",
"description": "Unfancy JavaScript",
"author": "Jeremy Ashkenas",
"homepage": "http://coffeescript.org",
"directories": {
"lib": []
},
"bpm:build": {
"bpm_libs.js": {
"files": []
}
}
}
Name of your project.
String with the version number of your pacakge.
Short text description of your package.
More detailed package overview.
Name of the author.
Package homepage.
Array of keywords to describe your package.
Array of license hashes. Each hash has the following attributes:
- type
- url
Relative path to main JS file. (Used by Spade) Defaults to lib/main.js
Hash of bin commands with relative path.
Directory mappings for your project. Keys are 'lib', 'css', 'tests'. Values are relative path to the directory. 'lib' may be an array.
Undocumented
Information on what files BPM should generate. Consists of a hash where key is the file name and the value is another hash. The value hash at minimum, must contain a files array listing all files that will be compiled to create the file.
"bpm_libs.js": {
"files": [
"lib"
]
}
- transport
- minifier
- preprocessors
- postprocessors
- format:SUFFIX
SUFFIX is the format file suffix. For instance, a text file format would be defined as
format:txt. The value is the relative path to the formatter.
Example:
"bpm:provides": {
"transport": {
"main": "spade/transport"
}
}
Specify a specific transport to be used by the package.
Hash of dependencies. Key is dependency name, value is version matcher.