core.js 309 B

123456789101112
  1. 'use strict';
  2. var isCoreModule = require('is-core-module');
  3. var data = require('./core.json');
  4. var core = {};
  5. for (var mod in data) { // eslint-disable-line no-restricted-syntax
  6. if (Object.prototype.hasOwnProperty.call(data, mod)) {
  7. core[mod] = isCoreModule(mod);
  8. }
  9. }
  10. module.exports = core;