2023-12-08 22:35:15 +01:00
|
|
|
{
|
2024-01-02 14:18:37 +01:00
|
|
|
"name": "@homarr/db",
|
2023-12-08 22:35:15 +01:00
|
|
|
"version": "0.1.0",
|
2024-03-03 21:07:27 +01:00
|
|
|
"type": "module",
|
2024-02-03 22:26:12 +01:00
|
|
|
"exports": {
|
|
|
|
|
".": "./index.ts",
|
|
|
|
|
"./client": "./client.ts",
|
2024-02-10 19:00:08 +01:00
|
|
|
"./schema/sqlite": "./schema/sqlite.ts",
|
|
|
|
|
"./test": "./test/index.ts"
|
2024-02-03 22:26:12 +01:00
|
|
|
},
|
2023-12-08 22:35:15 +01:00
|
|
|
"private": true,
|
|
|
|
|
"main": "./index.ts",
|
|
|
|
|
"types": "./index.ts",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"scripts": {
|
2024-04-07 11:32:29 +02:00
|
|
|
"build": "esbuild migrate.ts --bundle --platform=node --outfile=migrate.cjs",
|
2023-12-08 22:35:15 +01:00
|
|
|
"clean": "rm -rf .turbo node_modules",
|
|
|
|
|
"lint": "eslint .",
|
|
|
|
|
"format": "prettier --check . --ignore-path ../../.gitignore",
|
2024-04-29 21:46:30 +02:00
|
|
|
"migration:sqlite:generate": "drizzle-kit generate:sqlite --config ./sqlite.config.ts",
|
2024-04-07 11:32:29 +02:00
|
|
|
"migration:run": "tsx ./migrate.ts",
|
2024-04-29 21:46:30 +02:00
|
|
|
"migration:mysql:generate": "drizzle-kit generate:mysql --config ./mysql.config.ts",
|
2023-12-09 00:32:45 +01:00
|
|
|
"push": "drizzle-kit push:sqlite",
|
2023-12-08 22:35:15 +01:00
|
|
|
"studio": "drizzle-kit studio",
|
|
|
|
|
"typecheck": "tsc --noEmit"
|
|
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2024-01-02 17:12:26 +01:00
|
|
|
"@homarr/common": "workspace:^0.1.0",
|
|
|
|
|
"@homarr/definitions": "workspace:^0.1.0",
|
2023-12-10 17:12:20 +01:00
|
|
|
"@paralleldrive/cuid2": "^2.2.2",
|
2024-04-27 18:28:53 +02:00
|
|
|
"better-sqlite3": "^9.6.0",
|
2024-05-01 19:55:13 +02:00
|
|
|
"drizzle-orm": "^0.30.10",
|
2024-04-27 14:19:53 +02:00
|
|
|
"mysql2": "3.9.7",
|
2024-04-24 20:31:19 +02:00
|
|
|
"drizzle-kit": "^0.20.17"
|
2023-12-08 22:35:15 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2024-01-02 14:18:37 +01:00
|
|
|
"@homarr/eslint-config": "workspace:^0.2.0",
|
|
|
|
|
"@homarr/prettier-config": "workspace:^0.1.0",
|
|
|
|
|
"@homarr/tsconfig": "workspace:^0.1.0",
|
2024-04-27 15:33:51 +02:00
|
|
|
"@types/better-sqlite3": "7.6.10",
|
2024-03-10 11:32:21 +01:00
|
|
|
"dotenv-cli": "^7.4.1",
|
2024-02-27 21:19:06 +01:00
|
|
|
"eslint": "^8.57.0",
|
2024-02-08 19:58:56 +01:00
|
|
|
"prettier": "^3.2.5",
|
2024-04-11 20:56:02 +02:00
|
|
|
"typescript": "^5.4.5"
|
2023-12-08 22:35:15 +01:00
|
|
|
},
|
|
|
|
|
"eslintConfig": {
|
|
|
|
|
"root": true,
|
|
|
|
|
"extends": [
|
2024-01-02 14:18:37 +01:00
|
|
|
"@homarr/eslint-config/base"
|
2023-12-08 22:35:15 +01:00
|
|
|
]
|
|
|
|
|
},
|
2024-01-02 14:18:37 +01:00
|
|
|
"prettier": "@homarr/prettier-config"
|
2024-04-06 15:54:41 +02:00
|
|
|
}
|