Bläddra i källkod

fix npm security warnings, auto run tests when changed

Hakim El Hattab 5 år sedan
förälder
incheckning
29ea072ddf
4 ändrade filer med 5902 tillägg och 2 borttagningar
  1. 0 1
      .gitignore
  2. 4 0
      Gruntfile.ts
  3. 5897 0
      package-lock.json
  4. 1 1
      package.json

+ 0 - 1
.gitignore

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

+ 4 - 0
Gruntfile.ts

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

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 5897 - 0
package-lock.json


+ 1 - 1
package.json

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