F
F
fantazerno2017-01-04 15:33:55
Node.js
fantazerno, 2017-01-04 15:33:55

How to make such an NPM build?

Hello!
There is a repository that has an impressive list of packages in pakege.json. At some point, you really need all of them, but sometimes you need to deploy a simple version and not wait until all the dependencies are downloaded, which you will not use later.
Is it possible to implement a set dialog before setting the type
- Do you need to install a local server ? Y/N
- Select preprocessor
1. Scss
2. Less
3. Stylus
And depending on the choice, all necessary packages and dependencies will be installed.
Thank you in advance for any help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-01-04
@sim3x

do you need automation of 4 lines on bash?

mkdir new_project
cd new_project
npm -i
npm install --save-dev gulp-sass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question