Skip to content

Commit

Permalink
Merge pull request #34 from jimjenkins5/jimjenkins/package-vulnerabil…
Browse files Browse the repository at this point in the history
…ities

chore: update dependencies to fix vulnerabilities
  • Loading branch information
jthomerson committed May 13, 2021
2 parents d4ae64d + 0128ca1 commit 6393802
Show file tree
Hide file tree
Showing 11 changed files with 9,189 additions and 5,800 deletions.
1 change: 1 addition & 0 deletions .editorconfig
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.DS_Store
node_modules
coverage
.nyc_output
dist
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
Gruntfile.js
tests/**
docs
coverage
.nyc_output
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.14.0
12.22.1
16 changes: 16 additions & 0 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"include": [
"src/**/*.js"
],
"extension": [
".js"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"instrument": true,
"sourceMap": true,
"all": true
}
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ language: node_js
node_js:
- "node" # Latest node version
- "lts/*" # Latest LTS version
- "14"
- "12"
- "10"
- "8"

before_install: npm i -g npm@6.13.4
before_install: npm i -g npm@6.14.12

script:
- commitlint-travis
Expand Down
10 changes: 5 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ module.exports = function(grunt) {
},
},

sasslint: {
stylelint: {
options: {
configFile: join(__dirname, 'node_modules', '@silvermine/sass-lint-config', 'sass-lint.yml'),
configFile: join(__dirname, 'node_modules', '@silvermine', 'standardization', '.stylelintrc.yml'),
},
target: config.sass.all,
src: config.sass.all,
},

sass: {
Expand Down Expand Up @@ -162,9 +162,9 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-postcss');
grunt.loadNpmTasks('grunt-sass-lint');
grunt.loadNpmTasks('grunt-stylelint');

grunt.registerTask('standards', [ 'eslint', 'sasslint' ]);
grunt.registerTask('standards', [ 'eslint', 'stylelint' ]);
grunt.registerTask('build-js', [ 'browserify', 'uglify' ]);
grunt.registerTask('build-css', [ 'sass', 'postcss:styles' ]);
grunt.registerTask('build', [ 'build-js', 'build-css', 'copy:images' ]);
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use strict';

module.exports = { extends: [ '@silvermine/eslint-config/commitlint' ] };
module.exports = { extends: [ '@silvermine/standardization/commitlint' ] };
Loading

0 comments on commit 6393802

Please sign in to comment.