Skip to content

Commit cf5e4ee

Browse files
committed
Added prepublish script
1 parent 285e281 commit cf5e4ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"build:umd": "rollup --config build/rollup.config.js --format umd --file dist/vue-tiny-pagination.umd.js",
1414
"compile:docs": "cross-env NODE_ENV=production webpack --progress --hide-modules",
1515
"deploy:docs": "push-dir --dir=public --branch=gh-pages",
16+
"prepublish": "npm test && npm run build",
1617
"test": "jest"
1718
},
1819
"main": "dist/vue-tiny-pagination.umd.js",

0 commit comments

Comments
 (0)