E
E
Extramezz2016-08-11 06:32:04
npm
Extramezz, 2016-08-11 06:32:04

How to install npm plugin to a specific folder?

Good afternoon!
I have a project with this structure:

/
  node_modules/
  assets/
    js/

As you may have guessed, I am using NodeJS to build it (via gulp).
------------------------
And here I am, wanting to put the npm plugin in the /assets/js/ directory, in the hope that everything will work out, I prescribe:
>cd assets/js/
>npm i jquery.inputmask

But the plugin still appears in /node_modules/. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly, 2016-08-31
@Beefeater

Found a solution?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question