Package.json

Package.json file keeps the record of libraries used in the application and also keeps the track of commands used to interact with the application.

The pakage.json file of Crema-ANT looks like this:-

{
  "name": "crema",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@ant-design/colors": "^6.0.0",
    "@ant-design/compatible": "^1.0.8",
    "@ant-design/icons": "^4.6.2",
    "@auth0/auth0-react": "^1.6.0",
    "@auth0/auth0-spa-js": "^1.16.1",
    "@aws-amplify/auth": "^4.1.3",
    "@babel/core": "^7.14.8",
    "@babel/preset-env": "^7.14.8",
    "@babel/runtime": "^7.14.8",
    "@brainhubeu/react-carousel": "^2.0.4",
    "@craco/craco": "^6.2.0",
    "@testing-library/jest-dom": "^5.11.4",
    "@testing-library/react": "^11.1.0",
    "@testing-library/user-event": "^12.1.10",
    "antd": "^4.16.9",
    "array-move": "^3.0.1",
    "axios": "^0.21.1",
    "axios-mock-adapter": "^1.19.0",
    "clsx": "^1.1.1",
    "connected-react-router": "^6.9.1",
    "craco-less": "^1.18.0",
    "fetch-jsonp": "^1.1.3",
    "firebase": "^8.8.0",
    "gsap": "^3.7.1",
    "history": "^5.0.0",
    "lodash": "^4.17.21",
    "match-sorter": "^6.3.0",
    "moment": "^2.29.1",
    "namor": "^2.0.3",
    "prism-react-renderer": "^1.2.1",
    "prop-types": "^15.7.2",
    "querystring": "^0.2.1",
    "raw-loader": "^4.0.2",
    "rc-queue-anim": "^1.8.5",
    "react": "^17.0.2",
    "react-beautiful-dnd": "^13.1.0",
    "react-big-calendar": "^0.33.5",
    "react-bottom-scroll-listener": "^5.0.0",
    "react-chat-window": "^1.2.1",
    "react-code-input": "^3.10.1",
    "react-color": "^2.19.3",
    "react-content-loader": "^6.0.3",
    "react-dom": "^17.0.2",
    "react-dropzone": "^11.3.4",
    "react-google-maps": "^9.4.5",
    "react-helmet": "^6.1.0",
    "react-icons": "^4.2.0",
    "react-image-timeline": "^3.2.13",
    "react-images": "^1.2.0-beta.7",
    "react-intl": "^5.20.6",
    "react-notifications-component": "^3.1.0",
    "react-perfect-scrollbar": "^1.5.8",
    "react-photo-gallery": "^8.0.0",
    "react-player": "^2.9.0",
    "react-quill": "^1.3.5",
    "react-redux": "^7.2.4",
    "react-render-html": "^0.6.0",
    "react-router-dom": "^5.2.0",
    "react-scripts": "4.0.3",
    "react-share": "^4.4.0",
    "react-simple-maps": "^2.3.0",
    "react-slick": "^0.28.1",
    "react-sortable-hoc": "^2.0.0",
    "react-svg-piechart": "^2.4.2",
    "react-table": "^7.7.0",
    "react-tooltip": "^4.2.21",
    "react-trello": "^2.2.11",
    "recharts": "^2.0.10",
    "recompose": "^0.30.0",
    "redux": "^4.1.0",
    "redux-thunk": "^2.3.0",
    "slick-carousel": "^1.8.1",
    "web-vitals": "^1.0.1"
  },
  "scripts": {
    "start": "craco start",
    "build": "craco build",
    "test": "craco test",
    "lint": "eslint \"src/**/*.+(js|jsx)\"",
    "lint:fix": "eslint --fix \"src/**/*.+(js|jsx)\"",
    "format": "prettier --write \"src/**/*.+(js|jsx)\"",
    "precommit": "lint-staged"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "@commitlint/cli": "^13.1.0",
    "babel-eslint": "^10.1.0",
    "commitlint-config-jira": "^1.5.1",
    "commitlint-plugin-jira-rules": "^1.5.1",
    "eslint": "^7.31.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-plugin-react": "^7.24.0",
    "husky": "^7.0.1",
    "lint-staged": "^11.1.1",
    "prettier": "^2.3.2"
  }
}

Last updated

Was this helpful?