Create a new node module: Difference between revisions
(Created page with "* create a wiki page off of in-progress Projects * mkdir ~/development/websockets-tester && cd ~/development/websockets-tester author up a new node pa...") |
No edit summary |
||
Line 1: | Line 1: | ||
* pick a name that doesn't yet exist on [npm.org] just to be safe | |||
* create a wiki page off of [[Projects#In_Progress|in-progress Projects]] | * create a wiki page off of [[Projects#In_Progress|in-progress Projects]] | ||
* mkdir ~/development/websockets-tester | * mkdir ~/development/websockets-tester | ||
* cd ~/development/websockets-tester | |||
* cp mah-haus | * cp -rp ~/development/scripts/node/mah-haus/* . | ||
* | * subl index.js package.json # clean to use wst (our top-level command) | ||
* npm install --save ws # to install a local copy under node_modules, and add | * npm install --save ws # to install a local copy of any dependency under node_modules, and auto-add dependency to package.json | ||
* code your ass off | |||
* if it gets good... and is useful to others... publish it! |
Revision as of 18:52, 1 June 2016
- pick a name that doesn't yet exist on [npm.org] just to be safe
- create a wiki page off of in-progress Projects
- mkdir ~/development/websockets-tester
- cd ~/development/websockets-tester
- cp -rp ~/development/scripts/node/mah-haus/* .
- subl index.js package.json # clean to use wst (our top-level command)
- npm install --save ws # to install a local copy of any dependency under node_modules, and auto-add dependency to package.json
- code your ass off
- if it gets good... and is useful to others... publish it!