package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. {
  2. "_from": "mpath@0.8.3",
  3. "_id": "mpath@0.8.3",
  4. "_inBundle": false,
  5. "_integrity": "sha512-eb9rRvhDltXVNL6Fxd2zM9D4vKBxjVVQNLNijlj7uoXUy19zNDsIif5zR+pWmPCWNKwAtqyo4JveQm4nfD5+eA==",
  6. "_location": "/mpath",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "mpath@0.8.3",
  12. "name": "mpath",
  13. "escapedName": "mpath",
  14. "rawSpec": "0.8.3",
  15. "saveSpec": null,
  16. "fetchSpec": "0.8.3"
  17. },
  18. "_requiredBy": [
  19. "/mongoose"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/mpath/-/mpath-0.8.3.tgz",
  22. "_shasum": "828ac0d187f7f42674839d74921970979abbdd8f",
  23. "_spec": "mpath@0.8.3",
  24. "_where": "/home/pvvvm505/Документы/Project/Back/node_modules/mongoose",
  25. "author": {
  26. "name": "Aaron Heckmann",
  27. "email": "aaron.heckmann+github@gmail.com"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/aheckmann/mpath/issues"
  31. },
  32. "bundleDependencies": false,
  33. "deprecated": false,
  34. "description": "{G,S}et object values using MongoDB-like path notation",
  35. "devDependencies": {
  36. "benchmark": "~1.0.0",
  37. "eslint": "7.16.0",
  38. "mocha": "5.x"
  39. },
  40. "engines": {
  41. "node": ">=4.0.0"
  42. },
  43. "eslintConfig": {
  44. "extends": [
  45. "eslint:recommended"
  46. ],
  47. "parserOptions": {
  48. "ecmaVersion": 2015
  49. },
  50. "env": {
  51. "node": true,
  52. "es6": true
  53. },
  54. "rules": {
  55. "comma-style": "error",
  56. "indent": [
  57. "error",
  58. 2,
  59. {
  60. "SwitchCase": 1,
  61. "VariableDeclarator": 2
  62. }
  63. ],
  64. "keyword-spacing": "error",
  65. "no-whitespace-before-property": "error",
  66. "no-buffer-constructor": "warn",
  67. "no-console": "off",
  68. "no-multi-spaces": "error",
  69. "no-constant-condition": "off",
  70. "func-call-spacing": "error",
  71. "no-trailing-spaces": "error",
  72. "no-undef": "error",
  73. "no-unneeded-ternary": "error",
  74. "no-const-assign": "error",
  75. "no-useless-rename": "error",
  76. "no-dupe-keys": "error",
  77. "space-in-parens": [
  78. "error",
  79. "never"
  80. ],
  81. "spaced-comment": [
  82. "error",
  83. "always",
  84. {
  85. "block": {
  86. "markers": [
  87. "!"
  88. ],
  89. "balanced": true
  90. }
  91. }
  92. ],
  93. "key-spacing": [
  94. "error",
  95. {
  96. "beforeColon": false,
  97. "afterColon": true
  98. }
  99. ],
  100. "comma-spacing": [
  101. "error",
  102. {
  103. "before": false,
  104. "after": true
  105. }
  106. ],
  107. "array-bracket-spacing": 1,
  108. "arrow-spacing": [
  109. "error",
  110. {
  111. "before": true,
  112. "after": true
  113. }
  114. ],
  115. "object-curly-spacing": [
  116. "error",
  117. "always"
  118. ],
  119. "comma-dangle": [
  120. "error",
  121. "never"
  122. ],
  123. "no-unreachable": "error",
  124. "quotes": [
  125. "error",
  126. "single"
  127. ],
  128. "quote-props": [
  129. "error",
  130. "as-needed"
  131. ],
  132. "semi": "error",
  133. "no-extra-semi": "error",
  134. "semi-spacing": "error",
  135. "no-spaced-func": "error",
  136. "no-throw-literal": "error",
  137. "space-before-blocks": "error",
  138. "space-before-function-paren": [
  139. "error",
  140. "never"
  141. ],
  142. "space-infix-ops": "error",
  143. "space-unary-ops": "error",
  144. "no-var": "warn",
  145. "prefer-const": "warn",
  146. "strict": [
  147. "error",
  148. "global"
  149. ],
  150. "no-restricted-globals": [
  151. "error",
  152. {
  153. "name": "context",
  154. "message": "Don't use Mocha's global context"
  155. }
  156. ],
  157. "no-prototype-builtins": "off"
  158. }
  159. },
  160. "homepage": "https://github.com/aheckmann/mpath#readme",
  161. "keywords": [
  162. "mongodb",
  163. "path",
  164. "get",
  165. "set"
  166. ],
  167. "license": "MIT",
  168. "main": "index.js",
  169. "name": "mpath",
  170. "repository": {
  171. "type": "git",
  172. "url": "git://github.com/aheckmann/mpath.git"
  173. },
  174. "scripts": {
  175. "lint": "eslint .",
  176. "test": "mocha test/*"
  177. },
  178. "version": "0.8.3"
  179. }