mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
b80b90229f
refs: https://github.com/TryGhost/Toolbox/issues/188 - some of our older packages used a pattern for linting which missed using test config for linting tests - we need this to be consistent so that we can add more eslint rules for testing - two packages also didn't use the lib pattern, which made the lint pattern error - so this was fixed as well
19 lines
508 B
JavaScript
19 lines
508 B
JavaScript
module.exports = {
|
|
ONE_HOUR_S: 3600,
|
|
ONE_DAY_S: 86400,
|
|
ONE_WEEK_S: 604800,
|
|
ONE_MONTH_S: 2628000,
|
|
SIX_MONTH_S: 15768000,
|
|
ONE_YEAR_S: 31536000,
|
|
FIVE_MINUTES_MS: 300000,
|
|
ONE_HOUR_MS: 3600000,
|
|
ONE_DAY_MS: 86400000,
|
|
ONE_WEEK_MS: 604800000,
|
|
ONE_MONTH_MS: 2628000000,
|
|
SIX_MONTH_MS: 15768000000,
|
|
ONE_YEAR_MS: 31536000000,
|
|
STATIC_IMAGES_URL_PREFIX: 'content/images',
|
|
STATIC_MEDIA_URL_PREFIX: 'content/media',
|
|
STATIC_FILES_URL_PREFIX: 'content/files'
|
|
};
|