1.2.3 • Published 6 years ago
imat v1.2.3
Imat
Imat is a simple helper to remove the redundant pain from adding @angular/material
to an angular project.
Usage
Simply cd
into an angular project and type commands:
Node >= 8.xnpx imat
Node < 8.xnpm i -g imat
imat
Available options
Type
npx imat --help
install
Automatically edit files and install packages for a fully fledged install of @angular/material
Options:
--no-mat-icons Remove material icons import from installation
aliases: -nmi
--theme <theme-name> Select prebuilt material theme
aliases: -t
--use-noop-module Uses NoopAnimationsModule instead of BrowserAnimationsModule
aliases: -unm
--yarn Uses yarn instead of NPM to install dependencies
aliases: -y
Motivations
This package was simply born out of the frustration from adding for the fortieth time @angular/material
to an angular project.
I was creating once another project and I refused to manually edit those same four files and writing the same long install command once again.
TODO
- Disable material icons
- Select prebuilt theme
- Browser or Noop AnimationsModule
- Better user experience (Clear logging of what's going on)
- Custom theme template
- Use @angular-devkit/schematics
- Prompt style setup
- Setup new angular project
imat new <projectName>