From 77255c9d5ed6c13ca4b791728e07045aa3c8de20 Mon Sep 17 00:00:00 2001 From: Dolan Date: Wed, 8 Mar 2017 23:35:22 +0000 Subject: [PATCH] modified build script and version bump --- package.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f93977ae6f..77d225d08c 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { "name": "docx", - "version": "1.2.0", + "version": "1.2.1", "description": "Generate .docx documents with JavaScript (formerly Office-Clippy)", "main": "build/index.js", "scripts": { "pretest": "rimraf ./build-tests && tsc -p ts/test-tsconfig.json", "test": "mocha ./build-tests --recursive", - "prepublishOnly": "tsc -p ts", - "lint": "tslint --project ./ts" + "prepublishOnly": "npm run build", + "lint": "tslint --project ./ts", + "build": "rimraf ./build && tsc -p ts" }, "files": [ "ts",