Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsiaoming Yang committed Mar 2, 2013
1 parent 4acc6de commit 4b059b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions lib/install.js
Expand Up @@ -279,12 +279,7 @@ function transform(obj) {
if (~obj.filename.indexOf('debug')) {
uglifyOptions.beautify = true;
}
return ast.modify(obj.code, {
id: repl,
dependencies: repl,
require: repl,
options: uglifyOptions
});
return ast.modify(obj.code, repl).print_to_string(uglifyOptions);
}

function parseDependencies(pkg) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,11 +1,11 @@
{
"name": "spm",
"version": "2.0.0b2",
"version": "2.0.0b3",
"preferGlobal": "true",
"description": "Static Package Manager",
"dependencies": {
"cmd-util": "~0.2.0",
"grunt-spm-build": "~0.1.1a3",
"grunt-spm-build": "~0.1.1",
"semver": "~1.1.2",
"async": "~0.1.22",
"fstream": "~0.1.21",
Expand Down

0 comments on commit 4b059b3

Please sign in to comment.