fix npm security warnings, auto run tests when changed
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||||
|   | |||||||
| @@ -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
									
								
							
							
						
						
									
										5897
									
								
								package-lock.json
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -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", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user