{
  "name": "@rss/common",
  "version": "1.6.0",
  "description": "RSS common constant, classes and helpers",
  "author": "Risk and Safety Solutions",
  "repository": "https://github.com/risk-and-safety/platform",
  "homepage": "https://riskandsafety.com",
  "main": "index.js",
  "license": "UNLICENSED",
  "config": {
    "deployTypes": [
      "NPM"
    ]
  },
  "scripts": {
    "build": "babel ./src -d dist",
    "lint": "eslint ./src",
    "test": "jest ./src",
    "test:watch": "jest --watch"
  },
  "dependencies": {
    "bson": "4.3.0",
    "clone": "2.1.2",
    "date-fns": "2.29.3",
    "deep-diff": "1.0.2",
    "date-fns-tz": "1.1.6",
    "libphonenumber-js": "1.10.13",
    "lodash": "^4.18.1",
    "moment": "^2.30.1",
    "tv4": "1.3.0",
    "yup": "0.32.11"
  },
  "devDependencies": {
    "@babel/cli": "7.15.7",
    "@babel/core": "7.20.12",
    "@babel/plugin-proposal-object-rest-spread": "7.15.6",
    "@babel/preset-env": "7.20.2",
    "eslint": "7.32.0",
    "eslint-config-airbnb-base": "14.2.1",
    "eslint-config-prettier": "8.5.0",
    "eslint-plugin-import": "2.24.2",
    "eslint-plugin-prettier": "4.2.1",
    "jest": "29.5.0",
    "jest-github-actions-reporter": "1.0.3",
    "jest-sonar-reporter": "2.0.0",
    "prettier": "2.4.1"
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.js"
    ],
    "coveragePathIgnorePatterns": [
      "/node_modules/",
      "/misc/"
    ],
    "testEnvironment": "node",
    "testMatch": [
      "**/*.(integration|spec).js"
    ]
  },
  "jestSonar": {
    "reportPath": "coverage/",
    "reportFile": "sonar-reporter.xml"
  },
  "prettier": {
    "arrowParens": "always",
    "printWidth": 120,
    "singleQuote": true,
    "trailingComma": "all"
  },
  "eslintConfig": {
    "env": {
      "jest": true
    },
    "extends": [
      "airbnb-base",
      "prettier"
    ],
    "ignorePatterns": [
      "**/misc",
      "**/scripts"
    ],
    "plugins": [
      "prettier"
    ],
    "rules": {
      "no-underscore-dangle": [
        "error",
        {
          "allow": [
            "_id"
          ]
        }
      ],
      "prettier/prettier": [
        "error"
      ]
    }
  }
}
