rii-mango / Daikon

A JavaScript DICOM reader.
Other
221 stars 54 forks source link

Create NPM package #2

Closed fnndsc-bot closed 9 years ago

fnndsc-bot commented 9 years ago

Daikon is not a proper NPM package (it is missing pacakge.json) so we can not install it as a node package.

nico@vpn-17218216-084:~/work/gitroot/vjs$ npm install git+https://github.com/rii-mango/Daikon.git
npm WARN package.json vjs@0.0.1 No repository field.
npm ERR! Error: ENOENT, open '/var/folders/g9/pdmxn9d17d50xghb4_yx84hh0005jg/T/npm-16039-Em_eiQXd/1435917850076-0.7271956556942314/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Darwin 14.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "git+https://github.com/rii-mango/Daikon.git"
npm ERR! cwd /Users/nico/work/gitroot/vjs
npm ERR! node -v v0.10.21
npm ERR! npm -v 1.3.11
npm ERR! path /var/folders/g9/pdmxn9d17d50xghb4_yx84hh0005jg/T/npm-16039-Em_eiQXd/1435917850076-0.7271956556942314/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/nico/work/gitroot/vjs/npm-debug.log
npm ERR! not ok code 0
rii-mango commented 9 years ago

Thanks for the heads up about this. I added package.json. There are also now scripts for test, build, and release.