wire package.json command for the server

This commit is contained in:
Mohamed Hegazy 2015-02-12 08:20:41 -08:00
parent 0963644089
commit ee3ee05cc4
2 changed files with 4 additions and 1 deletions

2
bin/tsserver Normal file
View file

@ -0,0 +1,2 @@
#!/usr/bin/env node
require('./typescriptServer.js')

View file

@ -27,7 +27,8 @@
"preferGlobal": true,
"main": "./bin/typescript.js",
"bin": {
"tsc": "./bin/tsc"
"tsc": "./bin/tsc",
"tsserver": "./bin/tsserver"
},
"engines": {
"node": ">=0.8.0"