fix npm security warnings, auto run tests when changed

This commit is contained in:
Hakim El Hattab 2019-04-01 11:14:22 +02:00
parent df25fbebba
commit 29ea072ddf
4 changed files with 5902 additions and 2 deletions

1
.gitignore vendored
View File

@ -8,7 +8,6 @@ out/
log/*.log log/*.log
tmp/** tmp/**
node_modules/ node_modules/
package-lock.json
.sass-cache .sass-cache
css/reveal.min.css css/reveal.min.css
js/reveal.min.js js/reveal.min.js

View File

@ -144,6 +144,10 @@ module.exports = function(grunt) {
files: [ 'css/reveal.scss' ], files: [ 'css/reveal.scss' ],
tasks: 'css-core' tasks: 'css-core'
}, },
test: {
files: [ 'test/*.html' ],
tasks: 'test'
},
html: { html: {
files: root.map(path => path + '/*.html') files: root.map(path => path + '/*.html')
}, },

5897
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@
}, },
"devDependencies": { "devDependencies": {
"express": "^4.16.2", "express": "^4.16.2",
"grunt": "^1.0.3", "grunt": "^1.0.4",
"grunt-cli": "^1.3.2", "grunt-cli": "^1.3.2",
"grunt-autoprefixer": "^3.0.4", "grunt-autoprefixer": "^3.0.4",
"grunt-contrib-connect": "^2.0.0", "grunt-contrib-connect": "^2.0.0",