godaddy-wordpress / block-gallery

WordPress gallery blocks built exclusively for Gutenberg
https://wpblockgallery.com
GNU General Public License v2.0
57 stars 13 forks source link

Package json broken? #35

Closed josias-r closed 5 years ago

josias-r commented 5 years ago

I had the intention to try some stuff out with the gallery. Therefore I cloned the repo, ran "npm install" and then npm "start" which seemed to work fine. Then when trying to build I got error from the gulp task. I played around a lot, updated packages, ran "npm audit fix" but didn't really get things to work. Something that seemed strange to me was the package.json build script which runs babel for some reason, even though the cgb package already claims to use babel transpiling. After removing the "babel src" pipe I was able to run "npm run build" (cgb-scribts build) without any error but using the gulp build task didn't work and reported something like "unrecognized command or bashfile cgb-scripts".

Also the "npm run makepot" doesn't work without the wp-cli, there is an NPM package for that maybe you could install that or give more precise development instructions in the readme

I think this plugin needs some updates and maybe remove babel? But maybe I'm just missing something.

josias-r commented 5 years ago

closing because stale