Simple build script for my FOS projects. run build command, copy package.files and pacage.json to outdir
npm install --save-dev @frontendmonster/builder
or
yarn add --dev @frontendmonster/builder
builder [options]
arg | alias | description |
---|---|---|
--version | -v | package version |
--outDir | -o | output directory (default: lib) |
--cmd | -c | build commad (default: npm run build) |
--ignoreBuild | ignore build command | |
--pack | generate output pack | |
--publish | pulish package with npm |