I have a package.json
with both
"dependencies": {
"d3": "~3.5.5",
"forever": "^0.14.1"
},
"scripts": {
"install": "make -f install.makefile"
"data": "make -f data.makefile core",
"serve": "node ./node_modules/.bin/forever ./node_modules/.bin/http-server"
}
When I check my scripts by running npm run
, I get :
I wonder if "install" is a reserved keywords, since it is not grouped with other scripts.
Is install
a reserved word with special behavior when in packages.json's scripts object ?
From the docs: https://docs.npmjs.com/misc/scripts
install, postinstall: Run AFTER the package is installed.