Skip to content

Commit

Permalink
build(npm): run security updates and package upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDJM committed Sep 9, 2020
1 parent c664edd commit 1164364
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
14 changes: 7 additions & 7 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ 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.'

/**
* Lints and fixes 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.'

/**
* Lints all test 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.'


Expand All @@ -43,31 +43,31 @@ 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.'

/**
* Compiles all class 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.'

/**
* Compiles all mixin 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.'

/**
* Compiles all other 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.'

/**
Expand Down
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1164364

Please sign in to comment.