create-jiatu

0.2.0 • Public • Published

create-jiatu

Creates a UmiJS application/plugin/block/library using the command line.

codecov NPM version CircleCI NPM downloads GitHub Actions status

Boilerplates

  • ant-design-pro - Create project with a layout-only ant-design-pro boilerplate, use together with umi block.
  • app - Create project with a simple boilerplate, support typescript.
  • plugin - Create a umi plugin.

Usage Example

安装 create-jiatu,并执行他,

$ npm install create-jiatu -g
or
$ yarn global add create-jiatu

$ create-jiatu [appName]

? Select the boilerplate type (Use arrow keys)
  ant-design-pro  - Create project with a layout-only ant-design-pro boilerplate, use together with umi block.
❯ app             - Create project with a simple boilerplate, support typescript.
  plugin          - Create a umi plugin.

? Do you want to use typescript? (y/N)

? What functionality do you want to enable? (Press <space> to select, <a> to toggle all, <i> to invert selection)
❯◯ antd
 ◯ dva
 ◯ code splitting
 ◯ dll

  create abc/package.json
  create abc/.gitignore
  create abc/.editorconfig
  create abc/.env
  create abc/.eslintrc
  create abc/.prettierignore
  create abc/.prettierrc
  create abc/.umirc.js
  create abc/mock/.gitkeep
  create abc/src/assets/yay.jpg
  create abc/src/global.css
  create abc/src/layouts/index.css
  create abc/src/layouts/index.tsx
  create abc/src/pages/index.css
  create abc/src/pages/index.tsx
  create abc/tsconfig.json
  create abc/typings.d.ts
 📋  Copied to clipboard, just use Ctrl+V
 ✨  File Generate Done

Questions & Suggestions

Please open an issue here.

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i create-jiatu

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

330 kB

Total Files

96

Last publish

Collaborators

  • mr_ldd