From 3d3d8edf296db33435b84712ac861fb540f7fb2f Mon Sep 17 00:00:00 2001
From: Timothy Gu <timothygu99@gmail.com>
Date: Tue, 30 Jun 2015 20:20:48 -0700
Subject: [PATCH] Clean up npm dependencies and add `license` property

underscore and moment were not used anywhere
---
 docs/config.json |  2 --
 package.json     | 21 +++++++--------------
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/docs/config.json b/docs/config.json
index 539c60887..9483ae6ef 100644
--- a/docs/config.json
+++ b/docs/config.json
@@ -5,8 +5,6 @@
     "description": ""
   },
   "require": {
-    "moment": "moment",
-    "_": "underscore",
     "typogr": "typogr"
   },
   "jade": {
diff --git a/package.json b/package.json
index ce37ffe49..14cc82deb 100644
--- a/package.json
+++ b/package.json
@@ -2,15 +2,13 @@
   "name": "pdf.js",
   "version": "0.8.0",
   "devDependencies": {
-    "jsdoc": "3.3.0-alpha9",
-    "jshint": "~2.4.0",
-    "wintersmith": "~2.0.0",
-    "moment": "~2.3.0",
-    "underscore": "~1.4.0",
+    "jsdoc": "^3.3.0-alpha9",
+    "jshint": "^2.4.0",
+    "wintersmith": "^2.0.0",
     "rimraf": "^2.4.1",
-    "shelljs": "0.4.0",
-    "typogr": "~0.5.0",
-    "yargs": "~1.2.1"
+    "shelljs": "~0.5.1",
+    "typogr": "~0.6.5",
+    "yargs": "^3.14.0"
   },
   "scripts": {
     "test": "node ./node_modules/.bin/jshint --extra-ext .jsm ."
@@ -19,10 +17,5 @@
     "type": "git",
     "url": "git://github.com/mozilla/pdf.js.git"
   },
-  "licenses": [
-    {
-      "type": "Apache v2",
-      "url": "https://github.com/mozilla/pdf.js/blob/master/LICENSE"
-    }
-  ]
+  "license": "Apache-2.0"
 }