UNPKG

3.46 kBJSONView Raw
1{
2 "name": "mongoose",
3 "description": "Mongoose MongoDB ODM",
4 "version": "5.6.3",
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 "async": "2.6.2",
23 "bson": "~1.1.1",
24 "kareem": "2.3.0",
25 "mongodb": "3.2.7",
26 "mongodb-core": "3.2.7",
27 "mongoose-legacy-pluralize": "1.0.2",
28 "mpath": "0.6.0",
29 "mquery": "3.2.1",
30 "ms": "2.1.2",
31 "regexp-clone": "1.0.0",
32 "safe-buffer": "5.1.2",
33 "sliced": "1.0.1",
34 "sift": "7.0.1"
35 },
36 "devDependencies": {
37 "acorn": "5.7.3",
38 "acquit": "1.x",
39 "acquit-ignore": "0.1.x",
40 "acquit-require": "0.1.x",
41 "babel-loader": "7.1.4",
42 "babel-preset-es2015": "6.24.1",
43 "benchmark": "2.1.4",
44 "bluebird": "3.5.5",
45 "chalk": "2.4.2",
46 "cheerio": "1.0.0-rc.2",
47 "co": "4.6.0",
48 "dox": "0.3.1",
49 "eslint": "5.16.0",
50 "highlight.js": "9.1.0",
51 "lodash": "4.17.11",
52 "markdown": "0.5.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 "nyc": "11.8.0",
60 "object-sizeof": "1.3.0",
61 "promise-debug": "0.1.1",
62 "pug": "2.0.3",
63 "q": "1.5.1",
64 "semver": "5.5.0",
65 "uuid": "2.0.3",
66 "uuid-parse": "1.0.0",
67 "validator": "10.8.0",
68 "webpack": "4.16.4"
69 },
70 "directories": {
71 "lib": "./lib/mongoose"
72 },
73 "scripts": {
74 "lint": "eslint .",
75 "release": "git pull && git push origin master --tags && npm publish",
76 "release-legacy": "git pull origin 4.x && git push origin 4.x --tags && npm publish --tag legacy",
77 "test": "mocha --exit test/*.test.js test/**/*.test.js",
78 "test-cov": "nyc --reporter=html --reporter=text npm test"
79 },
80 "main": "./index.js",
81 "engines": {
82 "node": ">=4.0.0"
83 },
84 "bugs": {
85 "url": "https://github.com/Automattic/mongoose/issues/new"
86 },
87 "repository": {
88 "type": "git",
89 "url": "git://github.com/Automattic/mongoose.git"
90 },
91 "homepage": "http://mongoosejs.com",
92 "browser": "./browser.js",
93 "eslintConfig": {
94 "extends": [
95 "eslint:recommended"
96 ],
97 "parserOptions": {
98 "ecmaVersion": 2015
99 },
100 "env": {
101 "node": true,
102 "es6": true
103 },
104 "rules": {
105 "comma-style": "error",
106 "consistent-this": [
107 "error",
108 "_this"
109 ],
110 "indent": [
111 "error",
112 2,
113 {
114 "SwitchCase": 1,
115 "VariableDeclarator": 2
116 }
117 ],
118 "keyword-spacing": "error",
119 "no-buffer-constructor": "warn",
120 "no-console": "off",
121 "no-multi-spaces": "error",
122 "func-call-spacing": "error",
123 "no-trailing-spaces": "error",
124 "quotes": [
125 "error",
126 "single"
127 ],
128 "semi": "error",
129 "space-before-blocks": "error",
130 "space-before-function-paren": [
131 "error",
132 "never"
133 ],
134 "space-infix-ops": "error",
135 "space-unary-ops": "error",
136 "no-var": "warn",
137 "prefer-const": "warn",
138 "strict": [
139 "error",
140 "global"
141 ],
142 "no-restricted-globals": [
143 "error",
144 {
145 "name": "context",
146 "message": "Don't use Mocha's global context"
147 }
148 ]
149 }
150 }
151}