Top "Package.json" questions

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

Module not found: Error: Can't resolve 'core-js/es6'

I've got a problem with my build process in relation to my React app. I always get the following error: …

npm build yarnpkg package.json
How to display the app version in Angular?

How do I display the app version in angular application? the version should be taken from package.json file { "name": "…

version angular package.json
How to install only "devDependencies" using npm

I am trying to install ONLY the "devDependencies" listed in my package.json file. But none of the following commands …

node.js npm npm-install package.json
How to use package.json scripts to copy files with specific file extension

I am trying out npm as a build tool. One stumbling block I have encountered is that I need to …

npm package.json build-tools
Do I need both package-lock.json and package.json?

After updating my NPM to the latest version (from 3.X to 5.2.0) and running npm install on an existing project, I …

npm npm-install package.json package-lock.json
How to specify the path of `package.json` to npm?

I use npm scripts to build my project. I'd like to be able to run the scripts from a different …

node.js npm package.json
'react-scripts' is not recognized as an internal or external command, operable program or batch file

I am learning to react. The version I installed is 16. I installed prop-types via npm after I got an error …

reactjs node-modules package.json react-scripts
How to configure package.json to run eslint script

So I am using eslint as a linter for my react project and I would like it to check all …

reactjs webpack lint package.json
What should put in the license field of package.json if my code is only for use by the company I work for?

NPM 2.11.3 I'm building a library in Node. This library is only for use by the company I am currently working …

node.js package.json
Change working directory for npm scripts

Q: Is it possible to change the the context in which npm runs scripts? What I want to is the …

node.js npm makefile package.json