package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. {
  2. "_from": "mongoose",
  3. "_id": "mongoose@5.4.14",
  4. "_inBundle": false,
  5. "_integrity": "sha1-jMB0yZkNsKJgYqd59GGruRycSDw=",
  6. "_location": "/mongoose",
  7. "_phantomChildren": {
  8. "lodash": "4.17.11"
  9. },
  10. "_requested": {
  11. "type": "tag",
  12. "registry": true,
  13. "raw": "mongoose",
  14. "name": "mongoose",
  15. "escapedName": "mongoose",
  16. "rawSpec": "",
  17. "saveSpec": null,
  18. "fetchSpec": "latest"
  19. },
  20. "_requiredBy": [
  21. "#USER",
  22. "/"
  23. ],
  24. "_resolved": "http://registry.npm.taobao.org/mongoose/download/mongoose-5.4.14.tgz",
  25. "_shasum": "8cc074c9990db0a26062a779f461abb91c9c483c",
  26. "_spec": "mongoose",
  27. "_where": "E:\\dev\\007\\node_module\\node10",
  28. "author": {
  29. "name": "Guillermo Rauch",
  30. "email": "guillermo@learnboost.com"
  31. },
  32. "browser": "./browser.js",
  33. "bugs": {
  34. "url": "https://github.com/Automattic/mongoose/issues/new"
  35. },
  36. "bundleDependencies": false,
  37. "dependencies": {
  38. "async": "2.6.1",
  39. "bson": "~1.1.0",
  40. "kareem": "2.3.0",
  41. "mongodb": "3.1.13",
  42. "mongodb-core": "3.1.11",
  43. "mongoose-legacy-pluralize": "1.0.2",
  44. "mpath": "0.5.1",
  45. "mquery": "3.2.0",
  46. "ms": "2.1.1",
  47. "regexp-clone": "0.0.1",
  48. "safe-buffer": "5.1.2",
  49. "sliced": "1.0.1"
  50. },
  51. "deprecated": false,
  52. "description": "Mongoose MongoDB ODM",
  53. "devDependencies": {
  54. "acorn": "5.7.3",
  55. "acquit": "1.0.2",
  56. "acquit-ignore": "0.1.0",
  57. "acquit-require": "0.1.1",
  58. "babel-loader": "7.1.4",
  59. "babel-preset-es2015": "6.24.1",
  60. "benchmark": "2.1.2",
  61. "bluebird": "3.5.0",
  62. "chalk": "2.4.1",
  63. "cheerio": "1.0.0-rc.2",
  64. "co": "4.6.0",
  65. "dox": "0.3.1",
  66. "eslint": "5.3.0",
  67. "highlight.js": "9.1.0",
  68. "jade": "1.11.0",
  69. "lodash": "4.17.11",
  70. "markdown": "0.5.0",
  71. "marked": "0.3.9",
  72. "mocha": "5.2.0",
  73. "mongodb-topology-manager": "1.0.11",
  74. "mongoose-long": "0.2.1",
  75. "node-static": "0.7.10",
  76. "nyc": "11.8.0",
  77. "power-assert": "1.4.1",
  78. "promise-debug": "0.1.1",
  79. "q": "1.5.1",
  80. "semver": "5.5.0",
  81. "uuid": "2.0.3",
  82. "uuid-parse": "1.0.0",
  83. "validator": "10.8.0",
  84. "webpack": "4.16.4"
  85. },
  86. "directories": {
  87. "lib": "./lib/mongoose"
  88. },
  89. "engines": {
  90. "node": ">=4.0.0"
  91. },
  92. "eslintConfig": {
  93. "extends": [
  94. "eslint:recommended"
  95. ],
  96. "parserOptions": {
  97. "ecmaVersion": 2015
  98. },
  99. "env": {
  100. "node": true,
  101. "es6": true
  102. },
  103. "rules": {
  104. "comma-style": "error",
  105. "consistent-this": [
  106. "error",
  107. "_this"
  108. ],
  109. "indent": [
  110. "error",
  111. 2,
  112. {
  113. "SwitchCase": 1,
  114. "VariableDeclarator": 2
  115. }
  116. ],
  117. "keyword-spacing": "error",
  118. "no-buffer-constructor": "warn",
  119. "no-console": "off",
  120. "no-multi-spaces": "error",
  121. "func-call-spacing": "error",
  122. "no-trailing-spaces": "error",
  123. "quotes": [
  124. "error",
  125. "single"
  126. ],
  127. "semi": "error",
  128. "space-before-blocks": "error",
  129. "space-before-function-paren": [
  130. "error",
  131. "never"
  132. ],
  133. "space-infix-ops": "error",
  134. "space-unary-ops": "error",
  135. "no-var": "warn",
  136. "prefer-const": "warn",
  137. "strict": [
  138. "error",
  139. "global"
  140. ],
  141. "no-restricted-globals": [
  142. "error",
  143. {
  144. "name": "context",
  145. "message": "Don't use Mocha's global context"
  146. }
  147. ]
  148. }
  149. },
  150. "homepage": "http://mongoosejs.com",
  151. "keywords": [
  152. "mongodb",
  153. "document",
  154. "model",
  155. "schema",
  156. "database",
  157. "odm",
  158. "data",
  159. "datastore",
  160. "query",
  161. "nosql",
  162. "orm",
  163. "db"
  164. ],
  165. "license": "MIT",
  166. "main": "./index.js",
  167. "name": "mongoose",
  168. "repository": {
  169. "type": "git",
  170. "url": "git://github.com/Automattic/mongoose.git"
  171. },
  172. "scripts": {
  173. "lint": "eslint .",
  174. "release": "git pull && git push origin master --tags && npm publish",
  175. "release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
  176. "test": "mocha --exit test/*.test.js test/**/*.test.js",
  177. "test-cov": "nyc --reporter=html --reporter=text npm test"
  178. },
  179. "version": "5.4.14"
  180. }