Przeglądaj źródła

fix npm security warnings, auto run tests when changed

Hakim El Hattab 5 lat temu
rodzic
commit
29ea072ddf
4 zmienionych plików z 5902 dodań i 2 usunięć
  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')
 			},

Plik diff jest za duży
+ 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",