Files
atom/docs/packages/package_json.md
Garen Torikian & Nathan Sobo e12d779f00 Add listing of package.json keys
2013-05-08 15:07:55 -07:00

1000 B

package.json format

The following keys are available to your package's package.json manifest file:

  • main (Required): the path to the CoffeeScript file that's the entry point to your package
  • stylesheets (Optional): an Array of Strings identifying the order of the stylesheets your package needs to load. If not specified, stylesheets in the stylesheets directory are added alphabetically.
  • keymaps(Optional): an Array of Strings identifying the order of the key mappings your package needs to load. If not specified, mappings in the keymaps directory are added alphabetically.
  • snippets (Optional): an Array of Strings identifying the order of the snippets your package needs to load. If not specified, snippets in the snippets directory are added alphabetically.
  • activationEvents (Optional): an Array of Strings identifying events that trigger your package's activation. You can delay the loading of your package until one of these events is trigged.