module-factory

0.1.17 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i module-factory

Weekly Downloads

2

Version

0.1.17

License

MIT

Unpacked Size

11.7 kB

Total Files

5

Last publish

Collaborators

  • baijunjie