From f6466802b0cd7ec5a7706a7246602fa29dd3135b Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 11 Mar 2019 16:06:05 +0000 Subject: [PATCH] Convert prepublish script to prepare This avoids the deprecation warning about `prepublish` scripts. It should not change when the script is run. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c25e8ad33..0fa4a829de 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "lintall": "eslint src/ test/", "lintwithexclusions": "eslint --max-warnings 0 --ignore-path .eslintignore.errorfiles src test", "clean": "rimraf lib", - "prepublish": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt", + "prepare": "yarn clean && yarn build && git rev-parse HEAD > git-revision.txt", "test": "karma start --single-run=true --browsers ChromeHeadless", "test-multi": "karma start" },