Top "Package.json" questions

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

npm package.json OS specific script

I would like to create a package.json build script that executes slightly different set of commands when run from …

node.js npm package.json npm-scripts
webpack-bundle-analyzer is not working

I run below command to create stats.json: ng build --prod --stats-json After this I am executing below code: webpack-bundle-analyzer …

angular webpack package.json webpack-bundle-analyzer
How to set env var for .npmrc use

I need a module in my project to download a private npm package. To accomplish this, I am using a .…

node.js npm package.json npm-scripts
What is `"dev" true` in package-lock.json for?

What does "dev" true means in package-lock.json file? In my case it is automatically updated when I perform npm …

npm package.json
Difference between tsconfig.json and tsconfig.app.json files in Angular

I'm a newbie in Angular. I used angular-cli to learn about angular and I found the files tsconfig.json and …

html angular typescript angular-cli package.json
What exactly does "next" mean in package.json dependencies?

What exactly does next mean in package.json dependencies? "dependencies": { "react": "^15.4.2", "react-dom": "^15.4.2", "react-router-dom": "next" }

npm dependencies package.json
ts-node cannot find module typescript

I'm deploying a dockerized typescript app on AWS. When I run the app container I get a ts-node error Error: …

typescript docker package.json nestjs ts-node
Angular5 :polyfills.ts & \main.ts is missing from the TypeScript compilation

This is my Angular5 project structure. Both tsconfig.app.json and package.json contain this section "include": [ "/src/main.ts", "/…

angular typescript webpack angular-cli package.json
Import from subfolder of npm package

I've been working on creating a small library of React components for use in several other projects. I am publishing …

javascript node.js npm webpack package.json
Should changes in a package.json file be commited to a repository as well?

I am not sure that if it is correct to commit and push the changes in the package.JSON file …

npm dependencies repository git-commit package.json