package.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. {
  2. "_from": "mongoose@^5.9.15",
  3. "_id": "mongoose@5.9.16",
  4. "_inBundle": false,
  5. "_integrity": "sha512-b4HNndgh+dacoLE/2SBF3iBBofeaKL+aGVZH7jnPRc2RXRCplX4sfH5sgoz03ryCSXJ+RQNIfqKAADt/ZBzPDA==",
  6. "_location": "/mongoose",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "mongoose@^5.9.15",
  12. "name": "mongoose",
  13. "escapedName": "mongoose",
  14. "rawSpec": "^5.9.15",
  15. "saveSpec": null,
  16. "fetchSpec": "^5.9.15"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.9.16.tgz",
  23. "_shasum": "6aa688a6b7b444d10f60ac539b92556cae20475e",
  24. "_spec": "mongoose@^5.9.15",
  25. "_where": "D:\\a-level\\javascript\\homework\\chat-server",
  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. "bson": "^1.1.4",
  37. "kareem": "2.3.1",
  38. "mongodb": "3.5.7",
  39. "mongoose-legacy-pluralize": "1.0.2",
  40. "mpath": "0.7.0",
  41. "mquery": "3.2.2",
  42. "ms": "2.1.2",
  43. "regexp-clone": "1.0.0",
  44. "safe-buffer": "5.1.2",
  45. "sift": "7.0.1",
  46. "sliced": "1.0.1"
  47. },
  48. "deprecated": false,
  49. "description": "Mongoose MongoDB ODM",
  50. "devDependencies": {
  51. "acquit": "1.x",
  52. "acquit-ignore": "0.1.x",
  53. "acquit-require": "0.1.x",
  54. "async": "2.6.2",
  55. "babel-loader": "7.1.4",
  56. "babel-preset-es2015": "6.24.1",
  57. "benchmark": "2.1.4",
  58. "bluebird": "3.5.5",
  59. "chalk": "2.4.2",
  60. "cheerio": "1.0.0-rc.2",
  61. "co": "4.6.0",
  62. "dox": "0.3.1",
  63. "eslint": "7.1.0",
  64. "eslint-plugin-mocha-no-only": "1.1.0",
  65. "highlight.js": "9.1.0",
  66. "lodash.isequal": "4.5.0",
  67. "lodash.isequalwith": "4.4.0",
  68. "marked": "0.6.2",
  69. "mocha": "5.x",
  70. "moment": "2.x",
  71. "mongodb-topology-manager": "1.0.11",
  72. "mongoose-long": "0.2.1",
  73. "node-static": "0.7.11",
  74. "object-sizeof": "1.3.0",
  75. "pug": "2.0.3",
  76. "q": "1.5.1",
  77. "semver": "5.5.0",
  78. "uuid": "2.0.3",
  79. "uuid-parse": "1.0.0",
  80. "validator": "10.8.0",
  81. "webpack": "4.16.4"
  82. },
  83. "directories": {
  84. "lib": "./lib/mongoose"
  85. },
  86. "engines": {
  87. "node": ">=4.0.0"
  88. },
  89. "eslintConfig": {
  90. "extends": [
  91. "eslint:recommended"
  92. ],
  93. "plugins": [
  94. "mocha-no-only"
  95. ],
  96. "parserOptions": {
  97. "ecmaVersion": 2015
  98. },
  99. "env": {
  100. "node": true,
  101. "es6": true
  102. },
  103. "rules": {
  104. "comma-style": "error",
  105. "indent": [
  106. "error",
  107. 2,
  108. {
  109. "SwitchCase": 1,
  110. "VariableDeclarator": 2
  111. }
  112. ],
  113. "keyword-spacing": "error",
  114. "no-whitespace-before-property": "error",
  115. "no-buffer-constructor": "warn",
  116. "no-console": "off",
  117. "no-multi-spaces": "error",
  118. "no-constant-condition": "off",
  119. "func-call-spacing": "error",
  120. "no-trailing-spaces": "error",
  121. "no-undef": "error",
  122. "no-unneeded-ternary": "error",
  123. "no-const-assign": "error",
  124. "no-useless-rename": "error",
  125. "no-dupe-keys": "error",
  126. "space-in-parens": [
  127. "error",
  128. "never"
  129. ],
  130. "spaced-comment": [
  131. "error",
  132. "always",
  133. {
  134. "block": {
  135. "markers": [
  136. "!"
  137. ],
  138. "balanced": true
  139. }
  140. }
  141. ],
  142. "key-spacing": [
  143. "error",
  144. {
  145. "beforeColon": false,
  146. "afterColon": true
  147. }
  148. ],
  149. "comma-spacing": [
  150. "error",
  151. {
  152. "before": false,
  153. "after": true
  154. }
  155. ],
  156. "array-bracket-spacing": 1,
  157. "arrow-spacing": [
  158. "error",
  159. {
  160. "before": true,
  161. "after": true
  162. }
  163. ],
  164. "object-curly-spacing": [
  165. "error",
  166. "always"
  167. ],
  168. "comma-dangle": [
  169. "error",
  170. "never"
  171. ],
  172. "no-unreachable": "error",
  173. "quotes": [
  174. "error",
  175. "single"
  176. ],
  177. "quote-props": [
  178. "error",
  179. "as-needed"
  180. ],
  181. "semi": "error",
  182. "no-extra-semi": "error",
  183. "semi-spacing": "error",
  184. "no-spaced-func": "error",
  185. "no-throw-literal": "error",
  186. "space-before-blocks": "error",
  187. "space-before-function-paren": [
  188. "error",
  189. "never"
  190. ],
  191. "space-infix-ops": "error",
  192. "space-unary-ops": "error",
  193. "no-var": "warn",
  194. "prefer-const": "warn",
  195. "strict": [
  196. "error",
  197. "global"
  198. ],
  199. "no-restricted-globals": [
  200. "error",
  201. {
  202. "name": "context",
  203. "message": "Don't use Mocha's global context"
  204. }
  205. ],
  206. "no-prototype-builtins": "off",
  207. "mocha-no-only/mocha-no-only": [
  208. "error"
  209. ]
  210. }
  211. },
  212. "funding": {
  213. "type": "opencollective",
  214. "url": "https://opencollective.com/mongoose"
  215. },
  216. "homepage": "https://mongoosejs.com",
  217. "keywords": [
  218. "mongodb",
  219. "document",
  220. "model",
  221. "schema",
  222. "database",
  223. "odm",
  224. "data",
  225. "datastore",
  226. "query",
  227. "nosql",
  228. "orm",
  229. "db"
  230. ],
  231. "license": "MIT",
  232. "main": "./index.js",
  233. "mocha": {
  234. "extension": [
  235. "test.js"
  236. ],
  237. "watch-files": [
  238. "test/**/*.js"
  239. ]
  240. },
  241. "name": "mongoose",
  242. "repository": {
  243. "type": "git",
  244. "url": "git://github.com/Automattic/mongoose.git"
  245. },
  246. "scripts": {
  247. "build-browser": "node build-browser.js",
  248. "lint": "eslint .",
  249. "prepublishOnly": "npm run build-browser",
  250. "release": "git pull && git push origin master --tags && npm publish",
  251. "release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
  252. "test": "mocha --exit",
  253. "test-cov": "nyc --reporter=html --reporter=text npm test"
  254. },
  255. "version": "5.9.16"
  256. }