Skip to content

Instantly share code, notes, and snippets.

@fitzgen
Created June 8, 2010 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fitzgen/430544 to your computer and use it in GitHub Desktop.
Save fitzgen/430544 to your computer and use it in GitHub Desktop.
npm configfile /home/fitzgen/.npmrc
npm sudo true
npm cli [ 'publish', '.' ]
npm version 0.1.15
npm publish [ '.' ]
npm readJson package.json
npm packTar . /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm exec tar "czf" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz" "--exclude" ".git" "wu.js"
npm exec tar "xzf" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz" "--strip" "1" "-C" "/usr/local/lib/node/.npm/.cache/wu/0.1.1/pac\
kage"
npm readJson /usr/local/lib/node/.npm/.cache/wu/0.1.1/package/package.json
npm publish { name: 'wu'
, description: 'A lazy, functional Javascript library that ain\'t nuthin\' ta f*ck wit.'
, author:
{ name: 'Nick Fitzgerald'
, email: 'fitzgen@gmail.com'
, url: 'http://fitzgeraldnick.com'
}
, bugs: 'http://github.com/fitzgen/wu.js/issues'
, licenses:
[ { type: 'MIT'
, url: 'http://www.opensource.org/licenses/mit-license.php '
}
]
, repositories:
[ { type: 'git'
, url: 'http://github.com/fitzgen/wu.js'
}
]
, url: 'http://fitzgen.github.com/wu.js'
, version: '0.1.1'
, directories: { lib: './lib' }
, main: './lib/wu'
, _id: 'wu-0.1.1'
}
npm PUT wu
npm GET wu
npm tarball /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm stat /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz { dev: 2050
, ino: 150353
, mode: 33188
, nlink: 1
, uid: 0
, gid: 0
, rdev: 0
, size: 22065
, blksize: 4096
, blocks: 48
, atime: Tue, 08 Jun 2010 19:38:12 GMT
, mtime: Tue, 08 Jun 2010 19:38:12 GMT
, ctime: Tue, 08 Jun 2010 19:38:12 GMT
}
npm PUT wu/-/wu-0.1.1.tgz/-rev/6-1e4efee71b59d78db9d2822def41e64e
npm uploading /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
npm bytes 22065
npm uploaded /usr/local/lib/node/.npm/.cache/wu/0.1.1/package.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment