Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
remove npm
Browse files Browse the repository at this point in the history
  • Loading branch information
zaggino committed Aug 2, 2016
1 parent 5d1519c commit 52133aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 22 deletions.
7 changes: 3 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ module.exports = function (grunt) {
},
"node-win": {
"dest" : "<%= downloads %>",
"src" : ["http://nodejs.org/dist/v<%= node.version %>/win-x86/node.exe",
"http://registry.npmjs.org/npm/-/npm-<%= npm.version %>.tgz"]
"src" : "http://nodejs.org/dist/v<%= node.version %>/win-x86/node.exe"
}
},
"clean": {
Expand Down Expand Up @@ -227,10 +226,10 @@ module.exports = function (grunt) {
"version" : "3.2623.1397"
},
"node": {
"version" : "4.2.3"
"version" : "4.4.4"
},
"npm": {
"version" : "2.14.15"
"version" : "2.15.6"
}
});

Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@
"grunt-contrib-copy": "0.5.0",
"grunt-contrib-clean": "0.4.0",
"guid": "0.0.10",
"gunzip-maybe": "^1.2.1",
"grunt-curl": "2.0.2",
"grunt-shell": "0.2.1",
"q": "0.9.2",
"semver": "^4.1.0",
"tar-fs": "^1.8.1"
"semver": "^4.1.0"
},
"scripts": {
"preinstall": "bash -c 'mv appshell.gyp .appshell.gyp'",
Expand Down
15 changes: 0 additions & 15 deletions tasks/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ module.exports = function (grunt) {

var common = require("./common")(grunt),
fs = require("fs"),
gunzip = require("gunzip-maybe"),
tar = require("tar-fs"),
child_process = require("child_process"),
path = require("path"),
q = require("q"),
Expand Down Expand Up @@ -386,19 +384,6 @@ module.exports = function (grunt) {

// copy node.exe to Brackets-node
grunt.file.copy(exeFile, "deps/node/node.exe");

// unzip NPM
fs.createReadStream(npmFile)
.pipe(gunzip())
.pipe(tar.extract("deps/node"))
.on("error", function (err) {
grunt.log.error(err);
done(false);
})
.on("finish", function () {
nodeWriteVersion();
done();
});
});

// task: node-mac
Expand Down

0 comments on commit 52133aa

Please sign in to comment.