UNPKG

3.82 kBJSONView Raw
1{
2 "name": "mongoose",
3 "description": "Mongoose MongoDB ODM",
4 "version": "5.9.2",
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.1",
23 "kareem": "2.3.1",
24 "mongodb": "3.5.3",
25 "mongoose-legacy-pluralize": "1.0.2",
26 "mpath": "0.6.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 "acorn": "5.7.3",
36 "acquit": "1.x",
37 "acquit-ignore": "0.1.x",
38 "acquit-require": "0.1.x",
39 "async": "2.6.2",
40 "babel-loader": "7.1.4",
41 "babel-preset-es2015": "6.24.1",
42 "benchmark": "2.1.4",
43 "bluebird": "3.5.5",
44 "chalk": "2.4.2",
45 "cheerio": "1.0.0-rc.2",
46 "co": "4.6.0",
47 "dox": "0.3.1",
48 "eslint": "5.16.0",
49 "eslint-plugin-mocha-no-only": "1.1.0",
50 "highlight.js": "9.1.0",
51 "lodash.isequal": "4.5.0",
52 "lodash.isequalwith": "4.4.0",
53 "marked": "0.6.2",
54 "mocha": "5.x",
55 "moment": "2.x",
56 "mongodb-topology-manager": "1.0.11",
57 "mongoose-long": "0.2.1",
58 "node-static": "0.7.11",
59 "object-sizeof": "1.3.0",
60 "promise-debug": "0.1.1",
61 "pug": "2.0.3",
62 "q": "1.5.1",
63 "semver": "5.5.0",
64 "uuid": "2.0.3",
65 "uuid-parse": "1.0.0",
66 "validator": "10.8.0",
67 "webpack": "4.16.4"
68 },
69 "directories": {
70 "lib": "./lib/mongoose"
71 },
72 "scripts": {
73 "lint": "eslint .",
74 "build-browser": "node build-browser.js",
75 "prepublishOnly": "npm run build-browser",
76 "release": "git pull && git push origin master --tags && npm publish",
77 "release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
78 "test": "mocha --exit",
79 "test-cov": "nyc --reporter=html --reporter=text npm test"
80 },
81 "main": "./index.js",
82 "engines": {
83 "node": ">=4.0.0"
84 },
85 "bugs": {
86 "url": "https://github.com/Automattic/mongoose/issues/new"
87 },
88 "repository": {
89 "type": "git",
90 "url": "git://github.com/Automattic/mongoose.git"
91 },
92 "homepage": "https://mongoosejs.com",
93 "browser": "./dist/browser.umd.js",
94 "mocha": {
95 "extension": [
96 "test.js"
97 ],
98 "watch-files": [
99 "test/**/*.js"
100 ]
101 },
102 "eslintConfig": {
103 "extends": [
104 "eslint:recommended"
105 ],
106 "plugins": [
107 "mocha-no-only"
108 ],
109 "parserOptions": {
110 "ecmaVersion": 2015
111 },
112 "env": {
113 "node": true,
114 "es6": true
115 },
116 "rules": {
117 "comma-style": "error",
118 "indent": [
119 "error",
120 2,
121 {
122 "SwitchCase": 1,
123 "VariableDeclarator": 2
124 }
125 ],
126 "keyword-spacing": "error",
127 "no-buffer-constructor": "warn",
128 "no-console": "off",
129 "no-multi-spaces": "error",
130 "no-constant-condition": "off",
131 "func-call-spacing": "error",
132 "no-trailing-spaces": "error",
133 "quotes": [
134 "error",
135 "single"
136 ],
137 "semi": "error",
138 "space-before-blocks": "error",
139 "space-before-function-paren": [
140 "error",
141 "never"
142 ],
143 "space-infix-ops": "error",
144 "space-unary-ops": "error",
145 "no-var": "warn",
146 "prefer-const": "warn",
147 "strict": [
148 "error",
149 "global"
150 ],
151 "no-restricted-globals": [
152 "error",
153 {
154 "name": "context",
155 "message": "Don't use Mocha's global context"
156 }
157 ],
158 "mocha-no-only/mocha-no-only": [
159 "error"
160 ]
161 }
162 },
163 "funding": {
164 "type": "opencollective",
165 "url": "https://opencollective.com/mongoose"
166 }
167}