module-factory
v0.1.17
Published
Module factory CLI
Downloads
5
Readme
module-factory
Module factory - CLI
Develop the UMD module using ES6 syntax
Install
Using npm:
$ npm install module-factory -g
Or using yarn:
$ yarn global add module-factory
Usage
Create module scaffolding.
$ mod create <module-name>
If the directory file is already created.
$ cd path/to/<module-name>
$ mod create .
Develop
In the module directory.
$ npm run dev
Or using yarn:
$ yarn dev
Build
In the module directory.
$ npm run build
Or using yarn:
$ yarn build
The module is eventually built into the ./dist
directory.