-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 5.07 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 5.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "monsqlize",
"version": "1.3.0",
"description": "A lightweight MongoDB ORM with multi-level caching, transaction support, distributed features, Saga distributed transactions, unified expression system with 122 operators, and universal function caching (100% MongoDB support)",
"type": "commonjs",
"main": "./lib/index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./lib/index.js",
"import": "./index.mjs"
}
},
"files": [
"lib/",
"types/",
"index.d.ts",
"index.mjs",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"keywords": [
"mongodb",
"database",
"orm",
"cache",
"transaction",
"distributed",
"pagination",
"performance",
"mongodb-driver",
"nosql",
"query-builder",
"api"
],
"author": "vext.js Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/vextjs/monSQLize.git"
},
"bugs": {
"url": "https://github.com/vextjs/monSQLize/issues"
},
"homepage": "https://github.com/vextjs/monSQLize#readme",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "node scripts/build-p1.cjs",
"lint": "eslint . --ignore-pattern .generated/examples-dist/**",
"lint:fix": "eslint . --fix --ignore-pattern .generated/examples-dist/**",
"test:runtime": "node --test test/smoke/root-cjs.test.js test/smoke/root-esm.test.js test/smoke/pack-artifacts.test.js",
"test:compatibility": "npm run build && node --test test/compatibility/exports/exports.test.js test/compatibility/matrix.test.js",
"probe:server-matrix": "node scripts/validation/probe-real-mongo-host.cjs",
"test:server-matrix": "node scripts/validation/run-real-server-matrix.cjs",
"test:examples": "npm run build && tsc -p tsconfig.examples.json && node .generated/examples-dist/examples/quick-start/basic-connect.js && node .generated/examples-dist/examples/cache/with-cache.js && node .generated/examples-dist/examples/docs/insert.js && node .generated/examples-dist/examples/docs/update.js && node .generated/examples-dist/examples/docs/delete.js && node .generated/examples-dist/examples/docs/upsert.js && node .generated/examples-dist/examples/docs/find.js && node .generated/examples-dist/examples/docs/find-one.js && node .generated/examples-dist/examples/docs/find-page.js && node .generated/examples-dist/examples/docs/find-and-count.js && node .generated/examples-dist/examples/docs/aggregate.js && node .generated/examples-dist/examples/docs/chaining-api.js && node .generated/examples-dist/examples/docs/expression-functions.js && node .generated/examples-dist/examples/docs/model.js && node .generated/examples-dist/examples/docs/slow-query-log.js",
"test:performance": "npm run build && node test/performance/baselines/function-cache.benchmark.js",
"test:unit": "npm run build && node --test test/unit/expression/expression.test.js test/unit/expression/operators.test.js test/unit/errors/errors.test.js test/unit/management/management.test.js test/unit/writes/batch.test.js test/unit/cache/cache.test.js test/unit/function-cache/function-cache.test.js test/unit/model/model-registry.test.js test/unit/lock/lock.test.js test/unit/transaction/transaction.test.js test/unit/pool/pool.test.js test/unit/sync/sync.test.js test/unit/slow-query-log/slow-query-log.test.js test/unit/saga/saga.test.js",
"test:integration": "npm run build && node --test test/integration/cache/cache.test.js test/integration/mongodb/connect.test.js test/integration/mongodb/queries.test.js test/integration/mongodb/management.test.js test/integration/mongodb/writes-batch.test.js test/integration/model/model-features.test.js test/integration/transaction/transaction.test.js test/integration/pool/pool.test.js test/integration/sync/sync.test.js test/integration/slow-query-log/slow-query-log.test.js",
"test": "npm run build && node scripts/run-all-tests.cjs",
"type-check": "npm run build && tsc -p tsconfig.json --noEmit && tsd --files test/types/root-import.test-d.ts --files test/types/cache-usage.test-d.ts --files test/types/model-usage.test-d.ts --files test/types/pool-usage.test-d.ts --files test/types/sync-usage.test-d.ts --files test/types/slow-query-log-usage.test-d.ts --files test/types/saga-usage.test-d.ts",
"verify": "npm run lint && npm run type-check && npm run test && npm run test:examples",
"postpublish": "echo '✅ 发布成功!请创建 GitHub Release: https://github.com/vextjs/monSQLize/releases/new?tag=v'$npm_package_version"
},
"peerDependenciesMeta": {
"ioredis": {
"optional": true
}
},
"optionalDependencies": {
"ioredis": "^5.8.2"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "^25.0.1",
"@types/semver": "^7.7.1",
"esbuild": "^0.25.5",
"eslint": "^9.39.1",
"mongodb-memory-server": "^11.1.0",
"tsd": "^0.33.0",
"typescript": "^5.9.3"
},
"dependencies": {
"async-lock": "^1.4.1",
"cache-hub": "file:../cacheHub",
"mongodb": "^6.21.0",
"schema-dsl": "file:../schema-dsl",
"ssh2": "^1.17.0"
}
}