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",