Skip to content

package.json structure

Dominik Burgdörfer edited this page Mar 23, 2017 · 1 revision
  • penguin field
    • This is the root of the configuration

All the following fields are in the penguin field

  • components This is a object of all the components in your project. The key is the name that you use in your source and the value is the module path.

  • languages This is a mandatory field. It lists all languages of the project. The first language is the default language.

  • globals This is an array of all fields that are global in your project. A field is either a string or an array in the case that it is not localized. Here are samples for both forms:

    • "site-title"
    • ["site-title", { "localized": false }]
Clone this wiki locally