diff --git a/gulpfile.babel.js b/gulpfile.babel.js index fb1fefd..99439bc 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -18,7 +18,7 @@ const paths = { * * @returns {Object} - Gulp stream. */ -export const lintSource = () => sass.lint(`${paths.source.src}/${paths.selector}`) +export const lintSource = () => sass.lint({ source: `${paths.source.src}/${paths.selector}` }) lintSource.description = 'Lints all source Sass files.' /** @@ -26,7 +26,7 @@ lintSource.description = 'Lints all source Sass files.' * * @returns {Object} - Gulp stream. */ -export const fixSource = () => sass.fix(`${paths.source.src}/${paths.selector}`) +export const fixSource = () => sass.fix({ source: `${paths.source.src}/${paths.selector}` }) fixSource.description = 'Lints and fixes all source Sass files.' /** @@ -34,7 +34,7 @@ fixSource.description = 'Lints and fixes all source Sass files.' * * @returns {Object} - Gulp stream. */ -export const lintTests = () => sass.lint(`${paths.test.src}/${paths.selector}`) +export const lintTests = () => sass.lint({ source: `${paths.test.src}/${paths.selector}` }) lintTests.description = 'Lints all test Sass files.' @@ -43,7 +43,7 @@ lintTests.description = 'Lints all test Sass files.' * * @returns {Object} - Gulp stream. */ -export const fixTests = () => sass.fix(`${paths.test.src}/${paths.selector}`) +export const fixTests = () => sass.fix({ source: `${paths.test.src}/${paths.selector}` }) fixTests.description = 'Lints and fixes all test Sass files.' /** @@ -51,7 +51,7 @@ fixTests.description = 'Lints and fixes all test Sass files.' * * @returns {Object} - Gulp stream. */ -export const compileClass = () => sass.compile(`${paths.test.src}/classes/${paths.selector}`, `${paths.test.src}/classes/results`) +export const compileClass = () => sass.compile({ source: `${paths.test.src}/classes/${paths.selector}`, destination: `${paths.test.src}/classes/results` }) compileClass.description = 'Compiles all class test Sass files.' /** @@ -59,7 +59,7 @@ compileClass.description = 'Compiles all class test Sass files.' * * @returns {Object} - Gulp stream. */ -export const compileMixin = () => sass.compile(`${paths.test.src}/mixins/${paths.selector}`, `${paths.test.src}/mixins/results`) +export const compileMixin = () => sass.compile({ source: `${paths.test.src}/mixins/${paths.selector}`, destination: `${paths.test.src}/mixins/results` }) compileMixin.description = 'Compiles all mixin test Sass files.' /** @@ -67,7 +67,7 @@ compileMixin.description = 'Compiles all mixin test Sass files.' * * @returns {Object} - Gulp stream. */ -export const compileOther = () => sass.compile(`${paths.test.src}/other/${paths.selector}`, `${paths.test.src}/other/results`) +export const compileOther = () => sass.compile({ source: `${paths.test.src}/other/${paths.selector}`, destination: `${paths.test.src}/other/results` }) compileOther.description = 'Compiles all other test Sass files.' /** diff --git a/package.json b/package.json index 8da390c..0f536da 100644 --- a/package.json +++ b/package.json @@ -33,21 +33,22 @@ "homepage": "https://github.com/coldfrontlabs/bootstrap-scss-plugins#readme", "dependencies": {}, "devDependencies": { - "@babel/core": "~7.6.0", - "@babel/preset-env": "~7.6.0", - "@babel/register": "~7.6.0", - "@coldfrontlabs/gulp-templates": "~1.1.0", - "@commitlint/cli": "~8.2.0", - "@commitlint/config-conventional": "~8.2.0", - "bootstrap": "~4.3.0", - "commitizen": "~4.0.0", - "cz-conventional-changelog": "~3.0.0", - "eslint": "~6.4.0", + "@babel/core": "^7.11.6", + "@babel/preset-env": "^7.11.5", + "@babel/register": "^7.11.5", + "@coldfrontlabs/gulp-templates": "^3.0.0", + "@commitlint/cli": "^11.0.0", + "@commitlint/config-conventional": "^11.0.0", + "bootstrap": "^4.5.2", + "commitizen": "^4.2.1", + "cz-conventional-changelog": "^3.3.0", + "eslint": "^7.8.1", "gulp": "~4.0.0", "gulp-eslint": "~6.0.0", - "husky": "~3.0.0", - "stylelint": "~11.0.0", - "stylelint-config-coldfront": "~1.0.0" + "husky": "^4.3.0", + "prettier": "^2.1.1", + "stylelint": "^13.7.0", + "stylelint-config-coldfront": "^2.0.1" }, "peerDependencies": { "bootstrap": ">=4.3.0"