The CLI Tool for set up standard javascript project.
Several options to get up and running:
- Clone the repo:
git@github.com:omni-door/cli.git
- Install with npm:
npm install @omni-door/cli -g
- Install with Yarn:
yarn global add @omni-door/cli
- Initial project with npx:
npx @omni-door/cli init
Usage: index [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
init [options] initialize your project
new [options] [module] omni new [module] [-f | -c]
build build your project according to [omni.config.js]
release [options] publish your project according to [omni.config.js]
omni init
omni init -t
or
omni init --entire
Usage: omni init [options]
initialize your project
Options:
-s, --simple [name] create a simple React SPA project
-d, --standard [name] create a standard React SPA project
-e, --entire [name] create a most versatile React SPA project
-t, --toolkit [name] create a toolkit project
-c, --components [name] create a React component library
-h, --help output usage information
Usage: omni new [options] [module]
omni new [module] [-f | -c]
Options:
-f, --fc create a functional component
-c, --cc create a class component
-h, --help output usage information
npm run build
or
omni build
Usage: omni release [options]
publish your project according to [omni.config.js]
Options:
-i, --ignore ignore automatic iteration version
-m, --manual <version> manual iteration version
-n, --no-verify bypass unit-test eslint and stylelint check
-h, --help output usage information
click here
Copyright (c) 2019 Bobby.li
Released under the MIT License