In which we discover how to use the config object in package.json to set environment variables we can use in npm scripts.
Posted in npm on by Adrian Payne
No-nonsense guide on how to replace standard pre-processor tasks using just NPM. No Grunt. No Gulp. Just package.json. Yes - it's possible! You've come here because you've heard the buzz about replacing pre-processors like Grunt or Gulp with straight up NPM and you want to find out more.