From f7e8dee7afd368f0cb123dfda028133fa7d0fbbc Mon Sep 17 00:00:00 2001 From: Jeff Williams Date: Wed, 17 Oct 2012 09:15:23 -0700 Subject: [PATCH] move JSHint to regular dependencies list Technically, JSHint is only a dev dependency. But if you run `npm install --dev git://github.com/jsdoc3/jsdoc.git`, npm tries to install approximately every npm package that has ever existed, including many that require gcc compilation. This approach seems like the sanest workaround. --- Jake/templates/package.json.tmpl | 4 +--- package.json | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Jake/templates/package.json.tmpl b/Jake/templates/package.json.tmpl index b44fd13c..9a9d471f 100644 --- a/Jake/templates/package.json.tmpl +++ b/Jake/templates/package.json.tmpl @@ -19,15 +19,13 @@ "dependencies": { "github-flavored-markdown": "git://github.com/hegemonic/github-flavored-markdown.git", "js2xmlparser": "0.1.0", + "jshint": "0.9.1", "jsMD5": "git://github.com/hegemonic/jsMD5.git", "markdown": "0.4.0", "taffydb": "git://github.com/hegemonic/taffydb.git", "underscore": "1.4.2", "wrench": "1.3.9" }, - "devDependencies": { - "jshint": "0.9.1" - }, "bugs": "https://github.com/jsdoc3/jsdoc/issues", "author": { "name": "Michael Mathews", diff --git a/package.json b/package.json index d36846cc..01fe3794 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jsdoc", "version": "3.0.0", - "revision": "1350489277766", + "revision": "1350490151758", "description": "An automatic documentation generator for javascript.", "keywords": [ "documentation", "javascript" ], "licenses": [ @@ -19,15 +19,13 @@ "dependencies": { "github-flavored-markdown": "git://github.com/hegemonic/github-flavored-markdown.git", "js2xmlparser": "0.1.0", + "jshint": "0.9.1", "jsMD5": "git://github.com/hegemonic/jsMD5.git", "markdown": "0.4.0", "taffydb": "git://github.com/hegemonic/taffydb.git", "underscore": "1.4.2", "wrench": "1.3.9" }, - "devDependencies": { - "jshint": "0.9.1" - }, "bugs": "https://github.com/jsdoc3/jsdoc/issues", "author": { "name": "Michael Mathews",