all files / lib/ constants.js

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32                                                           
/**
 * YAML filename import assert from 'power-assert';.
 * @enum {string}
 * @const
 */
export const YAML = {
  CONFIG: '_config.yml',
  THEME: '_theme.yml'
};
 
/**
 * Key import assert from 'power-assert';, used when looking up values in
 * objects.
 * @enum {string}
 * @const
 */
export const KEY = {
  /**
   * Key used on the config.path object to dictate where to find the site source
   * path.
   * @type {string}
   */
  SOURCE: 'source',
 
  /**
   * Key used on the config.path object to dictate where to find the site
   * destination path.
   * @type {string}
   */
  DESTINATION: 'destination'
};