open-index/open-npm huggingface dataset:
npm package: @omni-door/cli
Description: A tool set for set up the standard JS project
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/cli

https://www.omnidoor.org

A CLI for scaffolding standard frontend projects and running common dev/build/release tasks.

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Fcli.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/cli)
[![npm version](https://badge.fury.io/js/%40omni-door%2Fcli.svg)](https://badge.fury.io/js/%40omni-door%2Fcli)
[![node version](https://img.shields.io/badge/node.js-%3E=_10.13.0-green.svg?style=flat-square)](http://nodejs.org/download/)
[![Build Status](https://travis-ci.com/omni-door/cli.svg?branch=master)](https://travis-ci.com/omni-door/cli)
[![codecov](https://codecov.io/gh/omni-door/cli/branch/master/graph/badge.svg)](https://codecov.io/gh/omni-door/cli)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Fcli)](https://packagephobia.now.sh/result?p=%40omni-door%2Fcli)
[![license](http://img.shields.io/npm/l/%40omni-door%2Fcli.svg)](https://github.com/omni-door/cli/blob/master/LICENSE)

<img src='./docs/omni-init.gif' width='800px' height='500px' />

English | [简体中文](./docs/README.zh-CN.md)

## Requirements
- Node.js >= 10.13.0 (latest LTS recommended)

## Installation
- Clone: `git@github.com:omni-door/cli.git`
- npm: `npm install @omni-door/cli -g`
- Yarn: `yarn global add @omni-door/cli`
- npx (no install): `npx @omni-door/cli init`

## Quick Start
```shell
omni init
```

## Commands
Run `omni --help` for the full option list.

- `omni init [strategy]` scaffold a project (stable or latest)
- `omni dev` start the development server
- `omni start` start the production server
- `omni new [name]` create a component/template
- `omni build` build the project based on `omni.config.js`
- `omni release` publish the project based on `omni.config.js`

Pass-through args are supported for `dev`, `start`, and `build`:
```shell
omni dev -- --webpack
omni start -- --hostname 0.0.0.0
omni build -- --webpack
```

## Configuration
See the `omni.config.js` reference: [docs/OMNI.md](./docs/OMNI.md)

## Docs
- API/Plugin docs: [docs/DEV.md](./docs/DEV.md)
- Changelog: [docs/CHANGELOG.md](./docs/CHANGELOG.md)

## License

Copyright (c) 2019 [Bobby.li](https://github.com/BobbyLH)

Released under the MIT License
npm package: @omni-door/gulp-plugin-vue-sfc
Description: [English](./README.md) | 简体中文
Latest version: 0.2.0

# @omni-door/gulp-plugin-vue-sfc

[English](./README.md) | 简体中文

## 快速开始

### 安装

```shell
yarn add -D @omni-door/gulp-plugin-vue-sfc
```

### 使用
在 `gulpfile.js` 中：
```js
import { src, dest } from 'gulp';
import VueSFCPlugin from '@omni-door/gulp-plugin-vue-sfc';

function compileVueSFC() {
  return src('./src/**/*.vue')
    .pipe(VueSFCPlugin())
    .pipe(dest('./dist'))
}
```

## 开发
对于调试或维护，可以将项目 clone 到本地，然后启动项目：

```shell
git clone --depth 1 git@github.com:omni-door/gulp-plugin-vue-sfc.git

cd gulp-plugin-vue-sfc

yarn && yarn dev
```

[更多详情](./DEV.zh-CN.md)
npm package: @omni-door/tpl-common
Description: The omni-door commom templates
Author: bobby.li
Latest version: 0.0.5

# 🐸 @omni-door/tpl-common
The common templates for @omni-door

## Install
* Clone the repo: `git clone git@github.com:omni-door/tpl-common.git`

* Install with [npm](https://www.npmjs.com/package/@omni-door/tpl-common): `npm install @omni-door/tpl-common`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-common): `yarn add @omni-door/tpl-common`

## Methods
- getDependency
  ```js
  import { getDependency } from '@omni-door/tpl-common';

  const dependency = getDependency('latest', {
    'core-js': '3.6.4',
    'react': '16.12.0',
    'react-dom': '16.12.0',
    'regenerator-runtime': '0.13.3'
  });

  const dependency_stable = getDependency('stable', {
    'core-js': '3.6.4',
    'react': '16.12.0',
    'react-dom': '16.12.0',
    'regenerator-runtime': '0.13.3'
  });

  dependency('react'); // 'react@latest'
  dependency_stable('react'); // 'react@16.12.0'
  ```

- arr2str
  ```js
  import { arr2str } from '@omni-door/tpl-common';

  arr2str([1, 2, 3]); // "1 2 3"
  ```
- intersection
  ```js
  import { intersection } from '@omni-door/tpl-common';

  depArr = [ ...intersection(depArr, depArr.filter(v => v !== 1)) ]
  ```

## Templates
- babel => babel.config.js

- commitlint => commitlint.config.js

- eslint => .eslintrc.js

- eslintignore => .eslintignore

- gitignore => .gitignore

- jest => jest.config.js

- karma => karma.config.js

- mocha => mocha.opts

- npmignore => .npmignore

- omni => omni.config.js

- pkj => package.json

- readme => README.md

- stylelint => stylelint.config.js

- tsconfig => tsconfig.json

- component_class => component/index.(jsx|tsx)

- component_functional => component/index.(jsx|tsx)

- component_index => component/index.(js|ts)

- component_readme => component/README.md

- component_stylesheet => component/style/index.(css|less|scss)

- component_test => component/test/index.(jsx|tsx)

- component_mdx => component/README.mdx

- component_stories => component/stories/index.(jsx|tsx)

- tool_index => tool/index.(js|ts)

- tool_readme => tool/README.md

- tool_test => tool/test/index.(js|ts)
npm package: @omni-door/tpl-component-library-react
Description: The React component-library-react project template
Author: bobby.li
Latest version: 0.5.4

# 🐸 @omni-door/tpl-component-library-react
The React component-library-react project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-component-library-react.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-component-library-react)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-component-library-react.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-component-library-react)
[![Build Status](https://travis-ci.com/omni-door/tpl-component-library-react.svg?branch=master)](https://travis-ci.com/omni-door/tpl-component-library-react)
[![codecov](https://codecov.io/gh/omni-door/tpl-component-library-react/branch/master/graph/badge.svg)](https://codecov.io/gh/omni-door/tpl-component-library-react)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-component-library-react)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-component-library-react)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-component-library-react.svg)](https://github.com/omni-door/tpl-component-library-react/blob/master/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [npm](https://www.npmjs.com/package/@omni-door/tpl-component-library-react): `npm install @omni-door/tpl-component-library-react`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-component-library-react): `yarn add @omni-door/tpl-component-library-react`

## Templates
| folder | file |
| --- | --- |
| babel | babel.config.js |
| bisheng | bisheng.config.js & posts/README.md |
| commitlint | commitlint.config.js |
| editor | .editorconfig |
| docz | .doczrc.js & gatsby-config.js |
| eslint | .eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | jest.config.js |
| new | the standard templates for `omni new` command |
| omni | omni.config.js |
| package | package.json |
| prettier | prettier.config.js |
| readme | README.md |
| source | the standard templates in `src` folder |
| storybook | .storybook/config.js & .storybook/addons.js & .storybook/manager-head.html & .storybook/webpack.config.js |
| styleguidist | styleguide.config.js |
| stylelint | stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |
npm package: @omni-door/tpl-component-react
Description: The React component-react project template
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/tpl-component-react
The React Component project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-component-react.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-component-react)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-component-react.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-component-react)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-component-react)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-component-react)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-component-react.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-component-react/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-component-react): `npm install @omni-door/tpl-component-react`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-component-react): `yarn add @omni-door/tpl-component-react`

## Templates
| folder | file |
| --- | --- |
| babel | babel.config.js |
| commitlint | commitlint.config.js |
| editor | .editorconfig |
| eslint | .eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | jest.config.js |
| new | the standard templates for `omni new` command |
| omni | omni.config.js |
| package | package.json |
| prettier | prettier.config.js |
| readme | README.md & README.zh-CN.md & DEV.md & DEV.zh-CN.md |
| source | the standard templates in `src` folder |
| storybook | .storybook/config.js & .storybook/addons.js & .storybook/manager-head.html & .storybook/webpack.config.js |
| stylelint | stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |
npm package: @omni-door/tpl-component-vue
Description: The Vue Component project template
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/tpl-component-vue
The Vue Component project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-component-vue.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-component-vue)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-component-vue.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-component-vue)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-component-vue)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-component-vue)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-component-vue.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-component-vue/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-component-vue): `npm install @omni-door/tpl-component-vue`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-component-vue): `yarn add @omni-door/tpl-component-vue`

## Templates
| folder | file |
| --- | --- |
| babel | babel.config.js |
| commitlint | commitlint.config.js |
| editor | .editorconfig |
| eslint | .eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | jest.config.js |
| new | the standard templates for `omni new` command |
| omni | omni.config.js |
| package | package.json |
| prettier | prettier.config.js |
| readme | README.md & README.zh-CN.md & DEV.md & DEV.zh-CN.md |
| source | the standard templates in `src` folder |
| storybook | .storybook/config.js & .storybook/addons.js & .storybook/manager-head.html & .storybook/webpack.config.js |
| stylelint | stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |
npm package: @omni-door/tpl-spa-react
Description: The React single-page-application project template
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/tpl-spa-react
The React single-page-application project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-spa-react.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-spa-react)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-react.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-react)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-spa-react)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-spa-react)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-spa-react.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-spa-react/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-spa-react): `npm install @omni-door/tpl-spa-react`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-spa-react): `yarn add @omni-door/tpl-spa-react`

## Templates
| folder | file |
| --- | --- |
| babel | configs/babel.config.js |
| commitlint | configs/commitlint.config.js |
| editor | .editorconfig |
| eslint | configs/.eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | configs/jest.config.js |
| new | the standard templates for `omni new` command |
| omni | configs/omni.config.js |
| package | package.json |
| prettier | configs/prettier.config.js |
| readme | README.md & README.zh-CN.md |
| source | the standard templates in `src` folder |
| stylelint | configs/stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |
| webpack | contain `wepack.config.common.js`, `wepack.config.dev.js`, `wepack.config.prod.js` files |
npm package: @omni-door/tpl-spa-react-pc
Description: The spa-react-pc project template
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/tpl-spa-react-pc
The spa-react-pc project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-spa-react-pc.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-spa-react-pc)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-react-pc.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-react-pc)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-spa-react-pc)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-spa-react-pc)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-spa-react-pc.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-spa-react-pc/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-spa-react-pc): `npm install @omni-door/tpl-spa-react-pc`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-spa-react-pc): `yarn add @omni-door/tpl-spa-react-pc`

## Templates
| folder | file |
| --- | --- |
| babel | babel.config.js |
| commitlint | commitlint.config.js |
| editor | .editorconfig |
| eslint | .eslintrc.js |
| omni | omni.config.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | jest.config.js |
| new | the standard templates for `omni new` command |
| package | package.json |
| prettier | prettier.config.js |
| readme | README.md & README.zh-CN.md |
| source | the standard templates in `src` folder |
| stylelint | stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |
| webpack | contain `wepack.config.common.js`, `wepack.config.dev.js`, `wepack.config.prod.js` files |
npm package: @omni-door/tpl-spa-vue
Description: The spa-vue project template
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/tpl-spa-vue
The spa-vue project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-spa-vue.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-spa-vue)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-vue.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-spa-vue)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-spa-vue)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-spa-vue)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-spa-vue.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-spa-vue/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-spa-vue): `npm install @omni-door/tpl-spa-vue`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-spa-vue): `yarn add @omni-door/tpl-spa-vue`

## Templates
| folder | file |
| --- | --- |
| babel | configs/babel.config.js |
| commitlint | configs/commitlint.config.js |
| editor | .editorconfig |
| eslint | configs/.eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | configs/jest.config.js |
| new | the standard templates for `omni new` command |
| omni | configs/omni.config.js |
| package | package.json |
| prettier | configs/prettier.config.js |
| readme | README.md & README.zh-CN.md |
| source | the standard templates in `src` folder |
| stylelint | configs/stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |
| webpack | contain `wepack.config.common.js`, `wepack.config.dev.js`, `wepack.config.prod.js` files |
npm package: @omni-door/tpl-ssr-react
Description: The ssr-react project template
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/tpl-ssr-react
The ssr-react project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-ssr-react.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-ssr-react)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-ssr-react.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-ssr-react)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-ssr-react)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-ssr-react)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-ssr-react.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-ssr-react/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-ssr-react): `npm install @omni-door/tpl-ssr-react`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-ssr-react): `yarn add @omni-door/tpl-ssr-react`

## Templates
| folder | file |
| --- | --- |
| babel | babel.config.js |
| commitlint | configs/commitlint.config.js |
| editor | .editorconfig |
| eslint | configs/.eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | configs/jest.config.js |
| new | the standard templates for `omni new` command |
| next | next.config.js & next-env.d.ts |
| omni | configs/omni.config.js |
| package | package.json |
| prettier | configs/prettier.config.js |
| readme | README.md & README.zh-CN.md |
| source | the standard templates in `src` folder |
| stylelint | configs/stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |
| webpack | configs/webpack.config.js |
npm package: @omni-door/tpl-toolkit
Description: The JS-SDK project template
Author: bobby.li
Latest version: 3.2.2

# 🐸 @omni-door/tpl-toolkit
The JS-SDK project template for @omni-door

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-toolkit.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-toolkit)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-toolkit.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-toolkit)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-toolkit)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-toolkit)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-toolkit.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-toolkit/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-toolkit): `npm install @omni-door/tpl-toolkit`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-toolkit): `yarn add @omni-door/tpl-toolkit`

## Templates
| folder | file |
| --- | --- |
| babel | babel.config.js |
| commitlint | commitlint.config.js |
| editor | .editorconfig |
| eslint | .eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| karma | karma.conf.js |
| mocha | mocha.opts |
| new | the standard templates for `omni new` command |
| omni | omni.config.js |
| package | package.json |
| prettier | prettier.config.js |
| readme | README.md & README.zh-CN.md & DEV.md & DEV.zh-CN.md |
| source | the standard templates in `src` folder |
| tsconfig | tsconfig.json |
| umi | .umirc.js & .env |
| vsc | .vscode/settings.json |