message: Convert prepublish script to prepare
  This avoids the deprecation warning about `prepublish` scripts. It should not
  change when the script is run.
diff: "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"
  },
  