Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 4.55 KB
/
Copy pathpackage.json
File metadata and controls
143 lines (143 loc) · 4.55 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
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@abedmurrar/objection",
"version": "4.8.2",
"description": "A fast, strictly typed SQL ORM for Node.js and TypeScript, built on knex: models, relations, eager loading, graph upserts and transactions on Postgres, MySQL, MariaDB and SQLite. A maintained fork of objection.js.",
"main": "lib/objection.js",
"type": "commonjs",
"types": "./typings/objection/index.d.ts",
"exports": {
".": {
"import": {
"types": "./typings/objection/index.d.mts",
"default": "./lib/index.mjs"
},
"require": {
"types": "./typings/objection/index.d.ts",
"default": "./lib/objection.js"
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepare": "npm run build",
"pretest": "npm run build",
"test": "npm run lint && mocha --slow 10 --timeout 15000 --reporter spec --recursive tests --exclude \"tests/unit/relations/files/**\" && npm run test:typings",
"pretest:fast": "npm run build",
"test:fast": "mocha --slow 10 --timeout 15000 --reporter spec --recursive tests --bail --exclude \"tests/unit/relations/files/**\"",
"test:typings": "npm run build && node scripts/generate-fn-typings.js --check && node scripts/generate-esm-typings.js --check && tsc && tsc -p tests/ts/tsconfig.loose.json && tsc -p tests/ts-drift/tsconfig.json && node scripts/typings-errors.js && attw --pack .",
"bench:typings": "node scripts/typings-bench.js",
"prebench": "npm run build",
"bench": "node bench/run.js",
"prebench:compare": "npm run build",
"bench:compare": "node bench/compare.js",
"bench:orms": "node bench/orms/run.js",
"prebench:orms": "npm run build",
"bench:profile": "node bench/profile.js",
"prebench:profile": "npm run build",
"format": "biome check --write",
"lint": "biome check",
"docs:dev": "vitepress dev doc",
"docs:build": "vitepress build doc",
"docs:preview": "vitepress preview doc",
"release": "node scripts/release.js",
"prepublishOnly": "npm run build && npm run lint && npm run test:typings",
"sql-check": "npm run build && node bench/sql-check.js",
"sql-check:upstream": "npm run build && npm install --no-save --no-package-lock --prefix .upstream objection@3.1.5 && node bench/sql-check.js --baseline .upstream/node_modules/objection --expected bench/upstream-differences.json",
"stress:graph": "npm run build && node bench/stress-graph-writes.js"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"author": {
"name": "Abed Murrar",
"url": "https://github.com/abedmurrar"
},
"contributors": [
"Sami Koskimäki <sami@jakso.me> (https://github.com/koskimas)",
"Mikael Lepistö <mikael.lepisto@vincit.com> (https://github.com/elhigu)",
"Matthew McEachen <matthew-objection@photostructure.com> (https://github.com/mceachen)",
"Jürg Lehni <juerg@scratchdisk.com> (https://github.com/lehni)",
"Igor Savin <kibertoad@gmail.com> (https://github.com/kibertoad)"
],
"repository": {
"type": "git",
"url": "git+https://github.com/abedmurrar/objection.js.git"
},
"bugs": {
"url": "https://github.com/abedmurrar/objection.js/issues"
},
"homepage": "https://abedmurrar.github.io/objection.js/",
"engines": {
"node": ">=22"
},
"keywords": [
"orm",
"typescript",
"typescript-orm",
"sql",
"sql-orm",
"nodejs",
"node-orm",
"knex",
"knex-orm",
"query-builder",
"objection",
"objection.js",
"objectionjs",
"postgres",
"postgresql",
"mysql",
"mariadb",
"sqlite",
"sqlite3",
"database",
"model",
"relations",
"eager-loading",
"graph",
"upsert",
"transactions",
"json-schema",
"esm"
],
"files": [
"README.md",
"LICENSE",
"lib/**/*.js",
"lib/**/*.mjs",
"typings/*"
],
"dependencies": {
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"db-errors": "^0.2.3"
},
"peerDependencies": {
"knex": ">=3.3.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@biomejs/biome": "2.6.6",
"@types/node": "^22.20.5",
"chai": "^6.3.0",
"chai-subset": "^1.6.0",
"expect.js": "^0.3.1",
"fast-check": "^4.10.2",
"knex": "^3.3.0",
"mariadb": "^3.5.5",
"mocha": "^12.0.3",
"mysql2": "^3.24.6",
"pg": "^8.15.6",
"pg-query-stream": "^4.17.1",
"sqlite3": "^6.0.1",
"typescript": "^7.0.2",
"vitepress": "2.0.0-alpha.21"
},
"overrides": {
"glob": "^14.0.3",
"minimatch": "^11.0.3"
}
}