A front-end project engineering system which highly supports customization through modularization, middlewares and plugins.
- 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
npm install @zppack/zp --global
zp -h
zp init -h
# Debug mode
zp init -d my-project
zp init [project-name] [--preset <preset-name>]
Execute the command above and then follow the interactive prompts.
-
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.
See detail.
Global config file locates at %USERHOME%/.zp/.zprc
.
You can create a .user.zprc
file at the same directory to customize your zp.
Docs to be completed...
Write a config file named as .{preset-name}.zprc
. Then run zp init --preset {preset-name}
Docs to be completed...
See the change log.