Skip to content

Commit f750d03

Browse files
committed
Replace deprecated prepublish with prepublishOnly script
1 parent 22b62cd commit f750d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"build": "microbundle --external react,events && cp node_modules/@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css dist/",
1111
"format": "prettier --write 'src/**/*.js'",
12-
"prepublish": "npm run build"
12+
"prepublishOnly": "npm run build"
1313
},
1414
"husky": {
1515
"hooks": {

0 commit comments

Comments
 (0)