Skip to content

Instantly share code, notes, and snippets.

@fitzgen
Created June 8, 2010 19:45

Revisions

  1. fitzgen created this gist Jun 8, 2010.
    58 changes: 58 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,58 @@
    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