@blockmatic/create-lib
v1.2.1
Published
Project scaffolding script for @blockmatic/dev-scripts libraries
Downloads
33
Readme
create-lib
Scaffold a @blockmatic/dev-scripts library quickly. Code was directly inspired by create-next-app.
Usage
With yarn create
yarn create @blockmatic/create-lib my-cool-library
With npx
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'));
}