Home / File/ package.json — react Source File

package.json — react Source File

Architecture documentation for package.json, a json file in the react codebase.

Entity Profile

Source Code

{
  "name": "react-nesting-example",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "react-scripts": "3.4.1",
    "redux": "^4.0.5"
  },
  "scripts": {
    "postinstall": "run-p install:*",
    "install:legacy": "cd src/legacy && npm install",
    "install:modern": "cd src/modern && npm install",
    "copy:legacy": "cpx 'src/shared/**' 'src/legacy/shared/'",
    "copy:modern": "cpx 'src/shared/**' 'src/modern/shared/'",
    "watch:legacy": "cpx 'src/shared/**' 'src/legacy/shared/' --watch --no-initial",
    "watch:modern": "cpx 'src/shared/**' 'src/modern/shared/' --watch --no-initial",
    "prebuild": "run-p copy:*",
    "predev": "run-p copy:*",
    "dev": "run-p dev-app watch:*",
    "dev-app": "react-scripts start",
    "build": "react-scripts build",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "cpx": "^1.5.0",
    "npm-run-all": "^4.1.5"
  }
}

Frequently Asked Questions

What does package.json do?
package.json is a source file in the react codebase, written in json.
Where is package.json in the architecture?
package.json is located at fixtures/nesting/package.json (directory: fixtures/nesting).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free