Open charbugs opened 5 years ago
https://github.com/facebook/create-react-app/blob/master/tasks/cra.js Adapting☝️could be a good starting place.
Ok, will have a look.
I'm not sure how far down we want to go here.. For #1985 I did this:
nwb new react-component mirador-image-tools
And then a smallish commit got me most the way there.
https://github.com/mejackreed/mirador-image-tools/commit/27208e24c3a470bed67816852fc8375c06ca3f31
:+1:
I think the peer dependency thing may not be obvious at first glance for contributers. So a scaffold package could preconfigure the packacke-json that way.
A scaffold package for creating mirador plugins, similar to create-react-app. May contain:
The config files should define mirador and react as peer dependencies so that these packages won't be bundled in the plugin.