@onism/build-script

0.0.6 • Public • Published

@onism/build-script

Tool that compile scripts into ES Module & commonjs formate.

Usage

add onism-build [options] script to package.json

Options:

short param full param description default
-c --config babel config file path ./babel.config.js
-s --src src path to compile ./src
-e --es es path to output compiled es module file ./es
-l --lib lib path to output compiled commonjs module file ./lib
-h --help display help for command

Notice: all passed path is relative to process.cwd();

Package Sidebar

Install

npm i @onism/build-script

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

4.91 kB

Total Files

4

Last publish

Collaborators

  • evont