2.0.4 • Published 2 years ago

@devexteam/dvx-cli v2.0.4

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

Devexteam CLI

  # Global
  npm install -g @devexteam/dvx-cli
  # In personal project
  ## As dev dependency
  npm install --save-dev @devexteam/dvx-cli
  ## As optional dependency
  npm install --save-optional @devexteam/dvx-cli
  dvx --version
  dvx --help
# Expected output:
Devexteam CLI
Recommend usage: dvx <cmd> [args]

Commands:
  dvx img:minify              Minify images
  dvx img:towebp              Format/Convert images to webp
  dvx img:resize              Resize images to 1024px width
  dvx img:build               Process images (minify, convert to webp and resize).
  dvx html:validate           Validate html files with htmlhint.
                              Read about rules on:
                              - https://github.com/htmlhint/HTMLHint/wiki/Rules
                              - https://htmlhint.com/docs/user-guide/list-rules
  dvx files:clean-sourcemaps  Clean sourcemaps comments (/*# sourceMappingURL=foo.css.map */)
                              in css files that can cause conflicts in compilation or packaging

https://devexteam.com - Copyright 2022

Integration and encapsulation of utilities (sharp, imagemin, htmlhint, ImageMagick, GraphicsMagick) and common use commands in the asset optimization process (images, html for the moment).

  • Use in the root project path
  • Use in a bash/unix console
  • Install ImageMagick*
    • Has fallback to sharp
  • Install GraphicsMagick*
    • Has fallback to sharp

:open_file_folder: project-name/

├─ :open_file_folder: src/

│ ├─ :open_file_folder: assets/

│ │ ├─ :open_file_folder: img/

│ │ │ ├─ :open_file_folder: dist/

│ │ │ ├─ :open_file_folder: src/

Thank you for reading :heart:. The feedback is appreciated. If you liked the project, it has been useful and you want to support the development or you simply want to invite me a coffee, you can do it via paypal with the following link:

Donate

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.31

4 years ago

1.0.30

4 years ago

1.0.29

4 years ago

1.0.28

5 years ago

1.0.27

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago