3.1.8 • Published 6 years ago

slim-cli v3.1.8

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

slim-cli

Build Status npm version

An opinionated workflow CLI for Angular projects that uses Webpack, TypeScript and Sass.

Installation

npm i -g slim-cli

Usage

The CLI has several commands that take different options, like the Git CLI. The commands have the following form slim <command> [options].

Examples

slim dev # Start the development build with hot reloading

slim -h # Show help

Why don't we use the Angular CLI?

The Angular CLI tries to adhere to many possible workflows that use different tools, like Sass vs. Less vs. Stylus. This makes it sometimes hard to implement a feature that is not universally available.

Another reason is the limited extensibility of the CLI's blueprints, which is needed for a sufficiently powerful template definition. This is for example needed to generate Redux Actions and Reducers.

What does slim mean?

Our old workflow was based on Slush and the generator package was called slush-im2m. So all our commands had the form slush im2m:<command> [options]. And because it is easier to write one word than to write two, this was reduced to slim.

Continuous Integration (CI)

Slim can be used in CI systems. To run Unit-Tests and E2E-Tests on Debian on a Server, perform the following steps:

echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
apt-get update
apt-get install libxpm4 libxrender1 libgtk2.0-0 libnss3 libgconf-2-4
apt-get install google-chrome-stable
apt-get install xvfb gtk2-engines-pixbuf
apt-get install xfonts-cyrillic xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable
apt-get install imagemagick x11-apps

License

MIT

3.1.8

6 years ago

3.1.7

6 years ago

3.1.6

6 years ago

3.1.5

6 years ago

3.1.4

6 years ago

3.1.3

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.2.0

6 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.3

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

0.9.6

7 years ago

0.9.5

7 years ago

0.9.4

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.12

7 years ago

0.6.11

7 years ago

0.6.10

7 years ago

0.6.9

7 years ago

0.6.8

7 years ago

0.6.7

7 years ago

0.6.6

7 years ago

0.6.5

7 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago

0.6.0

7 years ago

0.5.11

7 years ago

0.5.10

7 years ago

0.5.9

7 years ago

0.5.8

7 years ago

0.5.7

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago