Skip to content

Commit 346b9df

Browse files
committed
build: build before publish
1 parent c623197 commit 346b9df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"build": "tsc",
1414
"dev-example": "webpack-dev-server --config example/webpack.config.js --inline --hot",
1515
"build-example": "rm -rf example/dist && webpack --config example/webpack.config.js --env.prod",
16-
"lint": "prettier --write --parser typescript \"src/**/*.ts\""
16+
"lint": "prettier --write --parser typescript \"src/**/*.ts\"",
17+
"prepublishOnly": "tsc"
1718
},
1819
"gitHooks": {
1920
"pre-commit": "lint-staged"

0 commit comments

Comments
 (0)