UNPKG

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