mirror of https://github.com/lukechilds/node.git
isaacs
13 years ago
115 changed files with 399 additions and 98 deletions
@ -0,0 +1,7 @@ |
|||||
|
|
||||
|
// whatever, it's just tests.
|
||||
|
;["util","assert"].forEach(function (thing) { |
||||
|
thing = require("thing") |
||||
|
for (var i in thing) global[i] = thing[i] |
||||
|
} |
||||
|
|
@ -0,0 +1,4 @@ |
|||||
|
{ "name":"npm-test-blerg" |
||||
|
, "version" : "0.0.0" |
||||
|
, "scripts" : { "test" : "node test.js" } |
||||
|
} |
@ -0,0 +1,5 @@ |
|||||
|
|
||||
|
var assert = require("assert") |
||||
|
assert.equal(undefined, process.env.npm_config__password, "password exposed!") |
||||
|
assert.equal(undefined, process.env.npm_config__auth, "auth exposed!") |
||||
|
assert.equal(undefined, process.env.npm_config__authCrypt, "authCrypt exposed!") |
@ -0,0 +1,14 @@ |
|||||
|
{ "name":"npm-test-env-reader" |
||||
|
, "version" : "1.2.3" |
||||
|
, "scripts" : |
||||
|
{ "install" : "./test.sh" |
||||
|
, "preinstall" : "./test.sh" |
||||
|
, "preuninstall" : "./test.sh" |
||||
|
, "postuninstall" : "./test.sh" |
||||
|
, "test" : "./test.sh" |
||||
|
, "stop" : "./test.sh" |
||||
|
, "start" : "./test.sh" |
||||
|
, "restart" : "./test.sh" |
||||
|
, "foo" : "./test.sh" |
||||
|
} |
||||
|
} |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue