@skybloxsystems/ticket-bot
Version:
249 lines (248 loc) • 5.82 kB
JSON
{
"name": "mongoose",
"description": "Mongoose MongoDB ODM",
"version": "6.1.4",
"author": "Guillermo Rauch <guillermo@learnboost.com>",
"keywords": [
"mongodb",
"document",
"model",
"schema",
"database",
"odm",
"data",
"datastore",
"query",
"nosql",
"orm",
"db"
],
"license": "MIT",
"dependencies": {
"bson": "^4.2.2",
"kareem": "2.3.3",
"mongodb": "4.2.2",
"mpath": "0.8.4",
"mquery": "4.0.0",
"ms": "2.1.2",
"regexp-clone": "1.0.0",
"sift": "13.5.2",
"sliced": "1.0.1"
},
"devDependencies": {
"@babel/core": "7.10.5",
"@babel/preset-env": "7.10.4",
"@typescript-eslint/eslint-plugin": "5.8.0",
"@typescript-eslint/parser": "5.8.0",
"acquit": "1.x",
"acquit-ignore": "0.1.x",
"acquit-require": "0.1.x",
"babel-loader": "8.1.0",
"benchmark": "2.1.4",
"bluebird": "3.7.2",
"chalk": "4.1.2",
"cheerio": "1.0.0-rc.5",
"dox": "0.3.1",
"eslint": "8.5.0",
"eslint-plugin-mocha-no-only": "1.1.0",
"highlight.js": "9.18.3",
"lodash.isequal": "4.5.0",
"lodash.isequalwith": "4.4.0",
"marked": "2.1.3",
"mkdirp": "0.5.5",
"mocha": "9.1.3",
"moment": "2.x",
"node-static": "0.7.11",
"object-sizeof": "1.3.0",
"pug": "3.0.2",
"q": "1.5.1",
"rimraf": "2.6.3",
"semver": "5.5.0",
"typescript": "4.5.3",
"uuid": "2.0.3",
"uuid-parse": "1.0.0",
"webpack": "4.44.1"
},
"directories": {
"lib": "./lib/mongoose"
},
"scripts": {
"lint": "eslint .",
"build-browser": "node build-browser.js",
"prepublishOnly": "npm run build-browser",
"release": "git pull && git push origin master --tags && npm publish",
"release-legacy": "git pull origin 5.x && git push origin 5.x --tags && npm publish --tag legacy",
"test": "mocha --exit ./test/*.test.js ./test/typescript/main.test.js",
"tdd": "mocha ./test/*.test.js ./test/typescript/main.test.js --inspect --watch --recursive --watch-files ./**/*.js",
"test-cov": "nyc --reporter=html --reporter=text npm test"
},
"main": "./index.js",
"types": "./index.d.ts",
"engines": {
"node": ">=12.0.0"
},
"bugs": {
"url": "https://github.com/Automattic/mongoose/issues/new"
},
"repository": {
"type": "git",
"url": "git://github.com/Automattic/mongoose.git"
},
"homepage": "https://mongoosejs.com",
"browser": "./dist/browser.umd.js",
"mocha": {
"extension": [
"test.js"
],
"watch-files": [
"test/**/*.js"
]
},
"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": 2020
},
"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"
}
}