diff options
| -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" } |
