3
var _ = require('lodash'),
4
mapping = require('./mapping'),
5
util = require('./util'),
8
/*----------------------------------------------------------------------------*/
10
/** List of all function property dependencies. */
11
exports.funcDeps = _.uniq(_.flatMap(mapping.funcDep)).sort();
13
/** List of all variable dependencies. */
14
exports.varDeps = _.uniq(_.flatMap(mapping.varDep)).sort();
16
/** List of `exports` options. */
17
exports.buildExports = new Hash({
56
/** List of build flags. */
57
exports.buildFlags = [
62
'-d', '--development',
71
/** List of ES3 built-ins. */
90
/** List of all function categories. */
91
exports.categories = _.keys(mapping.category).sort();
93
/** List of variables with complex assignments. */
94
exports.complexVars = [
102
/** List of functions included in the "core" build. */
103
exports.coreFuncs = [
168
/** List of all functions. */
169
exports.funcs = _.filter(_.difference(_.keys(mapping.funcDep), exports.varDeps).sort(), function(key) {
170
var type = typeof _.prototype[key];
171
return type == 'function' || type == 'undefined';
174
/** List of lodash functions included by default. */
175
exports.includes = _.intersection(exports.funcs, _.concat(
177
_.functions(_.prototype),
178
mapping.category.Seq,
182
/** List of dependencies that should not cause a minor bump when changed. */
183
exports.laxSemVerDeps = [
228
/** List of properties to escape from minification. */
229
exports.minifyEscapes = _.union(
232
_.keys(_.templateSettings), [
305
'isConcatSpreadable',
338
/** List of functions that support argument placeholders. */
339
exports.placeholderFuncs = [
348
/* Used to designate dependencies at the top level. */
349
exports.topLevelDeps = [
353
/** List of uninlinable dependencies. */
354
exports.uninlinables = [