Quellcode durchsuchen

fix npm security warnings, auto run tests when changed

Hakim El Hattab vor 5 Jahren
Ursprung
Commit
29ea072ddf
4 geänderte Dateien mit 5902 neuen und 2 gelöschten Zeilen
  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')
 			},

Datei-Diff unterdrückt, da er zu groß ist
+ 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",