hysteria-orm 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,123 @@
1
+ {
2
+ "name": "hysteria-orm",
3
+ "version": "10.0.0",
4
+ "license": "MIT",
5
+ "description": "Yet another orm for Javascript and Typescript no one asked for",
6
+ "type": "module",
7
+ "homepage": "https://github.com/Frasan00/hysteria-orm",
8
+ "repository": "https://github.com/Frasan00/hysteria-orm.git",
9
+ "author": "Frasan00 <francesco.sangiovanni.7@gmail.com>",
10
+ "scripts": {
11
+ "start": "yarn format && yarn build:dev && node lib/index.js",
12
+ "prepare": "husky install",
13
+ "migrate": "node ./test/migration_runner.js",
14
+ "test": "reset && node ./test/test_runner.js",
15
+ "test:with:migrations": "rm -rf sqlite.db && touch sqlite.db && yarn format && yarn build:prod && yarn migrate && node ./test/test_runner.js",
16
+ "format": "prettier --write \"**/*.ts\"",
17
+ "build": "yarn generate:interpreter:map && yarn build:prod",
18
+ "build:prod": "yarn generate:interpreter:map && tsup --minify",
19
+ "build:dev": "tsup",
20
+ "test:fresh": "node lib/cli.js refresh:migrations",
21
+ "generate:interpreter:map": "node generate_interpreter_map.js",
22
+ "generate:migrations": "yarn build && node lib/cli.js generate:migrations -d database/index.ts",
23
+ "run:migrations": "yarn build && node lib/cli.js run:migrations -d database/index.ts",
24
+ "refresh:migrations": "yarn build && node lib/cli.js refresh:migrations -d database/index.ts"
25
+ },
26
+ "main": "./lib/index.cjs",
27
+ "module": "./lib/index.js",
28
+ "types": "./lib/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./lib/index.d.ts",
32
+ "import": "./lib/index.js",
33
+ "require": "./lib/index.cjs"
34
+ }
35
+ },
36
+ "bin": {
37
+ "hysteria": "lib/cli.js",
38
+ "hysteria-cjs": "lib/cli.cjs"
39
+ },
40
+ "files": [
41
+ "lib/**"
42
+ ],
43
+ "devDependencies": {
44
+ "@adonisjs/eslint-config": "^2.1.2",
45
+ "@faker-js/faker": "^9.9.0",
46
+ "@types/ioredis": "^5.0.0",
47
+ "@types/jest": "^30.0.0",
48
+ "@types/luxon": "^3.7.1",
49
+ "@types/mongodb": "^4.0.7",
50
+ "@types/mysql2": "github:types/mysql2",
51
+ "@types/pg": "^8.15.5",
52
+ "@types/pg-query-stream": "^3.4.0",
53
+ "@types/pino": "^7.0.5",
54
+ "@types/pluralize": "^0.0.33",
55
+ "@types/sqlite3": "^5.1.0",
56
+ "bundle-require": "^5.1.0",
57
+ "husky": "^9.1.7",
58
+ "ioredis": "^5.7.0",
59
+ "jest": "^30.1.3",
60
+ "luxon": "^3.7.2",
61
+ "mongodb": "^6.19.0",
62
+ "mysql2": "^3.14.4",
63
+ "pg": "^8.16.3",
64
+ "pg-query-stream": "^4.10.3",
65
+ "prettier": "^3.6.2",
66
+ "sqlite3": "^5.1.7",
67
+ "standard": "^17.1.2",
68
+ "ts-jest": "^29.4.1",
69
+ "ts-node": "^10.9.2",
70
+ "tsup": "^8.5.0",
71
+ "tsx": "^4.20.5",
72
+ "typescript": "^5.9.2"
73
+ },
74
+ "dependencies": {
75
+ "commander": "^14.0.0",
76
+ "dayjs": "^1.11.18",
77
+ "pluralize": "^8.0.0",
78
+ "reflect-metadata": "^0.2.2",
79
+ "sql-formatter": "^15.6.8",
80
+ "sql-highlight": "^6.1.0"
81
+ },
82
+ "peerDependencies": {
83
+ "ioredis": "^5.6.1",
84
+ "mongodb": "^6.17.0",
85
+ "mysql2": "^3.14.1",
86
+ "pg": "^8.16.0",
87
+ "sqlite3": "^5.1.7",
88
+ "typescript": "^5.8.3"
89
+ },
90
+ "peerDependenciesMeta": {
91
+ "ioredis": {
92
+ "optional": true
93
+ },
94
+ "mongodb": {
95
+ "optional": true
96
+ },
97
+ "mysql2": {
98
+ "optional": true
99
+ },
100
+ "pg": {
101
+ "optional": true
102
+ },
103
+ "sqlite3": {
104
+ "optional": true
105
+ },
106
+ "typescript": {
107
+ "optional": true
108
+ },
109
+ "bundle-require": {
110
+ "optional": true
111
+ },
112
+ "esbuild": {
113
+ "optional": true
114
+ }
115
+ },
116
+ "keywords": [
117
+ "orm",
118
+ "library",
119
+ "sql",
120
+ "SQL",
121
+ "NoSql"
122
+ ]
123
+ }