0.2.0 • Published 1 year ago

create-jiatu v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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

0.1.31

1 year ago

0.2.0

1 year ago

0.1.30

1 year ago

0.1.29

1 year ago

0.1.28

1 year ago

0.1.27

1 year ago

0.1.26

1 year ago

0.1.25

1 year ago

0.1.24

1 year ago

0.1.23

1 year ago

0.1.22

1 year ago

0.1.15

1 year ago

0.1.13

1 year ago

0.1.12

1 year ago

0.1.8

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago