UNPKG

5.42 kBJSONView Raw
1{
2 "name": "mongoose",
3 "description": "Mongoose MongoDB ODM",
4 "version": "6.7.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 "bson": "^4.7.0",
23 "kareem": "2.4.1",
24 "mongodb": "4.11.0",
25 "mpath": "0.9.0",
26 "mquery": "4.0.3",
27 "ms": "2.1.3",
28 "sift": "16.0.1"
29 },
30 "devDependencies": {
31 "@babel/core": "7.19.6",
32 "@babel/preset-env": "7.19.4",
33 "@typescript-eslint/eslint-plugin": "5.42.0",
34 "@typescript-eslint/parser": "5.42.0",
35 "acquit": "1.2.1",
36 "acquit-ignore": "0.2.0",
37 "acquit-require": "0.1.1",
38 "assert-browserify": "2.0.0",
39 "axios": "1.1.3",
40 "babel-loader": "8.2.5",
41 "benchmark": "2.1.4",
42 "bluebird": "3.7.2",
43 "buffer": "^5.6.0",
44 "cheerio": "1.0.0-rc.12",
45 "crypto-browserify": "3.12.0",
46 "dox": "1.0.0",
47 "eslint": "8.26.0",
48 "eslint-plugin-mocha-no-only": "1.1.1",
49 "express": "^4.18.1",
50 "highlight.js": "11.6.0",
51 "lodash.isequal": "4.5.0",
52 "lodash.isequalwith": "4.4.0",
53 "marked": "4.2.1",
54 "mkdirp": "^1.0.4",
55 "mocha": "10.1.0",
56 "moment": "2.x",
57 "mongodb-memory-server": "8.9.5",
58 "ncp": "^2.0.0",
59 "nyc": "15.1.0",
60 "pug": "3.0.2",
61 "q": "1.5.1",
62 "sinon": "14.0.1",
63 "stream-browserify": "3.0.0",
64 "ts-benchmark": "^1.1.10",
65 "tsd": "0.24.1",
66 "typescript": "4.8.4",
67 "uuid": "9.0.0",
68 "webpack": "5.74.0"
69 },
70 "directories": {
71 "lib": "./lib/mongoose"
72 },
73 "scripts": {
74 "docs:clean": "npm run docs:clean:stable",
75 "docs:clean:stable": "rimraf index.html && rimraf -rf ./docs/*.html && rimraf -rf ./docs/api && rimraf -rf ./docs/tutorials/*.html && rimraf -rf ./docs/typescript/*.html && rimraf -rf ./docs/*.html && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp",
76 "docs:clean:legacy": "rimraf index.html && rimraf -rf ./docs/5.x && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp",
77 "docs:copy:tmp": "mkdirp ./tmp/docs/css && mkdirp ./tmp/docs/js && mkdirp ./tmp/docs/images && mkdirp ./tmp/docs/tutorials && mkdirp ./tmp/docs/typescript && ncp ./docs/css ./tmp/docs/css --filter=.css$ && ncp ./docs/js ./tmp/docs/js --filter=.js$ && ncp ./docs/images ./tmp/docs/images && ncp ./docs/tutorials ./tmp/docs/tutorials && ncp ./docs/typescript ./tmp/docs/typescript && cp index.html ./tmp",
78 "docs:copy:tmp:legacy": "rimraf ./docs/5.x && ncp ./tmp ./docs/5.x",
79 "docs:checkout:gh-pages": "git checkout gh-pages",
80 "docs:checkout:legacy": "git checkout 5.x",
81 "docs:generate": "node ./scripts/website.js",
82 "docs:generate:search": "node docs/search.js",
83 "docs:merge:stable": "git merge master",
84 "docs:merge:legacy": "git merge 5.x",
85 "docs:test": "npm run docs:generate && npm run docs:generate:search",
86 "docs:view": "node ./scripts/static.js",
87 "docs:prepare:publish:stable": "npm run docs:checkout:gh-pages && npm run docs:merge:stable && npm run docs:clean:stable && npm run docs:generate && npm run docs:generate:search",
88 "docs:prepare:publish:legacy": "npm run docs:checkout:legacy && npm run docs:merge:legacy && npm run docs:clean:stable && npm run docs:generate && npm run docs:copy:tmp && docs:checkout:gh-pages && docs:copy:tmp:legacy",
89 "lint": "eslint .",
90 "lint-js": "eslint . --ext .js",
91 "lint-ts": "eslint . --ext .ts",
92 "build-browser": "(rm ./dist/* || true) && node ./scripts/build-browser.js",
93 "prepublishOnly": "npm run build-browser",
94 "release": "git pull && git push origin master --tags && npm publish",
95 "release-legacy": "git pull origin 5.x && git push origin 5.x --tags && npm publish --tag legacy",
96 "mongo": "node ./tools/repl.js",
97 "test": "mocha --exit ./test/*.test.js",
98 "test-rs": "START_REPLICA_SET=1 mocha --timeout 30000 --exit ./test/*.test.js",
99 "test-tsd": "node ./test/types/check-types-filename && tsd",
100 "tdd": "mocha ./test/*.test.js --inspect --watch --recursive --watch-files ./**/*.{js,ts}",
101 "test-coverage": "nyc --reporter=html --reporter=text npm test",
102 "ts-benchmark": "ts-benchmark -p ./benchmarks/typescript/simple -f 17/100000 18 29 32",
103 "ts-benchmark-watch": "ts-benchmark -p ./benchmarks/typescript/simple -w ./types -i -s -f 17/100000 18 29 32 -b master"
104 },
105 "main": "./index.js",
106 "types": "./types/index.d.ts",
107 "engines": {
108 "node": ">=12.0.0"
109 },
110 "bugs": {
111 "url": "https://github.com/Automattic/mongoose/issues/new"
112 },
113 "repository": {
114 "type": "git",
115 "url": "git://github.com/Automattic/mongoose.git"
116 },
117 "homepage": "https://mongoosejs.com",
118 "browser": "./dist/browser.umd.js",
119 "mocha": {
120 "extension": [
121 "test.js"
122 ],
123 "watch-files": [
124 "test/**/*.js"
125 ]
126 },
127 "config": {
128 "mongodbMemoryServer": {
129 "disablePostinstall": true
130 }
131 },
132 "funding": {
133 "type": "opencollective",
134 "url": "https://opencollective.com/mongoose"
135 },
136 "tsd": {
137 "directory": "test/types",
138 "compilerOptions": {
139 "esModuleInterop": false,
140 "strict": true,
141 "allowSyntheticDefaultImports": true,
142 "strictPropertyInitialization": false,
143 "noImplicitAny": false,
144 "strictNullChecks": true,
145 "module": "commonjs",
146 "target": "ES2017"
147 }
148 }
149}