Skip to content
This repository was archived by the owner on Jan 19, 2023. It is now read-only.

Commit 26b0cf9

Browse files
committed
Set npm prepublish script
1 parent 04b939e commit 26b0cf9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"version": "2.2.0",
44
"description": "A lightbox component for React.js",
55
"scripts": {
6-
"start": "node_modules/.bin/gulp dev"
6+
"start": "node_modules/.bin/gulp dev",
7+
"prepublish": "node_modules/.bin/gulp clean && node_modules/.bin/gulp build"
78
},
89
"main": "lib/ReactImageLightbox.js",
910
"repository": {

0 commit comments

Comments
 (0)