UNPKG

4.96 kBJSONView Raw
1{
2 "name": "mongoose",
3 "description": "Mongoose MongoDB ODM",
4 "version": "5.9.17",
5 "author": "Guillermo Rauch <guillermo@learnboost.com>",
6 "keywords": [
7 "mongodb",
8 "document",
9 "model",
10 "schema",
11 "database",
12 "odm",
13 "data",
14 "datastore",
15 "query",
16 "nosql",
17 "orm",
18 "db"
19 ],
20 "license": "MIT",
21 "dependencies": {
22 "bson": "^1.1.4",
23 "kareem": "2.3.1",
24 "mongodb": "3.5.8",
25 "mongoose-legacy-pluralize": "1.0.2",
26 "mpath": "0.7.0",
27 "mquery": "3.2.2",
28 "ms": "2.1.2",
29 "regexp-clone": "1.0.0",
30 "safe-buffer": "5.1.2",
31 "sliced": "1.0.1",
32 "sift": "7.0.1"
33 },
34 "devDependencies": {
35 "acquit": "1.x",
36 "acquit-ignore": "0.1.x",
37 "acquit-require": "0.1.x",
38 "async": "2.6.2",
39 "babel-loader": "7.1.4",
40 "babel-preset-es2015": "6.24.1",
41 "benchmark": "2.1.4",
42 "bluebird": "3.5.5",
43 "chalk": "2.4.2",
44 "cheerio": "1.0.0-rc.2",
45 "co": "4.6.0",
46 "dox": "0.3.1",
47 "eslint": "7.1.0",
48 "eslint-plugin-mocha-no-only": "1.1.0",
49 "highlight.js": "9.1.0",
50 "lodash.isequal": "4.5.0",
51 "lodash.isequalwith": "4.4.0",
52 "marked": "0.6.2",
53 "mocha": "5.x",
54 "moment": "2.x",
55 "mongodb-topology-manager": "1.0.11",
56 "mongoose-long": "0.2.1",
57 "node-static": "0.7.11",
58 "object-sizeof": "1.3.0",
59 "pug": "2.0.3",
60 "q": "1.5.1",
61 "semver": "5.5.0",
62 "uuid": "2.0.3",
63 "uuid-parse": "1.0.0",
64 "validator": "10.8.0",
65 "webpack": "4.16.4"
66 },
67 "directories": {
68 "lib": "./lib/mongoose"
69 },
70 "scripts": {
71 "lint": "eslint .",
72 "build-browser": "node build-browser.js",
73 "prepublishOnly": "npm run build-browser",
74 "release": "git pull && git push origin master --tags && npm publish",
75 "release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
76 "test": "mocha --exit",
77 "test-cov": "nyc --reporter=html --reporter=text npm test"
78 },
79 "main": "./index.js",
80 "engines": {
81 "node": ">=4.0.0"
82 },
83 "bugs": {
84 "url": "https://github.com/Automattic/mongoose/issues/new"
85 },
86 "repository": {
87 "type": "git",
88 "url": "git://github.com/Automattic/mongoose.git"
89 },
90 "homepage": "https://mongoosejs.com",
91 "browser": "./dist/browser.umd.js",
92 "mocha": {
93 "extension": [
94 "test.js"
95 ],
96 "watch-files": [
97 "test/**/*.js"
98 ]
99 },
100 "eslintConfig": {
101 "extends": [
102 "eslint:recommended"
103 ],
104 "plugins": [
105 "mocha-no-only"
106 ],
107 "parserOptions": {
108 "ecmaVersion": 2015
109 },
110 "env": {
111 "node": true,
112 "es6": true
113 },
114 "rules": {
115 "comma-style": "error",
116 "indent": [
117 "error",
118 2,
119 {
120 "SwitchCase": 1,
121 "VariableDeclarator": 2
122 }
123 ],
124 "keyword-spacing": "error",
125 "no-whitespace-before-property": "error",
126 "no-buffer-constructor": "warn",
127 "no-console": "off",
128 "no-multi-spaces": "error",
129 "no-constant-condition": "off",
130 "func-call-spacing": "error",
131 "no-trailing-spaces": "error",
132 "no-undef": "error",
133 "no-unneeded-ternary": "error",
134 "no-const-assign": "error",
135 "no-useless-rename": "error",
136 "no-dupe-keys": "error",
137 "space-in-parens": ["error", "never"],
138 "spaced-comment": ["error", "always", {
139 "block": {
140 "markers": ["!"],
141 "balanced": true
142 }
143 }],
144 "key-spacing": [
145 "error",
146 {
147 "beforeColon": false,
148 "afterColon": true
149 }
150 ],
151 "comma-spacing": [
152 "error",
153 {
154 "before": false,
155 "after": true
156 }
157 ],
158 "array-bracket-spacing": 1,
159 "arrow-spacing": ["error", {
160 "before": true,
161 "after": true
162 }],
163 "object-curly-spacing": [
164 "error",
165 "always"
166 ],
167 "comma-dangle": [
168 "error",
169 "never"
170 ],
171 "no-unreachable": "error",
172 "quotes": [
173 "error",
174 "single"
175 ],
176 "quote-props": [
177 "error",
178 "as-needed"
179 ],
180 "semi": "error",
181 "no-extra-semi": "error",
182 "semi-spacing": "error",
183 "no-spaced-func": "error",
184 "no-throw-literal": "error",
185 "space-before-blocks": "error",
186 "space-before-function-paren": [
187 "error",
188 "never"
189 ],
190 "space-infix-ops": "error",
191 "space-unary-ops": "error",
192 "no-var": "warn",
193 "prefer-const": "warn",
194 "strict": [
195 "error",
196 "global"
197 ],
198 "no-restricted-globals": [
199 "error",
200 {
201 "name": "context",
202 "message": "Don't use Mocha's global context"
203 }
204 ],
205 "no-prototype-builtins": "off",
206 "mocha-no-only/mocha-no-only": [
207 "error"
208 ]
209 }
210 },
211 "funding": {
212 "type": "opencollective",
213 "url": "https://opencollective.com/mongoose"
214 }
215}