-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 4.93 KB
/
package.json
File metadata and controls
110 lines (110 loc) · 4.93 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
{
"name": "@blitznocode/blitz-orm",
"version": "0.15.6",
"author": "blitznocode.com",
"description": "Blitz-orm is an Object Relational Mapper (ORM) for graph databases that uses a JSON query language called Blitz Query Language (BQL). BQL is similar to GraphQL but uses JSON instead of strings. This makes it easier to build dynamic queries.",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch --sourcemap",
"lint:check": "biome check --diagnostic-level=error --max-diagnostics=500",
"lint:fix": "biome check --write --unsafe --max-diagnostics=500",
"lint-staged": "lint-staged",
"precommit": "pnpm lint-staged && pnpm test:ignoreTodo",
"preinstall": "npx only-allow pnpm",
"prepare": "husky",
"pub": "pnpm build && pnpm publish",
"knip": "knip",
"bench:surrealdb": "./benches/bench.v2.sh",
"bench:tests:surrealdb": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=refs ./tests/benchTests.sh",
"bench:tests:surrealdb:legacy": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=refs LEGACY_SURREALDB_ADAPTER=true ./tests/benchTests.sh",
"bench:surrealdb:edges": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=edges ./tests/bench.sh tests/unit/bench",
"bench:surrealdb:refs": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=refs ./tests/bench.sh tests/unit/bench",
"bench:typedb": "vitest bench typedb/bench",
"test": "./tests/test.sh --coverage",
"test:ignoreTodo": "pnpm test:surrealdb-ignoreTodo && pnpm test:typedb-ignoreTodo && pnpm test:multidb",
"test:multidb": "./tests/test.sh multidb",
"test:query": "./tests/test.sh query.test.ts",
"test:surrealdb-ignoreTodo": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=refs ./tests/test.sh tests/unit/allTests.test.ts -t \"^(?!.*TODO{.*[S].*}:).*\"",
"test:surrealdb-ignoreTodo:edges": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=edges ./tests/test.sh tests/unit -t \"^(?!.*TODO{.*[S].*}:).*\"",
"test:surrealdb-query:edges": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=edges ./tests/test.sh tests/unit/queries/query.test.ts",
"test:surrealdb-query:refs": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=refs ./tests/test.sh tests/unit/queries/query.test.ts",
"test:surrealdb-mutation:edges": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=edges ./tests/test.sh tests/unit/mutations",
"test:surrealdb-mutation:refs": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=refs ./tests/test.sh tests/unit/mutations",
"test:surrealdb-schema": "cross-env BORM_TEST_ADAPTER=surrealDB BORM_TEST_SURREALDB_LINK_MODE=refs ./tests/test.sh tests/unit/schema",
"test:typedb-ignoreTodo": "cross-env BORM_TEST_ADAPTER=typeDB vitest run tests/unit/allTests.test.ts -t \"^(?!.*TODO{.*[T].*}:).*\" ",
"test:typedb-mutation": "cross-env BORM_TEST_ADAPTER=typeDB vitest run unit/mutations",
"test:typedb-query": "cross-env BORM_TEST_ADAPTER=typeDB vitest run tests/unit/queries --watch",
"test:typedb-schema": "cross-env BORM_TEST_ADAPTER=typeDB vitest run unit/schema",
"types": "tsc --noEmit",
"types:buildSchema": "npx esbuild tests/mocks/buildSchema.ts --bundle --loader:.ts=ts --platform=node --format=cjs --outfile=tests/mocks/buildSchema.js && node tests/mocks/buildSchema.js"
},
"private": false,
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/Blitzapps/blitz-orm"
},
"files": [
"README.md",
"dist"
],
"engines": {
"node": ">=16.8.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"acorn": "^8.15.0",
"dayjs": "^1.11.13",
"dotenv": "^17.2.1",
"immer": "10.1.1",
"nanoid": "^5.1.5",
"object-traversal": "^1.0.1",
"radash": "^12.1.1",
"robot3": "^1.1.1",
"surrealdb": "2.0.0-alpha.18",
"typedb-driver": "^2.29.2",
"uuid": "^11.1.0",
"zod": "^4.2.1"
},
"devDependencies": {
"@biomejs/biome": "^2.1.3",
"@types/node": "^24.1.0",
"@types/uuid": "^10.0.0",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^10.0.0",
"esbuild": "^0.25.8",
"husky": "^9.1.7",
"knip": "^5.62.0",
"lint-staged": "^16.1.2",
"only-allow": "^1.2.1",
"prettier": "^3.6.2",
"tinybench": "^6.0.0",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"keywords": [
"ORM",
"database",
"graph-database"
],
"bugs": {
"url": "https://github.com/Blitzapps/blitz-orm/issues"
},
"homepage": "https://github.com/Blitzapps/blitz-orm#readme",
"directories": {
"test": "tests"
},
"packageManager": "pnpm@10.30.0"
}