lodash.js 1.45 KB
Newer Older
NGPixel's avatar
NGPixel committed
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
'use strict'

// ====================================
// Load minimal lodash
// ====================================

import cloneDeep from 'lodash/cloneDeep'
import concat from 'lodash/concat'
import debounce from 'lodash/debounce'
import deburr from 'lodash/deburr'
import delay from 'lodash/delay'
import filter from 'lodash/filter'
import find from 'lodash/find'
import findKey from 'lodash/findKey'
import forEach from 'lodash/forEach'
import includes from 'lodash/includes'
import isBoolean from 'lodash/isBoolean'
import isEmpty from 'lodash/isEmpty'
import isNil from 'lodash/isNil'
import join from 'lodash/join'
import kebabCase from 'lodash/kebabCase'
import last from 'lodash/last'
import map from 'lodash/map'
import nth from 'lodash/nth'
import pullAt from 'lodash/pullAt'
import reject from 'lodash/reject'
import slice from 'lodash/slice'
import split from 'lodash/split'
import startCase from 'lodash/startCase'
30
import startsWith from 'lodash/startsWith'
NGPixel's avatar
NGPixel committed
31 32 33 34 35 36 37 38
import toString from 'lodash/toString'
import toUpper from 'lodash/toUpper'
import trim from 'lodash/trim'

// ====================================
// Build lodash object
// ====================================

39
module.exports = {
NGPixel's avatar
NGPixel committed
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
  deburr,
  concat,
  cloneDeep,
  debounce,
  delay,
  filter,
  find,
  findKey,
  forEach,
  includes,
  isBoolean,
  isEmpty,
  isNil,
  join,
  kebabCase,
  last,
  map,
  nth,
  pullAt,
  reject,
  slice,
  split,
  startCase,
63
  startsWith,
NGPixel's avatar
NGPixel committed
64 65 66 67
  toString,
  toUpper,
  trim
}