drupal-image-style-generator 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/index.js +3 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,3 @@
1
- import log from "fancy-log";
2
-
3
1
  const REQUIRED_OPTIONS = ['themePath', 'themeName', 'syncFolder']
4
2
 
5
3
  /**
@@ -19,8 +17,9 @@ module.exports = function (options) {
19
17
  const IMAGE_STYLE_GRID_SIZE = options.gridSize || 0; // this means, every style will be rounded up to the next divisible number of this
20
18
 
21
19
  const { v4 } = require("uuid");
22
- const yaml = require('js-yaml');
23
- const fs = require('fs');
20
+ const yaml = require('js-yaml');
21
+ const fs = require('fs');
22
+ const log = require('fancy-log');
24
23
  const breakpointsFile = themePath + '/' + themeName + '.breakpoints.yml';
25
24
  const imageStyles = {};
26
25
  const usedStyleConfigs = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drupal-image-style-generator",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A helper tool to automatically geenrate drupal 8+ responsive image styles",
5
5
  "main": "index.js",
6
6
  "scripts": {