Переглянути джерело

Remove unused dependencies.

Benjamin Tan 8 роки тому
батько
коміт
9eb56f8146
2 змінених файлів з 8 додано та 10 видалено
  1. 7 8
      package.json
  2. 1 2
      plugin/notes-server/index.js

+ 7 - 8
package.json

@@ -23,22 +23,21 @@
   },
   "dependencies": {
     "express": "~4.13.3",
-    "grunt-cli": "^0.1.13",
+    "grunt-cli": "~0.1.13",
     "mustache": "~2.2.1",
-    "socket.io": "~1.3.7",
-    "underscore": "~1.8.3"
+    "socket.io": "~1.3.7"
   },
   "devDependencies": {
-    "grunt-contrib-qunit": "~0.7.0",
-    "grunt-contrib-jshint": "~0.11.3",
+    "grunt": "~0.4.5",
+    "grunt-autoprefixer": "~3.0.3",
+    "grunt-contrib-connect": "~0.11.2",
     "grunt-contrib-cssmin": "~0.14.0",
+    "grunt-contrib-jshint": "~0.11.3",
+    "grunt-contrib-qunit": "~0.7.0",
     "grunt-contrib-uglify": "~0.9.2",
     "grunt-contrib-watch": "~0.6.1",
     "grunt-sass": "~1.1.0-beta",
-    "grunt-contrib-connect": "~0.11.2",
-    "grunt-autoprefixer": "~3.0.3",
     "grunt-zip": "~0.17.1",
-    "grunt": "~0.4.5",
     "node-sass": "~3.3.3"
   },
   "license": "MIT"

+ 1 - 2
plugin/notes-server/index.js

@@ -2,7 +2,6 @@ var http      = require('http');
 var express   = require('express');
 var fs        = require('fs');
 var io        = require('socket.io');
-var _         = require('underscore');
 var Mustache  = require('mustache');
 
 var app       = express();
@@ -64,5 +63,5 @@ var slidesLocation = 'http://localhost' + ( opts.port ? ( ':' + opts.port ) : ''
 
 console.log( brown + 'reveal.js - Speaker Notes' + reset );
 console.log( '1. Open the slides at ' + green + slidesLocation + reset );
-console.log( '2. Click on the link your JS console to go to the notes page' );
+console.log( '2. Click on the link in your JS console to go to the notes page' );
 console.log( '3. Advance through your slides and your notes will advance automatically' );