Skip to content

Commit 46ce13e

Browse files
committed
build before publishing
1 parent 6f5619f commit 46ce13e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
# <= 0.4.3
2+
# <= 0.4.4
33

44
* Support `scrollIntoView` on `document.body`
55
* Support scroll behaviors in shadow DOM
66

7-
# <= 0.4.2
7+
# <= 0.4.3
88

99
* ¯\_(ツ)_

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
"preminify": "yarn build",
3838
"minify": "uglifyjs dist/smoothscroll.js -c -m -o dist/smoothscroll.min.js --verbose",
3939
"listdiff": "prettier --list-different {src,test}/**/*.js",
40-
"format": "prettier --write {src,test}/**/*.js"
40+
"format": "prettier --write {src,test}/**/*.js",
41+
"prepublish": "npm run minify"
4142
},
4243
"lint-staged": {
4344
"linters": {

0 commit comments

Comments
 (0)