Skip to content

Instantly share code, notes, and snippets.

@yaronn
Last active August 29, 2015 13:56
Show Gist options
  • Save yaronn/8986026 to your computer and use it in GitHub Desktop.
Save yaronn/8986026 to your computer and use it in GitHub Desktop.
ws.js on windows
//git
cd C:\Users\naveh\Documents\features\projects\ws.js
use git as normal...
//npm
npm config set proxy http://localhost:8888/
npm config set https-proxy http://localhost:8888/
//and open fiddler
npm install -g nodeunit //in case not installed for some reason
//testing
C:\Users\naveh\Documents\features\projects\ws.js>C:\Users\naveh\AppData\Roaming\npm\nodeunit.cmd ./test/unit ./test/unit/client ./test/integration/client
//npm
C:\Users\naveh\Documents\features\projects\ws.js>npm config set https-proxy "http://localhost:8888/"
C:\Users\naveh\Documents\features\projects\ws.js>npm config set proxy "http://localhost:8888/"
open fiddler
use npm as normal...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment