From bea88457a26d91e499ab6d745585a559db7b3296 Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Tue, 20 Aug 2019 14:57:20 -0700 Subject: [PATCH] fix: format package.json, ensure build called on publish --- package.json | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index ee5d32b..44a801a 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,10 @@ "version": "1.0.0", "author": "Dylan Piercey ", "bugs": "https://github.com/eBay/visual-html/issues", + "dependencies": { + "indent-string": "^4.0.0", + "specificity": "^0.4.1" + }, "devDependencies": { "@commitlint/cli": "^8.1.0", "@commitlint/config-conventional": "^8.1.0", @@ -26,10 +30,10 @@ ], "homepage": "https://github.com/eBay/visual-html", "keywords": [ - "visual", - "regression", "computed", - "styles" + "regression", + "styles", + "visual" ], "license": "MIT", "main": "dist/index.js", @@ -43,13 +47,10 @@ "ci:test": "jest --ci --coverage", "format": "prettier \"**/*.{json,md,js,ts}\" --write", "lint": "tsc --noEmit && tslint -t codeFrame -c tslint.json 'src/**/*.ts'", + "prepublishOnly": "npm run build", "release": "standard-version", "test": "jest -o", "test:watch": "jest -o --watch" }, - "types": "dist/index.d.ts", - "dependencies": { - "indent-string": "^4.0.0", - "specificity": "^0.4.1" - } + "types": "dist/index.d.ts" }