package.json And package- clock.json The difference between

Json versus package.json
Json is the configuration file generated when building a project, which contains the configuration information needed for the project, as well as various dependencies, including name and version number; It is divided into development dependencies and operation dependencies. ^ Refers to other updated versions after the current major version

  "name": "managenmet",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  "dependencies": {
    "core-js": "^3.6.5",
    "vue": "^2.6.11"
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^6.2.2",
    "vue-template-compiler": "^2.6.11"
  "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    "extends": [
    "parserOptions": {
      "parser": "babel-eslint"
    "rules": {}
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not dead"

Json is the latest version dependency automatically generated after NPM installIt is used to record the version number of the current project dependency and cannot be changed. When you delete node_modules or modify package.json and execute NPM install, the current project dependencies will be updated to the appropriate version according to the rules

Read More: