874
edits
(added more) |
(→Packages: changed section heirarchy a bit) |
||
| Line 51: | Line 51: | ||
At the moment, package ''management'' functionality is outside the scope of cfx. This means that it is currently the developer's responsibility to manually manage the installation, removal, and updating of packages on their own. | At the moment, package ''management'' functionality is outside the scope of cfx. This means that it is currently the developer's responsibility to manually manage the installation, removal, and updating of packages on their own. | ||
=== Manifest === | |||
Each package directory must contain a JSON file called <tt>package.json</tt>, which specifies package metadata. | Each package directory must contain a JSON file called <tt>package.json</tt>, which specifies package metadata. | ||
| Line 79: | Line 77: | ||
* <tt>main</tt> - a String representing a top-level module directory that contains a program module. Defaults to <tt>"main"</tt>. | * <tt>main</tt> - a String representing a top-level module directory that contains a program module. Defaults to <tt>"main"</tt>. | ||
=== Modules === | |||
All modules in cfx are [http://wiki.commonjs.org/wiki/Modules/1.1 CommonJS modules]. | All modules in cfx are [http://wiki.commonjs.org/wiki/Modules/1.1 CommonJS modules]. | ||
edits