Browse files

add dependencies

  • Loading branch information...
1 parent b289ddb commit ff6e8721dd6749b76e88729fba563c9b8447746d @maccman maccman committed Aug 2, 2011
Showing with 31 additions and 2 deletions.
  1. +20 −0 LICENSE
  2. +10 −1 package.json
  3. +1 −1 src/slug.coffee
View
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2011 Alex MacCaw (info@eribium.org)
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
11 package.json
@@ -14,5 +14,14 @@
},
"engine" : [ "node >=0.1.102" ],
"main" : "./lib/hem.js",
- "bin": { "hem": "./bin/hem" }
+ "bin": { "hem": "./bin/hem" },
+ "dependencies" : {
+ "eco": "~1.0.2"
+ "uglify-js": "~1.0.2"
+ "express": "~2.3.4"
+ "detective": "~2.3.4"
+ },
+ "devDependencies": {
+ "coffee-script" : "~1.1.1",
+ }
}
View
2 src/slug.coffee
@@ -31,7 +31,7 @@ class Slug
build: ->
package = @createPackage().compile()
- # package = uglify(package)
+ package = uglify(package)
applicationPath = @options.public + '/application.js'
fs.writeFileSync(applicationPath, package)

0 comments on commit ff6e872

Please sign in to comment.