create-lib
Scaffold a @blockmatic/dev-scripts library quickly. Code was directly inspired by create-next-app.
Usage
yarn create
With yarn create @blockmatic/create-lib my-cool-library
npx
With npx @blockmatic/create-lib my-cool-library
Programatically
const path = require('path');
const createWebScriptsLibrary = require('@blockmatic/create-lib');
async function start() {
await createWebScriptsLibrary(path.resolve('my-cool-library'));
}