package.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. {
  2. "_from": "mongoose@^5.12.11",
  3. "_id": "mongoose@5.12.11",
  4. "_inBundle": false,
  5. "_integrity": "sha512-16TVqYhHQdZNR8RTis/8iiTPy+nJPq0UhKyBFTucLLU3PWcDLY2gAGv6aOk0LygTNhEfgNnENgUUHhjVqTuh8w==",
  6. "_location": "/mongoose",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "mongoose@^5.12.11",
  12. "name": "mongoose",
  13. "escapedName": "mongoose",
  14. "rawSpec": "^5.12.11",
  15. "saveSpec": null,
  16. "fetchSpec": "^5.12.11"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.12.11.tgz",
  23. "_shasum": "e4531e4075aeed86db6482b2f1b5564570934d4c",
  24. "_spec": "mongoose@^5.12.11",
  25. "_where": "/home/pvvvm505/Документы/Project/Back",
  26. "author": {
  27. "name": "Guillermo Rauch",
  28. "email": "guillermo@learnboost.com"
  29. },
  30. "browser": "./dist/browser.umd.js",
  31. "bugs": {
  32. "url": "https://github.com/Automattic/mongoose/issues/new"
  33. },
  34. "bundleDependencies": false,
  35. "dependencies": {
  36. "@types/mongodb": "^3.5.27",
  37. "bson": "^1.1.4",
  38. "kareem": "2.3.2",
  39. "mongodb": "3.6.8",
  40. "mongoose-legacy-pluralize": "1.0.2",
  41. "mpath": "0.8.3",
  42. "mquery": "3.2.5",
  43. "ms": "2.1.2",
  44. "regexp-clone": "1.0.0",
  45. "safe-buffer": "5.2.1",
  46. "sift": "13.5.2",
  47. "sliced": "1.0.1"
  48. },
  49. "deprecated": false,
  50. "description": "Mongoose MongoDB ODM",
  51. "devDependencies": {
  52. "@babel/core": "7.10.5",
  53. "@babel/preset-env": "7.10.4",
  54. "@typescript-eslint/eslint-plugin": "4.10.0",
  55. "@typescript-eslint/parser": "4.10.0",
  56. "acquit": "1.x",
  57. "acquit-ignore": "0.1.x",
  58. "acquit-require": "0.1.x",
  59. "async": "2.6.2",
  60. "babel-loader": "8.1.0",
  61. "benchmark": "2.1.4",
  62. "bluebird": "3.5.5",
  63. "chalk": "2.4.2",
  64. "cheerio": "1.0.0-rc.2",
  65. "co": "4.6.0",
  66. "dox": "0.3.1",
  67. "eslint": "7.1.0",
  68. "eslint-plugin-mocha-no-only": "1.1.0",
  69. "highlight.js": "9.18.2",
  70. "lodash.isequal": "4.5.0",
  71. "lodash.isequalwith": "4.4.0",
  72. "marked": "1.1.1",
  73. "mocha": "5.x",
  74. "moment": "2.x",
  75. "mongodb-topology-manager": "1.0.11",
  76. "mongoose-long": "0.2.1",
  77. "node-static": "0.7.11",
  78. "object-sizeof": "1.3.0",
  79. "pug": "2.0.3",
  80. "q": "1.5.1",
  81. "semver": "5.5.0",
  82. "typescript": "4.1.x",
  83. "uuid": "2.0.3",
  84. "uuid-parse": "1.0.0",
  85. "validator": "10.8.0",
  86. "webpack": "4.44.0"
  87. },
  88. "directories": {
  89. "lib": "./lib/mongoose"
  90. },
  91. "engines": {
  92. "node": ">=4.0.0"
  93. },
  94. "eslintConfig": {
  95. "extends": [
  96. "eslint:recommended"
  97. ],
  98. "overrides": [
  99. {
  100. "files": [
  101. "**/*.{ts,tsx}"
  102. ],
  103. "extends": [
  104. "plugin:@typescript-eslint/eslint-recommended",
  105. "plugin:@typescript-eslint/recommended"
  106. ],
  107. "plugins": [
  108. "@typescript-eslint"
  109. ],
  110. "rules": {
  111. "@typescript-eslint/no-explicit-any": "off",
  112. "@typescript-eslint/ban-types": "off",
  113. "@typescript-eslint/no-unused-vars": "off",
  114. "@typescript-eslint/explicit-module-boundary-types": "off"
  115. }
  116. }
  117. ],
  118. "plugins": [
  119. "mocha-no-only"
  120. ],
  121. "parserOptions": {
  122. "ecmaVersion": 2015
  123. },
  124. "env": {
  125. "node": true,
  126. "es6": true
  127. },
  128. "rules": {
  129. "comma-style": "error",
  130. "indent": [
  131. "error",
  132. 2,
  133. {
  134. "SwitchCase": 1,
  135. "VariableDeclarator": 2
  136. }
  137. ],
  138. "keyword-spacing": "error",
  139. "no-whitespace-before-property": "error",
  140. "no-buffer-constructor": "warn",
  141. "no-console": "off",
  142. "no-multi-spaces": "error",
  143. "no-constant-condition": "off",
  144. "func-call-spacing": "error",
  145. "no-trailing-spaces": "error",
  146. "no-undef": "error",
  147. "no-unneeded-ternary": "error",
  148. "no-const-assign": "error",
  149. "no-useless-rename": "error",
  150. "no-dupe-keys": "error",
  151. "space-in-parens": [
  152. "error",
  153. "never"
  154. ],
  155. "spaced-comment": [
  156. "error",
  157. "always",
  158. {
  159. "block": {
  160. "markers": [
  161. "!"
  162. ],
  163. "balanced": true
  164. }
  165. }
  166. ],
  167. "key-spacing": [
  168. "error",
  169. {
  170. "beforeColon": false,
  171. "afterColon": true
  172. }
  173. ],
  174. "comma-spacing": [
  175. "error",
  176. {
  177. "before": false,
  178. "after": true
  179. }
  180. ],
  181. "array-bracket-spacing": 1,
  182. "arrow-spacing": [
  183. "error",
  184. {
  185. "before": true,
  186. "after": true
  187. }
  188. ],
  189. "object-curly-spacing": [
  190. "error",
  191. "always"
  192. ],
  193. "comma-dangle": [
  194. "error",
  195. "never"
  196. ],
  197. "no-unreachable": "error",
  198. "quotes": [
  199. "error",
  200. "single"
  201. ],
  202. "quote-props": [
  203. "error",
  204. "as-needed"
  205. ],
  206. "semi": "error",
  207. "no-extra-semi": "error",
  208. "semi-spacing": "error",
  209. "no-spaced-func": "error",
  210. "no-throw-literal": "error",
  211. "space-before-blocks": "error",
  212. "space-before-function-paren": [
  213. "error",
  214. "never"
  215. ],
  216. "space-infix-ops": "error",
  217. "space-unary-ops": "error",
  218. "no-var": "warn",
  219. "prefer-const": "warn",
  220. "strict": [
  221. "error",
  222. "global"
  223. ],
  224. "no-restricted-globals": [
  225. "error",
  226. {
  227. "name": "context",
  228. "message": "Don't use Mocha's global context"
  229. }
  230. ],
  231. "no-prototype-builtins": "off",
  232. "mocha-no-only/mocha-no-only": [
  233. "error"
  234. ]
  235. }
  236. },
  237. "funding": {
  238. "type": "opencollective",
  239. "url": "https://opencollective.com/mongoose"
  240. },
  241. "homepage": "https://mongoosejs.com",
  242. "keywords": [
  243. "mongodb",
  244. "document",
  245. "model",
  246. "schema",
  247. "database",
  248. "odm",
  249. "data",
  250. "datastore",
  251. "query",
  252. "nosql",
  253. "orm",
  254. "db"
  255. ],
  256. "license": "MIT",
  257. "main": "./index.js",
  258. "mocha": {
  259. "extension": [
  260. "test.js"
  261. ],
  262. "watch-files": [
  263. "test/**/*.js"
  264. ]
  265. },
  266. "name": "mongoose",
  267. "repository": {
  268. "type": "git",
  269. "url": "git://github.com/Automattic/mongoose.git"
  270. },
  271. "scripts": {
  272. "build-browser": "node build-browser.js",
  273. "lint": "eslint .",
  274. "prepublishOnly": "npm run build-browser",
  275. "release": "git pull && git push origin master --tags && npm publish",
  276. "release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
  277. "tdd": "mocha ./test/*.test.js ./test/typescript/main.test.js --watch --recursive --watch-files ./**/*.js",
  278. "test": "mocha --exit ./test/*.test.js ./test/typescript/main.test.js",
  279. "test-cov": "nyc --reporter=html --reporter=text npm test"
  280. },
  281. "version": "5.12.11"
  282. }