- To run a file from folder:
-
for example: I want run a gulpfile.js as index.js in tasks folder from root directory
npm command: gulp --gulpfile tasks
Here --gulpfile denotes gulpfile.js and searches it as index.js in tasks folder
-
Install $ npm install -g npm-check Use $ npm-check