Top "Package.json" questions

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

How to have yarn not issue a warning for the license field?

On running yarn install I see a warning every time that there is no license filed even though I have …

javascript node.js package.json yarnpkg
npm equivalent of yarn resolutions?

Is there an npm equivalent of the yarn resolutions functionality? There is no mention of it in the npm package.…

npm package.json yarnpkg
Build .exe file in .NET Core RC2

Every time I build a project using the new .NET Core RC2 templates I am not provided with a runnable .…

.net asp.net-core .net-core package.json .net-core-rc2
npm init doesn't create package.json

I am new to ReactJS, I was following one of the tutorials in "TutorialsPoint". In Step 2: After the folder is …

npm package.json
typescript outDir setting in tsconfig.json not working

I can't seem to get the outDir flag working when used in package.json. Directory structure is pretty simple: tsconfig.…

typescript build package.json tsc outdir
package.json start script, babel-node: not found on heroku deploy

When I run heroku local or when I just do npm start locally, my app builds and runs fine. However …

node.js heroku package.json
NODE_ENV is not recognised as an internal or external command

I am developing in node.js and wanted to take into account both production and development environment. I found out …

node.js express package.json
Yarn - Node Sass does not yet support my current environment

I'm using Sage WordPress starter theme - https://github.com/roots/sage. From today when I run yarn build (webpack …

node.js webpack sass yarnpkg package.json
Is the "files" property necessary in package.json?

It looks like the package will include all files (that are not ignored), even if the package.json has no "…

npm package.json
How to sync `yarn.lock` with `package.json`?

I installed a package with yarn add --dev, run its setup process and during it, the package installed several other …

node.js package.json yarnpkg