1 | {
|
2 | "name": "mongoose",
|
3 | "description": "Mongoose MongoDB ODM",
|
4 | "version": "8.5.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": "^6.7.0",
|
23 | "kareem": "2.6.3",
|
24 | "mongodb": "6.7.0",
|
25 | "mpath": "0.9.0",
|
26 | "mquery": "5.0.0",
|
27 | "ms": "2.1.3",
|
28 | "sift": "17.1.3"
|
29 | },
|
30 | "devDependencies": {
|
31 | "@babel/core": "7.24.7",
|
32 | "@babel/preset-env": "7.25.3",
|
33 | "@typescript-eslint/eslint-plugin": "^6.21.0",
|
34 | "@typescript-eslint/parser": "^6.21.0",
|
35 | "acquit": "1.3.0",
|
36 | "acquit-ignore": "0.2.1",
|
37 | "acquit-require": "0.1.1",
|
38 | "assert-browserify": "2.0.0",
|
39 | "axios": "1.1.3",
|
40 | "babel-loader": "8.2.5",
|
41 | "broken-link-checker": "^0.7.8",
|
42 | "buffer": "^5.6.0",
|
43 | "cheerio": "1.0.0-rc.12",
|
44 | "crypto-browserify": "3.12.0",
|
45 | "dotenv": "16.4.5",
|
46 | "dox": "1.0.0",
|
47 | "eslint": "8.57.0",
|
48 | "eslint-plugin-markdown": "^5.0.0",
|
49 | "eslint-plugin-mocha-no-only": "1.2.0",
|
50 | "express": "^4.19.2",
|
51 | "fs-extra": "~11.2.0",
|
52 | "highlight.js": "11.10.0",
|
53 | "lodash.isequal": "4.5.0",
|
54 | "lodash.isequalwith": "4.4.0",
|
55 | "markdownlint-cli2": "^0.13.0",
|
56 | "marked": "4.3.0",
|
57 | "mkdirp": "^3.0.1",
|
58 | "mocha": "10.7.0",
|
59 | "moment": "2.30.1",
|
60 | "mongodb-memory-server": "10.0.0",
|
61 | "ncp": "^2.0.0",
|
62 | "nyc": "15.1.0",
|
63 | "pug": "3.0.3",
|
64 | "q": "1.5.1",
|
65 | "sinon": "18.0.0",
|
66 | "stream-browserify": "3.0.0",
|
67 | "tsd": "0.31.1",
|
68 | "typescript": "5.5.4",
|
69 | "uuid": "10.0.0",
|
70 | "webpack": "5.93.0"
|
71 | },
|
72 | "directories": {
|
73 | "lib": "./lib/mongoose"
|
74 | },
|
75 | "scripts": {
|
76 | "docs:clean": "npm run docs:clean:stable",
|
77 | "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",
|
78 | "docs:clean:5x": "rimraf index.html && rimraf -rf ./docs/5.x && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp",
|
79 | "docs:clean:6x": "rimraf index.html && rimraf -rf ./docs/6.x && rimraf -rf ./docs/source/_docs && rimraf -rf ./tmp",
|
80 | "docs:copy:tmp": "mkdirp ./tmp/docs/css && mkdirp ./tmp/docs/js && mkdirp ./tmp/docs/images && mkdirp ./tmp/docs/tutorials && mkdirp ./tmp/docs/typescript && mkdirp ./tmp/docs/api && 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 && ncp ./docs/api ./tmp/docs/api && cp index.html ./tmp && cp docs/*.html ./tmp/docs/",
|
81 | "docs:copy:tmp:5x": "rimraf ./docs/5.x && ncp ./tmp ./docs/5.x",
|
82 | "docs:copy:tmp:6x": "rimraf ./docs/6.x && ncp ./tmp ./docs/6.x",
|
83 | "docs:generate": "node ./scripts/website.js",
|
84 | "docs:generate:sponsorData": "node ./scripts/loadSponsorData.js",
|
85 | "docs:test": "npm run docs:generate",
|
86 | "docs:view": "node ./scripts/static.js",
|
87 | "docs:prepare:publish:stable": "git checkout gh-pages && git merge master && npm run docs:generate",
|
88 | "docs:prepare:publish:5x": "git checkout 5.x && git merge 5.x && npm run docs:clean:stable && npm run docs:generate && npm run docs:copy:tmp && git checkout gh-pages && npm run docs:copy:tmp:5x",
|
89 | "docs:prepare:publish:6x": "git checkout 6.x && git merge 6.x && npm run docs:clean:stable && env DOCS_DEPLOY=true npm run docs:generate && mv ./docs/6.x ./tmp && git checkout gh-pages && npm run docs:copy:tmp:6x",
|
90 | "docs:prepare:publish:7x": "env DOCS_DEPLOY=true npm run docs:generate && git checkout gh-pages && rimraf ./docs/7.x && mv ./tmp ./docs/7.x",
|
91 | "docs:check-links": "blc http://127.0.0.1:8089 -ro",
|
92 | "lint": "eslint .",
|
93 | "lint-js": "eslint . --ext .js --ext .cjs",
|
94 | "lint-ts": "eslint . --ext .ts",
|
95 | "lint-md": "markdownlint-cli2 \"**/*.md\"",
|
96 | "build-browser": "(rm ./dist/* || true) && node ./scripts/build-browser.js",
|
97 | "prepublishOnly": "npm run build-browser",
|
98 | "release": "git pull && git push origin master --tags && npm publish",
|
99 | "release-5x": "git pull origin 5.x && git push origin 5.x && git push origin 5.x --tags && npm publish --tag 5x",
|
100 | "release-6x": "git pull origin 6.x && git push origin 6.x && git push origin 6.x --tags && npm publish --tag 6x",
|
101 | "mongo": "node ./tools/repl.js",
|
102 | "publish-7x": "npm publish --tag 7x",
|
103 | "test": "mocha --exit ./test/*.test.js",
|
104 | "test-deno": "deno run --allow-env --allow-read --allow-net --allow-run --allow-sys --allow-write ./test/deno.js",
|
105 | "test-rs": "START_REPLICA_SET=1 mocha --timeout 30000 --exit ./test/*.test.js",
|
106 | "test-tsd": "node ./test/types/check-types-filename && tsd",
|
107 | "tdd": "mocha ./test/*.test.js --inspect --watch --recursive --watch-files ./**/*.{js,ts}",
|
108 | "test-coverage": "nyc --reporter=html --reporter=text npm test",
|
109 | "ts-benchmark": "cd ./benchmarks/typescript/simple && npm install && npm run benchmark | node ../../../scripts/tsc-diagnostics-check"
|
110 | },
|
111 | "main": "./index.js",
|
112 | "types": "./types/index.d.ts",
|
113 | "engines": {
|
114 | "node": ">=16.20.1"
|
115 | },
|
116 | "bugs": {
|
117 | "url": "https://github.com/Automattic/mongoose/issues/new"
|
118 | },
|
119 | "repository": {
|
120 | "type": "git",
|
121 | "url": "git://github.com/Automattic/mongoose.git"
|
122 | },
|
123 | "homepage": "https://mongoosejs.com",
|
124 | "browser": "./dist/browser.umd.js",
|
125 | "config": {
|
126 | "mongodbMemoryServer": {
|
127 | "disablePostinstall": true
|
128 | }
|
129 | },
|
130 | "funding": {
|
131 | "type": "opencollective",
|
132 | "url": "https://opencollective.com/mongoose"
|
133 | },
|
134 | "tsd": {
|
135 | "directory": "test/types",
|
136 | "compilerOptions": {
|
137 | "esModuleInterop": false,
|
138 | "strict": true,
|
139 | "allowSyntheticDefaultImports": true,
|
140 | "strictPropertyInitialization": false,
|
141 | "noImplicitAny": false,
|
142 | "strictNullChecks": true,
|
143 | "module": "commonjs",
|
144 | "target": "ES2017"
|
145 | }
|
146 | }
|
147 | }
|