scaffold-command
scaffold-command copied to clipboard
Include wp-scripts in package.json when scaffolding a plugin
Feature Request
Similar to #233. Add support for adding @wordpress/scripts
as a dev dependency, and automatically include the setup scripts in the generated package.json
.
It'd be cool if there was an option to specify the entry names and possibly the output directory and sync it to the build
and start
commands.
Related: #140
Definitely one of the things we could add to improve the scaffolding output. Right now it's very outdated.