From e862a0d1536e1cb08453a5fe338e6b1df1168a9a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 20 Feb 2017 08:42:37 +0000 Subject: [PATCH] only install typings locally --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 72d59f5..1f6a45c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tstatic", - "version": "0.0.1", + "version": "0.0.2", "description": "The only static-file server you'll ever need!", "main": "./dist/server.js", "bin": { @@ -8,8 +8,7 @@ }, "scripts": { "start": "node ./dist/index.js", - "postinstall": "typings install", - "prepublish": "npm run build", + "prepublish": "typings install && npm run build", "build": "tsc", "test": "npm run build && npm run mocha && nsp check", "mocha": "mocha --compilers ts:ts-node/register --require scripts/test-helper.js tests/**.test.ts",