-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 7.89 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 7.89 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "monsqlize",
"version": "2.0.7",
"description": "TypeScript production data runtime layer for MongoDB today, with cache, transactions, pools, models, sync, and observability",
"type": "commonjs",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": {
"import": "./dist/types/index.d.mts",
"require": "./dist/types/index.d.ts"
},
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist/**/*.cjs",
"dist/**/*.mjs",
"dist/**/*.d.ts",
"dist/**/*.d.mts",
"changelogs/v2.0.7.md",
"changelogs/v2.0.6.md",
"changelogs/v2.0.5.md",
"changelogs/v2.0.4.md",
"changelogs/v2.0.3.md",
"changelogs/v2.0.2.md",
"changelogs/v2.0.1.md",
"changelogs/v2.0.0.md",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"keywords": [
"mongodb",
"database",
"data-runtime",
"database-runtime",
"cache",
"transaction",
"distributed",
"cache-invalidation",
"pagination",
"performance",
"mongodb-driver",
"nosql",
"typescript",
"query-builder",
"api"
],
"author": "vext.js Team",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/vextjs/monSQLize.git"
},
"bugs": {
"url": "https://github.com/vextjs/monSQLize/issues"
},
"homepage": "https://vextjs.github.io/monSQLize/",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"config": {
"mongodbMemoryServer": {
"downloadDir": ".cache/mongodb-memory-server/binaries",
"preferGlobalPath": "false",
"version": "7.0.14"
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"check:sizes": "node scripts/check-file-sizes.cjs",
"check:sizes:strict": "node scripts/check-file-sizes.cjs --strict",
"build": "node scripts/build-p1.cjs",
"build:tests": "node scripts/compile-tests.cjs",
"lint": "eslint . --ignore-pattern .generated/** --ignore-pattern dist/** --ignore-pattern .devcodex/**",
"lint:fix": "eslint . --fix --ignore-pattern .generated/** --ignore-pattern dist/** --ignore-pattern .devcodex/**",
"test:runtime": "npm run build && npm run build:tests && node --test .generated/test-dist/test/smoke/root-cjs.test.js .generated/test-dist/test/smoke/root-esm.test.js .generated/test-dist/test/smoke/pack-artifacts.test.js",
"test:compatibility": "npm run build && npm run build:tests && node --test .generated/test-dist/test/compatibility/exports/exports.test.js .generated/test-dist/test/compatibility/matrix.test.js",
"probe:server-matrix": "node scripts/validation/probe-memory-server-matrix.cjs",
"test:server-matrix": "node scripts/validation/run-memory-server-matrix.cjs",
"test:real-env:private": "node scripts/validation/run-private-real-env-checks.cjs",
"test:examples": "npm run build && tsc -p tsconfig.examples.json && node scripts/run-examples.cjs",
"test:performance": "npm run build && npm run build:tests && node .generated/test-dist/test/performance/baselines/function-cache.benchmark.js",
"test:unit": "npm run build && npm run build:tests && node test/run-tests.cjs unit",
"test:integration": "npm run build && npm run build:tests && node --test --test-concurrency=1 .generated/test-dist/test/integration/cache/cache.test.js .generated/test-dist/test/integration/cache/cache-behavior.test.js .generated/test-dist/test/integration/mongodb/connect.test.js .generated/test-dist/test/integration/mongodb/queries.test.js .generated/test-dist/test/integration/mongodb/management.test.js .generated/test-dist/test/integration/mongodb/writes-batch.test.js .generated/test-dist/test/integration/mongodb/find.test.js .generated/test-dist/test/integration/mongodb/find-one.test.js .generated/test-dist/test/integration/mongodb/find-page.test.js .generated/test-dist/test/integration/mongodb/aggregate.test.js .generated/test-dist/test/integration/mongodb/chaining.test.js .generated/test-dist/test/integration/mongodb/insert.test.js .generated/test-dist/test/integration/mongodb/update.test.js .generated/test-dist/test/integration/mongodb/delete.test.js .generated/test-dist/test/integration/mongodb/update-pipeline.test.js .generated/test-dist/test/integration/model/model-features.test.js .generated/test-dist/test/integration/transaction/transaction.test.js .generated/test-dist/test/integration/pool/pool.test.js .generated/test-dist/test/integration/pool/pool-behavior.test.js .generated/test-dist/test/integration/watch/watch-native.test.js .generated/test-dist/test/integration/runtime/runtime-core-regression.test.js .generated/test-dist/test/integration/sync/sync.test.js .generated/test-dist/test/integration/slow-query-log/slow-query-log.test.js .generated/test-dist/test/integration/model/model-crud-extended.test.js .generated/test-dist/test/integration/mongodb/management-complete.test.js .generated/test-dist/test/integration/runtime/runtime-methods-extended.test.js .generated/test-dist/test/integration/mongodb/find-page-advanced.test.js",
"test:refactor-guard": "npm run build && npm run build:tests && node --test --test-concurrency=1 .generated/test-dist/test/compatibility/exports/exports.test.js .generated/test-dist/test/integration/model/model-features.test.js .generated/test-dist/test/integration/runtime/runtime-core-regression.test.js .generated/test-dist/test/integration/sync/sync.test.js",
"test:refactor-guard:cache": "npm run build && npm run build:tests && node --test .generated/test-dist/test/unit/cache/cache-refactor-guard.test.js",
"test:coverage": "npm run build && npm run build:tests && c8 --reporter=text --reporter=lcov --reporter=json-summary --include \".generated/test-dist/dist/cjs/**/*.cjs\" --check-coverage --lines 90 --statements 90 --functions 90 --branches 90 node test/run-tests.cjs",
"test:audit": "npm audit --omit=dev --registry=https://registry.npmjs.org/",
"test": "npm run build && npm run build:tests && node test/run-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",
"check:test-language": "node scripts/check-test-language.cjs",
"check:docs-examples": "node scripts/validation/check-doc-example-matrix.cjs",
"verify:fast": "npm run lint && npm run check:docs-examples && npm run type-check && npm run check:sizes:strict && npm run test:runtime && npm run test:compatibility && npm run test:refactor-guard && npm run test:refactor-guard:cache",
"verify:full": "npm run lint && npm run check:docs-examples && npm run type-check && npm run check:sizes:strict && npm run test:examples && npm run test:server-matrix",
"verify:release": "npm run verify:full && npm run test:real-env:private",
"verify": "npm run verify:full",
"release:preflight": "node scripts/release-preflight.cjs",
"prepublishOnly": "npm run release:preflight",
"release:publish": "npm run release:preflight && npm publish --ignore-scripts",
"postpublish": "echo 'Publish succeeded. Create GitHub Release: https://github.com/vextjs/monSQLize/releases/new?tag=v'$npm_package_version"
},
"devDependencies": {
"@eslint/js": "9.39.4",
"@types/node": "25.6.2",
"@types/semver": "7.7.1",
"c8": "11.0.0",
"chai": "6.2.2",
"esbuild": "0.25.12",
"eslint": "9.39.4",
"mongodb-memory-server": "11.1.0",
"sinon": "22.0.0",
"tsd": "0.33.0",
"typescript": "5.9.3"
},
"dependencies": {
"async-lock": "1.4.1",
"cache-hub": "2.2.4",
"ioredis": "5.8.2",
"mongodb": "6.21.0",
"schema-dsl": "2.0.11",
"ssh2": "1.17.0"
}
}