Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 688 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 688 Bytes

MixNpm

A small set of mix tasks for creating mix commands that run npm commands.

Features

  • mix npm SUBCOMMAND [ARGS] is equivalent to npm SUBCOMMAND ARGS
  • mix npm.run SCRIPT [ARGS] is equivalent to npm run SCRIPT ARGS

Installation

If available in Hex, the package can be installed by adding mix_npm to your list of dependencies in mix.exs:

def deps do
  [{:mix_npm, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/mix_npm.