Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Update deps to fix security vulnerabilites #288

Merged
merged 6 commits into from
Oct 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dist: trusty
dist: xenial
language: node_js
node_js:
- 6
- 10

addons:
apt:
Expand Down
26 changes: 12 additions & 14 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,18 @@ module.exports = function(grunt) {
},

eslint: {
target: ['src/js/*.js']
target: ['!src/js/*.js']
},

htmlhint: {
html1: {
src: [
// TODO: fix rule and enable html linting.
'!**/*.html',
'!browsers/**',
'!components/**',
'!node_modules/**',
'!out/**'
]
}
htmllint: {
all: [
// TODO: fix rule and enable html linting.
'!**/*.html',
'!browsers/**',
'!components/**',
'!node_modules/**',
'!out/**'
]
},

uglify: {
Expand All @@ -102,15 +100,15 @@ module.exports = function(grunt) {

// enable plugins
grunt.loadNpmTasks('grunt-contrib-csslint');
grunt.loadNpmTasks('grunt-htmlhint');
grunt.loadNpmTasks('grunt-html');
grunt.loadNpmTasks('grunt-eslint');
grunt.loadNpmTasks('grunt-vulcanize');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-uglify');

// Set default tasks to run when grunt is called without parameters
grunt.registerTask('default', ['csslint', 'htmlhint', 'eslint']);
grunt.registerTask('default', ['csslint', 'htmllint', 'eslint']);

// Cleans out/ folder, copies files in place and vulcanizes index.html to out/.
grunt.registerTask('build', ['clean', 'copy', 'vulcanize', 'uglify']);
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "TestRTC",
"name": "testrtc",
"description": "Collection of tests and tools to help diagnose WebRTC systems.",
"private": true,
"repository": {
Expand Down
Loading