Open in app
Alex Ewerlöf
1.2K Followers
About

Sign in

1.2K Followers
About
Open in app

Call a separate .js file

Why I Left Gulp and Grunt for npm Scripts
2.7K
89

Cory House

Alex Ewerlöf

Alex Ewerlöf

Jan 20, 2016·1 min read

We use a 4th way that is a convention with the related key prefixed with “//” for example, to comment the commends in “preinstall”, we write the comment in “//preinstall” right on top of it. It’s just a convention but it is compatible with JSON spec.

Written by

Alex Ewerlöf

Knowledge Worker, MSc Systems Engineering, Tech Lead, Web Developer

More from Alex Ewerlöf

Knowledge Worker, MSc Systems Engineering, Tech Lead, Web Developer

More From Medium

Node shebang

Alex Ewerlöf

A visual history of web APIs

Alex Ewerlöf

Async map with limited parallelism in Node.js

Alex Ewerlöf in codeburst

We’re About to Experience the Fakest Economic Boom In History

Concoda in Concoda

I Almost Got Fired for Choosing React in Our Enterprise App

Razvan Dragomir in Better Programming

Trump’s Downfall Bears a Striking Resemblance to the Final Days of Ted Bundy

Joe Duncan

3 Toxic Relationship Habits People Think Are Acceptable

Darshak Rana in The Innovation

How One Article Has Paid My Mortgage the Last 23 Months

MICHAEL THOMPSON in Mind Cafe

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store