only install typings locally

This commit is contained in:
Jake Howard 2017-02-20 08:42:37 +00:00
parent 95a471d055
commit e862a0d153

View File

@ -1,6 +1,6 @@
{ {
"name": "tstatic", "name": "tstatic",
"version": "0.0.1", "version": "0.0.2",
"description": "The only static-file server you'll ever need!", "description": "The only static-file server you'll ever need!",
"main": "./dist/server.js", "main": "./dist/server.js",
"bin": { "bin": {
@ -8,8 +8,7 @@
}, },
"scripts": { "scripts": {
"start": "node ./dist/index.js", "start": "node ./dist/index.js",
"postinstall": "typings install", "prepublish": "typings install && npm run build",
"prepublish": "npm run build",
"build": "tsc", "build": "tsc",
"test": "npm run build && npm run mocha && nsp check", "test": "npm run build && npm run mocha && nsp check",
"mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js tests/**.test.ts", "mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js tests/**.test.ts",