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