generator-folklore 3.0.46 → 3.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
- var _lodash = _interopRequireDefault(require("lodash"));
8
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
9
9
  var _path = _interopRequireDefault(require("path"));
10
10
  var _generator = _interopRequireDefault(require("../../lib/generator"));
11
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -170,9 +170,9 @@ class HTMLProjectGenerator extends _generator.default {
170
170
  get writing() {
171
171
  return {
172
172
  html() {
173
- const projectName = _lodash.default.get(this.options, 'project-name');
174
- const jsPath = _lodash.default.get(this.options, 'js-path', 'js').replace(/^\/?/, '/');
175
- const cssPath = _lodash.default.get(this.options, 'css-path', 'css').replace(/^\/?/, '/');
173
+ const projectName = _lodashEs.default.get(this.options, 'project-name');
174
+ const jsPath = _lodashEs.default.get(this.options, 'js-path', 'js').replace(/^\/?/, '/');
175
+ const cssPath = _lodashEs.default.get(this.options, 'css-path', 'css').replace(/^\/?/, '/');
176
176
  const srcPath = this.templatePath('index.html.ejs');
177
177
  const destPath = this.srcPath('index.html.ejs');
178
178
  this.fs.copyTpl(srcPath, destPath, {
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
8
  var _glob = _interopRequireDefault(require("glob"));
9
- var _lodash = _interopRequireDefault(require("lodash"));
9
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
10
10
  var _passwordGenerator = _interopRequireDefault(require("password-generator"));
11
11
  var _path = _interopRequireDefault(require("path"));
12
12
  var _yeomanRemote = _interopRequireDefault(require("yeoman-remote"));
@@ -198,20 +198,20 @@ class LaravelGenerator extends _generator.default {
198
198
  };
199
199
  }
200
200
  configuring() {
201
- const assetsPath = _lodash.default.get(this.options, 'assets-path', '').replace(/\/$/, '');
202
- const tmpPath = _lodash.default.get(this.options, 'tmp-path', '').replace(/\/$/, '');
203
- const publicPath = _lodash.default.get(this.options, 'public-path');
204
- const buildPath = _lodash.default.get(this.options, 'build-path');
205
- const jsPath = _lodash.default.get(this.options, 'js-path');
201
+ const assetsPath = _lodashEs.default.get(this.options, 'assets-path', '').replace(/\/$/, '');
202
+ const tmpPath = _lodashEs.default.get(this.options, 'tmp-path', '').replace(/\/$/, '');
203
+ const publicPath = _lodashEs.default.get(this.options, 'public-path');
204
+ const buildPath = _lodashEs.default.get(this.options, 'build-path');
205
+ const jsPath = _lodashEs.default.get(this.options, 'js-path');
206
206
  const jsSrcPath = _path.default.join(assetsPath, jsPath);
207
- const stylesPath = _lodash.default.get(this.options, 'styles-path');
207
+ const stylesPath = _lodashEs.default.get(this.options, 'styles-path');
208
208
  const stylesSrcPath = _path.default.join(assetsPath, stylesPath);
209
- const skipInstall = _lodash.default.get(this.options, 'skip-install', false);
210
- const urlLocal = _lodash.default.template(_lodash.default.get(this.options, 'local-url'))({
209
+ const skipInstall = _lodashEs.default.get(this.options, 'skip-install', false);
210
+ const urlLocal = _lodashEs.default.template(_lodashEs.default.get(this.options, 'local-url'))({
211
211
  project_host: this.options['project-host'],
212
212
  project_name: this.options['project-name']
213
213
  }).replace(/^(http)?(s)?(:\/\/)?/, 'http$2://');
214
- const urlProxy = _lodash.default.template(_lodash.default.get(this.options, 'proxy-url', _lodash.default.get(this.options, 'local-url')))({
214
+ const urlProxy = _lodashEs.default.template(_lodashEs.default.get(this.options, 'proxy-url', _lodashEs.default.get(this.options, 'local-url')))({
215
215
  project_host: this.options['project-host'],
216
216
  project_name: this.options['project-name']
217
217
  }).replace(/^(http)?(s)?(:\/\/)?/, 'http$2://');
@@ -310,14 +310,14 @@ class LaravelGenerator extends _generator.default {
310
310
  const destPath = this.destinationPath('composer.json');
311
311
  const newJson = this.fs.readJSON(srcPath);
312
312
  const currentJson = this.fs.exists(destPath) ? this.fs.readJSON(destPath) : {};
313
- this.fs.writeJSON(destPath, _lodash.default.merge(currentJson, newJson));
313
+ this.fs.writeJSON(destPath, _lodashEs.default.merge(currentJson, newJson));
314
314
  },
315
315
  env() {
316
- const url = _lodash.default.template(_lodash.default.get(this.options, 'url'))({
316
+ const url = _lodashEs.default.template(_lodashEs.default.get(this.options, 'url'))({
317
317
  project_host: this.options['project-host'],
318
318
  project_name: this.options['project-name']
319
319
  }).replace(/^(http)?(s)?(:\/\/)?/, 'http$2://');
320
- const urlLocal = _lodash.default.template(_lodash.default.get(this.options, 'local-url'))({
320
+ const urlLocal = _lodashEs.default.template(_lodashEs.default.get(this.options, 'local-url'))({
321
321
  project_host: this.options['project-host'],
322
322
  project_name: this.options['project-name']
323
323
  }).replace(/^(http)?(s)?(:\/\/)?/, 'http$2://');
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
8
  var _glob = _interopRequireDefault(require("glob"));
9
- var _lodash = _interopRequireDefault(require("lodash"));
9
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
10
10
  var _path = _interopRequireDefault(require("path"));
11
11
  var _generator = _interopRequireDefault(require("../../lib/generator"));
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -59,7 +59,7 @@ class LaravelAuthGenerator extends _generator.default {
59
59
  const destPath = this.destinationPath('composer.json');
60
60
  const newJson = this.fs.readJSON(srcPath);
61
61
  const currentJson = this.fs.exists(destPath) ? this.fs.readJSON(destPath) : {};
62
- this.fs.writeJSON(destPath, _lodash.default.merge(currentJson, newJson));
62
+ this.fs.writeJSON(destPath, _lodashEs.default.merge(currentJson, newJson));
63
63
  },
64
64
  files() {
65
65
  const folders = ['app', 'resources', 'routes', 'database', 'lang'];
@@ -2,9 +2,9 @@
2
2
  import React, { PureComponent } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import classNames from 'classnames';
5
- import isArray from 'lodash/isArray';
6
- import isString from 'lodash/isString';
7
- import isEmpty from 'lodash/isEmpty';
5
+ import isArray from 'lodash-es/isArray';
6
+ import isString from 'lodash-es/isString';
7
+ import isEmpty from 'lodash-es/isEmpty';
8
8
  import { FormattedMessage, FormattedHTMLMessage } from 'react-intl';
9
9
 
10
10
  import * as AppPropTypes from '../../lib/PropTypes';
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
8
  var _changeCase = require("change-case");
9
- var _lodash = _interopRequireDefault(require("lodash"));
9
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
10
10
  var _path = _interopRequireDefault(require("path"));
11
11
  var _generator = _interopRequireDefault(require("../../lib/generator"));
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -175,14 +175,14 @@ class ComposerPackageGenerator extends _generator.default {
175
175
  };
176
176
  newJson.extra.laravel.providers = [`${namespace}\\${baseClassName}ServiceProvider`];
177
177
  const currentJson = this.fs.exists(destPath) ? this.fs.readJSON(destPath) : {};
178
- this.fs.writeJSON(destPath, _lodash.default.merge(newJson, currentJson));
178
+ this.fs.writeJSON(destPath, _lodashEs.default.merge(newJson, currentJson));
179
179
  }
180
180
  };
181
181
  }
182
182
  get install() {
183
183
  return {
184
184
  composer() {
185
- const skipInstall = _lodash.default.get(this.options, 'skip-install', false);
185
+ const skipInstall = _lodashEs.default.get(this.options, 'skip-install', false);
186
186
  if (skipInstall) {
187
187
  return;
188
188
  }
@@ -1,7 +1,7 @@
1
1
  import { useFormValue } from '@panneau/core/contexts';
2
2
  import LocalizedField from '@panneau/field-localized';
3
- import get from 'lodash/get';
4
- import isEmpty from 'lodash/isEmpty';
3
+ import get from 'lodash-es/get';
4
+ import isEmpty from 'lodash-es/isEmpty';
5
5
  import { useMemo } from 'react';
6
6
  import slugify from 'slugify';
7
7
 
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
8
  var _glob = _interopRequireDefault(require("glob"));
9
- var _lodash = _interopRequireDefault(require("lodash"));
9
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
10
10
  var _passwordGenerator = _interopRequireDefault(require("password-generator"));
11
11
  var _path = _interopRequireDefault(require("path"));
12
12
  var _yeomanRemote = _interopRequireDefault(require("yeoman-remote"));
@@ -183,11 +183,11 @@ class LaravelProjectGenerator extends _generator.default {
183
183
  };
184
184
  }
185
185
  configuring() {
186
- const assetsPath = _lodash.default.get(this.options, 'assets-path', '').replace(/\/$/, '');
187
- const publicPath = _lodash.default.get(this.options, 'public-path');
188
- const jsPath = _lodash.default.get(this.options, 'js-path');
186
+ const assetsPath = _lodashEs.default.get(this.options, 'assets-path', '').replace(/\/$/, '');
187
+ const publicPath = _lodashEs.default.get(this.options, 'public-path');
188
+ const jsPath = _lodashEs.default.get(this.options, 'js-path');
189
189
  const jsSrcPath = _path.default.join(assetsPath, jsPath);
190
- const stylesPath = _lodash.default.get(this.options, 'styles-path');
190
+ const stylesPath = _lodashEs.default.get(this.options, 'styles-path');
191
191
  const stylesSrcPath = _path.default.join(assetsPath, stylesPath);
192
192
  this.composeWith('folklore:prettier', {
193
193
  'skip-install': true,
@@ -342,11 +342,11 @@ class LaravelProjectGenerator extends _generator.default {
342
342
  // project_name: this.options['project-name'],
343
343
  // }).replace(/^(http)?(s)?(:\/\/)?/, 'http$2://');
344
344
 
345
- const urlLocal = _lodash.default.template(_lodash.default.get(this.options, 'local-url'))({
345
+ const urlLocal = _lodashEs.default.template(_lodashEs.default.get(this.options, 'local-url'))({
346
346
  project_host: this.options['project-host'],
347
347
  project_name: this.options['project-name']
348
348
  }).replace(/^(http)?(s)?(:\/\/)?/, 'http$2://');
349
- const urlProxy = _lodash.default.template(_lodash.default.get(this.options, 'proxy-url', _lodash.default.get(this.options, 'local-url')))({
349
+ const urlProxy = _lodashEs.default.template(_lodashEs.default.get(this.options, 'proxy-url', _lodashEs.default.get(this.options, 'local-url')))({
350
350
  project_host: this.options['project-host'],
351
351
  project_name: this.options['project-name']
352
352
  }).replace(/^(http)?(s)?(:\/\/)?/, 'http$2://');
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
8
  var _changeCase = require("change-case");
9
- var _get = _interopRequireDefault(require("lodash/get"));
9
+ var _get = _interopRequireDefault(require("lodash-es/get"));
10
10
  var _path = _interopRequireDefault(require("path"));
11
11
  var _generator = _interopRequireDefault(require("../../lib/generator"));
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
- var _lodash = _interopRequireDefault(require("lodash"));
8
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
9
9
  var _path = _interopRequireDefault(require("path"));
10
10
  var _generator = _interopRequireDefault(require("../../lib/generator"));
11
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -73,7 +73,7 @@ class LernaRepositoryGenerator extends _generator.default {
73
73
  };
74
74
  }
75
75
  configuring() {
76
- this.options.features = _lodash.default.isString(this.options.features) ? this.options.features.split(',') : this.options.features;
76
+ this.options.features = _lodashEs.default.isString(this.options.features) ? this.options.features.split(',') : this.options.features;
77
77
  this.composeWith('folklore:eslint', {
78
78
  'skip-install': this.options['skip-install'],
79
79
  quiet: true
@@ -12,7 +12,7 @@ module.exports = async ({ config: storybookBaseConfig }) => {
12
12
  // Alias packages
13
13
  const alias = {};
14
14
  const exactPackages = [
15
- 'lodash',
15
+ 'lodash-es',
16
16
  '@babel/runtime',
17
17
  ];
18
18
  getPackagesPaths().forEach((packagePath) => {
@@ -1,6 +1,6 @@
1
1
  const path = require('path');
2
2
  /* eslint-disable import/no-extraneous-dependencies */
3
- const get = require('lodash/get');
3
+ const get = require('lodash-es/get');
4
4
  const glob = require('glob');
5
5
  /* eslint-enable import/no-extraneous-dependencies */
6
6
 
@@ -1,5 +1,5 @@
1
- import isEmpty from 'lodash/isEmpty';
2
- import uniq from 'lodash/uniq';
1
+ import isEmpty from 'lodash-es/isEmpty';
2
+ import uniq from 'lodash-es/uniq';
3
3
  import { useMemo } from 'react';
4
4
 
5
5
  export function useStoryTrackingVariables(story: MicromagStory): Record<string, unknown> {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
- var _lodash = _interopRequireDefault(require("lodash"));
8
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
9
9
  var _path = _interopRequireDefault(require("path"));
10
10
  var _generator = _interopRequireDefault(require("../../lib/generator"));
11
11
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -117,23 +117,23 @@ class NpmPackageGenerator extends _generator.default {
117
117
  };
118
118
  }
119
119
  configuring() {
120
- const srcPath = _lodash.default.get(this.options, 'src-path');
121
- const destPath = _lodash.default.get(this.options, 'dest-path');
122
- const tmpPath = _lodash.default.get(this.options, 'tmp-path');
123
- const buildPath = _lodash.default.get(this.options, 'build-path');
124
- const skipInstall = _lodash.default.get(this.options, 'skip-install', false);
125
- const hotReload = _lodash.default.get(this.options, 'hot-reload', false);
126
- const webpackConfigBase = _lodash.default.get(this.options, 'webpack-config-base', false);
127
- const webpackConfigDev = _lodash.default.get(this.options, 'webpack-config-dev', false);
128
- const webpackHtml = _lodash.default.get(this.options, 'webpack-html', false);
129
- const webpackDevContext = _lodash.default.get(this.options, 'webpack-dev-context', null);
130
- const webpackDevEntries = _lodash.default.get(this.options, 'webpack-dev-entries', null);
131
- const webpackDistEntries = _lodash.default.get(this.options, 'webpack-dist-entries', null);
120
+ const srcPath = _lodashEs.default.get(this.options, 'src-path');
121
+ const destPath = _lodashEs.default.get(this.options, 'dest-path');
122
+ const tmpPath = _lodashEs.default.get(this.options, 'tmp-path');
123
+ const buildPath = _lodashEs.default.get(this.options, 'build-path');
124
+ const skipInstall = _lodashEs.default.get(this.options, 'skip-install', false);
125
+ const hotReload = _lodashEs.default.get(this.options, 'hot-reload', false);
126
+ const webpackConfigBase = _lodashEs.default.get(this.options, 'webpack-config-base', false);
127
+ const webpackConfigDev = _lodashEs.default.get(this.options, 'webpack-config-dev', false);
128
+ const webpackHtml = _lodashEs.default.get(this.options, 'webpack-html', false);
129
+ const webpackDevContext = _lodashEs.default.get(this.options, 'webpack-dev-context', null);
130
+ const webpackDevEntries = _lodashEs.default.get(this.options, 'webpack-dev-entries', null);
131
+ const webpackDistEntries = _lodashEs.default.get(this.options, 'webpack-dist-entries', null);
132
132
  const webpackEntries = webpackDevEntries !== null && webpackDistEntries !== null ? null : {
133
133
  [this.options['package-name']]: './index'
134
134
  };
135
- const browserSyncBaseDir = _lodash.default.get(this.options, 'browsersync-base-dir') || [tmpPath, srcPath];
136
- const browserSyncFiles = _lodash.default.get(this.options, 'browsersync-files') || [_path.default.join(srcPath, '*.html')];
135
+ const browserSyncBaseDir = _lodashEs.default.get(this.options, 'browsersync-base-dir') || [tmpPath, srcPath];
136
+ const browserSyncFiles = _lodashEs.default.get(this.options, 'browsersync-files') || [_path.default.join(srcPath, '*.html')];
137
137
  this.composeWith('folklore:build', {
138
138
  'project-name': this.options['package-name'],
139
139
  path: buildPath,
@@ -1,4 +1,4 @@
1
- import isObject from 'lodash/isObject';
1
+ import isObject from 'lodash-es/isObject';
2
2
  import { type MessageDescriptor } from 'react-intl';
3
3
 
4
4
  export function isMessage(message: MessageDescriptor | unknown): message is MessageDescriptor {
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _chalk = _interopRequireDefault(require("chalk"));
8
8
  var _changeCase = require("change-case");
9
- var _lodash = _interopRequireDefault(require("lodash"));
9
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
10
10
  var _path = _interopRequireDefault(require("path"));
11
11
  var _generator = _interopRequireDefault(require("../../lib/generator"));
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -96,12 +96,12 @@ class ReactPackageGenerator extends _generator.default {
96
96
  };
97
97
  }
98
98
  configuring() {
99
- const srcPath = _lodash.default.get(this.options, 'src-path');
100
- const destPath = _lodash.default.get(this.options, 'dest-path');
101
- const tmpPath = _lodash.default.get(this.options, 'tmp-path');
102
- const buildPath = _lodash.default.get(this.options, 'build-path');
103
- const examplesPath = _lodash.default.get(this.options, 'examples-path');
104
- const skipInstall = _lodash.default.get(this.options, 'skip-install', false);
99
+ const srcPath = _lodashEs.default.get(this.options, 'src-path');
100
+ const destPath = _lodashEs.default.get(this.options, 'dest-path');
101
+ const tmpPath = _lodashEs.default.get(this.options, 'tmp-path');
102
+ const buildPath = _lodashEs.default.get(this.options, 'build-path');
103
+ const examplesPath = _lodashEs.default.get(this.options, 'examples-path');
104
+ const skipInstall = _lodashEs.default.get(this.options, 'skip-install', false);
105
105
  this.composeWith('folklore:npm-package', {
106
106
  'package-name': this.options['package-name'],
107
107
  src: false,
@@ -1,6 +1,6 @@
1
1
  import React, { Component } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import get from 'lodash/get';
3
+ import get from 'lodash-es/get';
4
4
 
5
5
  const propTypes = {
6
6
  children: PropTypes.node.isRequired,
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _immutable = _interopRequireDefault(require("immutable"));
8
- var _lodash = _interopRequireDefault(require("lodash"));
8
+ var _lodashEs = _interopRequireDefault(require("lodash-es"));
9
9
  var _path = _interopRequireDefault(require("path"));
10
10
  var _process = _interopRequireDefault(require("process"));
11
11
  var _yeomanGenerator = _interopRequireDefault(require("yeoman-generator"));
@@ -40,8 +40,8 @@ class Generator extends _yeomanGenerator.default {
40
40
  const forceUpdate = force || false;
41
41
  const config = _immutable.default.fromJS(this.getConfig());
42
42
  let newConfig = Object.assign({}, config);
43
- _lodash.default.each(data, (value, key) => {
44
- if (forceUpdate || value && value.length && value !== _lodash.default.get(config, key)) {
43
+ _lodashEs.default.each(data, (value, key) => {
44
+ if (forceUpdate || value && value.length && value !== _lodashEs.default.get(config, key)) {
45
45
  newConfig = newConfig.set(key, value);
46
46
  }
47
47
  });
package/lib/lib/utils.js CHANGED
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.ensureLeadingDotSlash = ensureLeadingDotSlash;
7
- var _isString = _interopRequireDefault(require("lodash/isString"));
7
+ var _isString = _interopRequireDefault(require("lodash-es/isString"));
8
8
  var _path = _interopRequireDefault(require("path"));
9
9
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
10
  function ensureLeadingDotSlash(filePath) {
package/package.json CHANGED
@@ -1,33 +1,33 @@
1
1
  {
2
2
  "name": "generator-folklore",
3
- "version": "3.0.46",
3
+ "version": "3.0.48",
4
4
  "description": "Yeoman generator for projects at Folklore",
5
5
  "keywords": [
6
6
  "yeoman-generator"
7
7
  ],
8
- "main": "index.js",
9
- "scripts": {
10
- "clean:lib": "rm -rf lib/*",
11
- "clean": "npm run clean:lib",
12
- "copy:dirs": "find src/ -type d | grep -E '(/templates|/instructions)$' | sed 's/src\\///g' | xargs -I{} cp -r \"./src/{}/\" \"./lib/{}/\"",
13
- "compile": "../../node_modules/.bin/babel -d lib/ src/",
14
- "build": "npm run compile && npm run copy:dirs",
15
- "test": "echo \"Error: no test specified\" && exit 1",
16
- "prepublishOnly": "npm run clean && npm run build"
8
+ "homepage": "https://github.com/folkloreinc/folklore-js/tree/master/packages/generator-folklore#readme",
9
+ "bugs": {
10
+ "url": "https://github.com/folkloreinc/folklore-js/issues"
17
11
  },
18
- "files": [
19
- "lib"
20
- ],
21
12
  "repository": {
22
13
  "type": "git",
23
14
  "url": "git+https://github.com/folkloreinc/folklore-js.git"
24
15
  },
25
- "author": "Folklore <info@folklore.email>",
26
16
  "license": "ISC",
27
- "bugs": {
28
- "url": "https://github.com/folkloreinc/folklore-js/issues"
17
+ "author": "Folklore <info@folklore.email>",
18
+ "main": "index.js",
19
+ "files": [
20
+ "lib"
21
+ ],
22
+ "scripts": {
23
+ "build": "npm run compile && npm run copy:dirs",
24
+ "clean": "npm run clean:lib",
25
+ "clean:lib": "rm -rf lib/*",
26
+ "compile": "../../node_modules/.bin/babel -d lib/ src/",
27
+ "copy:dirs": "find src/ -type d | grep -E '(/templates|/instructions)$' | sed 's/src\\///g' | xargs -I{} cp -r \"./src/{}/\" \"./lib/{}/\"",
28
+ "prepublishOnly": "npm run clean && npm run build",
29
+ "test": "echo \"Error: no test specified\" && exit 1"
29
30
  },
30
- "homepage": "https://github.com/folkloreinc/folklore-js/tree/master/packages/generator-folklore#readme",
31
31
  "dependencies": {
32
32
  "chalk": "^4.0.0",
33
33
  "change-case": "^4.1.2",
@@ -35,10 +35,10 @@
35
35
  "glob": "^7.2.0",
36
36
  "immutable": "^4.0.0",
37
37
  "is-utf8": "^0.2.1",
38
- "lodash": "^4.17.21",
38
+ "lodash-es": "^4.17.21",
39
39
  "password-generator": "^2.3.2",
40
40
  "yeoman-generator": "5.9.0",
41
41
  "yeoman-remote": "^1.0.1"
42
42
  },
43
- "gitHead": "251b6b34d28582e9e4201e429cd881137dd2cb5d"
43
+ "gitHead": "3d5604e6515b3bb741ac59f8bc8f8851894a5d1e"
44
44
  }