package.json 6.63 KB
{
  "_from": "mongoose",
  "_id": "mongoose@5.12.12",
  "_inBundle": false,
  "_integrity": "sha512-n+ZmGApaL5x/r92w6S4pb+c075i+YKzg1F9YWkznSzQMtvetj/2dSjj2cqsITpd6z60k3K7ZaosIl6hzHwUA9g==",
  "_location": "/mongoose",
  "_phantomChildren": {},
  "_requested": {
    "type": "tag",
    "registry": true,
    "raw": "mongoose",
    "name": "mongoose",
    "escapedName": "mongoose",
    "rawSpec": "",
    "saveSpec": null,
    "fetchSpec": "latest"
  },
  "_requiredBy": [
    "#USER",
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.12.12.tgz",
  "_shasum": "7da29c7d7924ad1fb07b5c5fc0acde2f4aaff4f9",
  "_spec": "mongoose",
  "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate",
  "author": {
    "name": "Guillermo Rauch",
    "email": "guillermo@learnboost.com"
  },
  "browser": "./dist/browser.umd.js",
  "bugs": {
    "url": "https://github.com/Automattic/mongoose/issues/new"
  },
  "bundleDependencies": false,
  "dependencies": {
    "@types/mongodb": "^3.5.27",
    "bson": "^1.1.4",
    "kareem": "2.3.2",
    "mongodb": "3.6.8",
    "mongoose-legacy-pluralize": "1.0.2",
    "mpath": "0.8.3",
    "mquery": "3.2.5",
    "ms": "2.1.2",
    "regexp-clone": "1.0.0",
    "safe-buffer": "5.2.1",
    "sift": "13.5.2",
    "sliced": "1.0.1"
  },
  "deprecated": false,
  "description": "Mongoose MongoDB ODM",
  "devDependencies": {
    "@babel/core": "7.10.5",
    "@babel/preset-env": "7.10.4",
    "@typescript-eslint/eslint-plugin": "4.10.0",
    "@typescript-eslint/parser": "4.10.0",
    "acquit": "1.x",
    "acquit-ignore": "0.1.x",
    "acquit-require": "0.1.x",
    "async": "2.6.2",
    "babel-loader": "8.1.0",
    "benchmark": "2.1.4",
    "bluebird": "3.5.5",
    "chalk": "2.4.2",
    "cheerio": "1.0.0-rc.2",
    "co": "4.6.0",
    "dox": "0.3.1",
    "eslint": "7.1.0",
    "eslint-plugin-mocha-no-only": "1.1.0",
    "highlight.js": "9.18.2",
    "lodash.isequal": "4.5.0",
    "lodash.isequalwith": "4.4.0",
    "marked": "1.1.1",
    "mocha": "5.x",
    "moment": "2.x",
    "mongodb-topology-manager": "1.0.11",
    "mongoose-long": "0.2.1",
    "node-static": "0.7.11",
    "object-sizeof": "1.3.0",
    "pug": "2.0.3",
    "q": "1.5.1",
    "semver": "5.5.0",
    "typescript": "4.1.x",
    "uuid": "2.0.3",
    "uuid-parse": "1.0.0",
    "validator": "10.8.0",
    "webpack": "4.44.0"
  },
  "directories": {
    "lib": "./lib/mongoose"
  },
  "engines": {
    "node": ">=4.0.0"
  },
  "eslintConfig": {
    "extends": [
      "eslint:recommended"
    ],
    "overrides": [
      {
        "files": [
          "**/*.{ts,tsx}"
        ],
        "extends": [
          "plugin:@typescript-eslint/eslint-recommended",
          "plugin:@typescript-eslint/recommended"
        ],
        "plugins": [
          "@typescript-eslint"
        ],
        "rules": {
          "@typescript-eslint/no-explicit-any": "off",
          "@typescript-eslint/ban-types": "off",
          "@typescript-eslint/no-unused-vars": "off",
          "@typescript-eslint/explicit-module-boundary-types": "off"
        }
      }
    ],
    "plugins": [
      "mocha-no-only"
    ],
    "parserOptions": {
      "ecmaVersion": 2015
    },
    "env": {
      "node": true,
      "es6": true
    },
    "rules": {
      "comma-style": "error",
      "indent": [
        "error",
        2,
        {
          "SwitchCase": 1,
          "VariableDeclarator": 2
        }
      ],
      "keyword-spacing": "error",
      "no-whitespace-before-property": "error",
      "no-buffer-constructor": "warn",
      "no-console": "off",
      "no-multi-spaces": "error",
      "no-constant-condition": "off",
      "func-call-spacing": "error",
      "no-trailing-spaces": "error",
      "no-undef": "error",
      "no-unneeded-ternary": "error",
      "no-const-assign": "error",
      "no-useless-rename": "error",
      "no-dupe-keys": "error",
      "space-in-parens": [
        "error",
        "never"
      ],
      "spaced-comment": [
        "error",
        "always",
        {
          "block": {
            "markers": [
              "!"
            ],
            "balanced": true
          }
        }
      ],
      "key-spacing": [
        "error",
        {
          "beforeColon": false,
          "afterColon": true
        }
      ],
      "comma-spacing": [
        "error",
        {
          "before": false,
          "after": true
        }
      ],
      "array-bracket-spacing": 1,
      "arrow-spacing": [
        "error",
        {
          "before": true,
          "after": true
        }
      ],
      "object-curly-spacing": [
        "error",
        "always"
      ],
      "comma-dangle": [
        "error",
        "never"
      ],
      "no-unreachable": "error",
      "quotes": [
        "error",
        "single"
      ],
      "quote-props": [
        "error",
        "as-needed"
      ],
      "semi": "error",
      "no-extra-semi": "error",
      "semi-spacing": "error",
      "no-spaced-func": "error",
      "no-throw-literal": "error",
      "space-before-blocks": "error",
      "space-before-function-paren": [
        "error",
        "never"
      ],
      "space-infix-ops": "error",
      "space-unary-ops": "error",
      "no-var": "warn",
      "prefer-const": "warn",
      "strict": [
        "error",
        "global"
      ],
      "no-restricted-globals": [
        "error",
        {
          "name": "context",
          "message": "Don't use Mocha's global context"
        }
      ],
      "no-prototype-builtins": "off",
      "mocha-no-only/mocha-no-only": [
        "error"
      ]
    }
  },
  "funding": {
    "type": "opencollective",
    "url": "https://opencollective.com/mongoose"
  },
  "homepage": "https://mongoosejs.com",
  "keywords": [
    "mongodb",
    "document",
    "model",
    "schema",
    "database",
    "odm",
    "data",
    "datastore",
    "query",
    "nosql",
    "orm",
    "db"
  ],
  "license": "MIT",
  "main": "./index.js",
  "mocha": {
    "extension": [
      "test.js"
    ],
    "watch-files": [
      "test/**/*.js"
    ]
  },
  "name": "mongoose",
  "repository": {
    "type": "git",
    "url": "git://github.com/Automattic/mongoose.git"
  },
  "scripts": {
    "build-browser": "node build-browser.js",
    "lint": "eslint .",
    "prepublishOnly": "npm run build-browser",
    "release": "git pull && git push origin master --tags && npm publish",
    "release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
    "tdd": "mocha ./test/*.test.js ./test/typescript/main.test.js --watch --recursive --watch-files ./**/*.js",
    "test": "mocha --exit ./test/*.test.js ./test/typescript/main.test.js",
    "test-cov": "nyc --reporter=html --reporter=text npm test"
  },
  "version": "5.12.12"
}