Top "Package.json" questions

All npm packages contain a file, usually in the project root, called package.

Locally installed gulp not running in command line?

I am new to nodejs and gulp stuff. I working on a nodejs project in which I have to run …

node.js command-line gulp package.json
npm update does not do anything

When I execute this code in my application folder where the package.json is located: npm update or npm update …

node.js npm package.json
Node.js project with no package.json

Is it ok to have a node.js project with no package.json? The ones I see on the internet …

javascript node.js package.json
How to use environment variables in package.json

Because we don't want sensitive data in the project code, including the package.json file, using environment variables would be …

node.js heroku npm package.json
Why am I getting "no exported member" errors when attempting to upgrade Angular?

The issue I am trying to upgrade from Angular V9 to V11 and I'm struggling quite a lot with the …

angular typescript npm package.json angular11
Node engine 8.x or 10.x in package.json

I tried to specify the node engine in a package.json to accept both 8 and 10 version. I tried to type …

javascript node.js npm package.json yarnpkg
How to npm publish specific folder but as package root

I have a project that include a gulp task for building and packaging the sources and release in a directory …

npm package node-modules package.json
Pass command line args to npm scripts in package.json

I have the below scripts in my package.json: "scripts": { "vumper": "node node_modules/vumper/index.js", "format": "prettier --single-quote …

npm package.json npm-scripts
How do I fix a vulnerable npm package in my package-lock.json that isn't listed in the package.json?

Github is telling me that a dependency in my package-lock.json file is vulnerable and outdated. The problem is that …

node.js npm package.json package-lock.json
Root directory in package.json

My question concerns an existing library that I wish to publish as an NPM module. The library is already in …

javascript node.js npm package.json