0.0.8 • Published 5 years ago
libpack-scripts v0.0.8
libpack-scripts
libpack-script used for build multiple packages
Installer
npm i -D libpack-scripts
or
yarn add libpack-scripts --dev
Usage
setting package.js
file
"scripts": {
"build": "libpack build",
"postinstall": "libpack postinstall",
"test": "libpack test"
}
create file libpack.config.js
setting to
const config = ["package-name", "package-name.1"];
module.exports = config;
create folder packages
add package project
example
folder packages
|_ packages
|_ package-name
|_ package-name.1
Build
build all packages
npm run build
Postinstall
install packages all project
npm run postinstall
Test
test all packages
npm run test
Support
ReactJS