expose client as a library

- Allows for using localtunnel from code instead of manually invoking
- add tests
- add travis config
- add travis badge
This commit is contained in:
Roman Shtylman
2012-11-03 15:13:36 -04:00
parent 51d91ce0e8
commit 2f692b8e29
6 changed files with 242 additions and 69 deletions

View File

@@ -12,11 +12,17 @@
"book": "1.2.0",
"optimist": "0.3.4"
},
"devDependencies": {},
"devDependencies": {
"mocha": "1.6.0"
},
"optionalDependencies": {},
"engines": {
"node": "*"
},
"scripts": {
"test": "mocha --ui qunit -- test",
"start": "./bin/server"
},
"bin": {
"lt": "./bin/client"
}