diff options
| author | Michael Williamson <mike@zwobble.org> | 2022-08-31 22:05:37 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2022-08-31 22:05:37 +0100 |
| commit | e9835cbd855a341b5cd31771c9ffa0e02d1011fe (patch) | |
| tree | 4c0bdd65b897fb03cad7ce8ff7c209ff3ce2e00c | |
| parent | f7829ca6056a9eb5154951b475ff0b63a1a5b811 (diff) | |
Use prepare instead of prepublish to update browser build
| -rw-r--r-- | NEWS | 6 | ||||
| -rw-r--r-- | package.json | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +# 1.5.1 + +* Fix: npm 7 changed the behaviour of prepublish, causing the browser build not + to be updated before publishing to npm. We now use prepare instead of + prepublish, which has the same behaviour that prepublish previously had. + # 1.5.0 * Only use the alt text of image elements as a fallback. If an alt attribute is diff --git a/package.json b/package.json index 8abcb63..3156136 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "scripts": { "pretest": "eslint lib test", "test": "mocha 'test/**/*.tests.js'", - "prepublish": "make mammoth.browser.min.js" + "prepare": "make mammoth.browser.min.js" }, "license": "BSD-2-Clause" } |
