From c7bce3c0a4b8b194b95163ecabec02aa3d4dc81a Mon Sep 17 00:00:00 2001 From: Jordi Salvat Date: Fri, 15 Jun 2018 18:46:30 +0200 Subject: [PATCH] Make the package installable from github directly. with `npm install git+ssh:git@github.com:jsalvata/ts-json-serializer.git` --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a30e0d3..81c6346 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "predevelop": "npm run clean", "develop": "tsc -p .", "prebuild": "npm run clean", - "build": "tsc -p ./tsconfig/build.json" + "build": "tsc -p ./tsconfig/build.json", + "prepack": "npm install; tsc -p ./tsconfig/build.json" }, "keywords": [ "typescript", @@ -43,10 +44,10 @@ "remap-istanbul": "^0.9.1", "tslint": "^4.4.2", "tslint-jsdoc-rules": "^0.1.2", - "typescript": "^2.1.6" + "typescript": "^2.1.6", + "tslib": "^1.5.0" }, "dependencies": { - "reflect-metadata": "^0.1.9", - "tslib": "^1.5.0" + "reflect-metadata": "^0.1.9" } }