Skip to content
/ zp Public

A front-end project engineering system which highly supports customization through modularization, middlewares and plugins.

License

Notifications You must be signed in to change notification settings

zppack/zp

Repository files navigation

zp

A front-end project engineering system which highly supports customization through modularization, middlewares and plugins.

Features

  • Project initialization modularize
  • Initialization modules support processing middlewares
  • Support plugins with tapable hooks
  • Support init config preset
  • Support customize cli command
  • Project management tool (through extensions)
  • Update and upgrade mechanism and tools
  • Developing server improvement
  • Building tool improvement

Start

npm install @zppack/zp --global

zp -h

zp init -h

# Debug mode
zp init -d my-project

Commands

init

zp init [project-name] [--preset <preset-name>]

Execute the command above and then follow the interactive prompts.

options
  • preset: "--preset" or "-p" options with a required parameter "preset-name" will use .${preset-name}.zprc config file instead of .user.zprc.

  • debug: "--debug" or "-d" options will switch on debug mode under which you can get some extra logs that helps debug.

Extensions

See detail.

Config modules

Global config file locates at %USERHOME%/.zp/.zprc. You can create a .user.zprc file at the same directory to customize your zp.

How to write a .user.zprc config file?

Docs to be completed...

Config Presets

Write a config file named as .{preset-name}.zprc. Then run zp init --preset {preset-name}

Contributing

Add custom extensions

Docs to be completed...

How to contribute to this?

Recently changes

See the change log.

License

MIT

About

A front-end project engineering system which highly supports customization through modularization, middlewares and plugins.

Resources

License

Stars

Watchers

Forks

Packages

No packages published