UNPKG

@adonisjs/lucid

Version:

SQL ORM built on top of Active Record pattern

182 lines (181 loc) 5.68 kB
{ "name": "@adonisjs/lucid", "description": "SQL ORM built on top of Active Record pattern", "version": "22.0.0", "engines": { "node": ">=24.0.0" }, "main": "./build/index.js", "type": "module", "files": [ "build/commands", "build/providers", "build/services", "build/src", "build/stubs", "build/index.d.ts", "build/index.js", "build/configure.d.ts", "build/configure.js" ], "exports": { ".": "./build/index.js", "./schema": "./build/src/schema/main.js", "./commands": "./build/commands/main.js", "./commands/*": "./build/commands/*.js", "./factories": "./build/src/factories/main.js", "./database": "./build/src/database/main.js", "./orm": "./build/src/orm/main.js", "./orm/relations": "./build/src/orm/relations/main.js", "./seeders": "./build/src/seeders/main.js", "./services/*": "./build/services/*.js", "./types/*": "./build/src/types/*.js", "./migration": "./build/src/migration/main.js", "./database_provider": "./build/providers/database_provider.js", "./utils": "./build/src/utils/index.js" }, "scripts": { "pretest": "npm run lint", "test:better_sqlite": "cross-env DB=better_sqlite node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "test:libsql": "cross-env DB=libsql node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "test:sqlite": "cross-env DB=sqlite node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "test:mysql": "cross-env DB=mysql node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "test:mysql_legacy": "cross-env DB=mysql_legacy node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "test:mssql": "cross-env DB=mssql node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "test:pg": "cross-env DB=pg node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "test:docker": "npm run test:mysql && npm run test:mysql_legacy && npm run test:pg && npm run test:mssql", "quick:test": "cross-env DB=sqlite node --enable-source-maps --import=@poppinss/ts-exec ./bin/test.js", "lint": "eslint", "clean": "del-cli build", "compile": "npm run lint && npm run clean && tsc", "postcompile": "npm run copy:templates && npm run index:commands", "copy:templates": "copyfiles \"stubs/**/**/*.stub\" build", "build": "npm run compile", "release": "release-it", "version": "npm run build", "typecheck": "tsc --noEmit", "format": "prettier --write .", "prepublishOnly": "npm run build", "test": "npm run test:docker", "index:commands": "adonis-kit index build/commands" }, "devDependencies": { "@adonisjs/assembler": "^8.0.0", "@adonisjs/core": "^7.0.0", "@adonisjs/eslint-config": "^3.0.0", "@adonisjs/prettier-config": "^1.4.5", "@adonisjs/tsconfig": "^2.0.0", "@japa/assert": "^4.2.0", "@japa/expect-type": "^2.0.4", "@japa/file-system": "^3.0.0", "@japa/runner": "^5.3.0", "@japa/snapshot": "^2.0.10", "@libsql/sqlite3": "^0.3.1", "@poppinss/ts-exec": "^1.4.4", "@release-it/conventional-changelog": "^10.0.5", "@types/chance": "^1.1.7", "@types/luxon": "^3.7.1", "@types/node": "^25.3.0", "@types/pretty-hrtime": "^1.0.3", "@vinejs/vine": "^4.3.0", "better-sqlite3": "^12.6.2", "c8": "^11.0.0", "chance": "^1.1.13", "copyfiles": "^2.4.1", "cross-env": "^10.1.0", "del-cli": "^7.0.0", "dotenv": "^17.3.1", "eslint": "^10.0.2", "luxon": "^3.7.2", "mysql2": "^3.18.0", "pg": "^8.18.0", "prettier": "^3.8.1", "reflect-metadata": "^0.2.2", "release-it": "^19.2.4", "sqlite3": "^5.1.7", "tedious": "^19.2.1", "typescript": "^5.9.3" }, "dependencies": { "@adonisjs/presets": "^3.0.0", "@faker-js/faker": "^10.3.0", "@poppinss/hooks": "^7.3.0", "@poppinss/macroable": "^1.1.0", "@poppinss/qs": "^6.15.0", "@poppinss/utils": "^7.0.0", "deepmerge": "^4.3.1", "fast-deep-equal": "^3.1.3", "igniculus": "^1.5.0", "kleur": "^4.1.5", "knex": "^3.1.0", "knex-dynamic-connection": "^4.0.0-next.0", "pretty-hrtime": "^1.0.3", "slash": "^5.1.0", "tarn": "^3.0.2" }, "peerDependencies": { "@adonisjs/assembler": "^8.0.0-next.29 || ^8.0.0", "@adonisjs/core": "^7.0.0-next.21 || ^7.0.0", "@vinejs/vine": "^3.0.0 || ^4.0.0", "luxon": "^3.4.4" }, "peerDependenciesMeta": { "@adonisjs/assembler": { "optional": true }, "@vinejs/vine": { "optional": true }, "luxon": { "optional": true } }, "author": "virk,adonisjs", "license": "MIT", "homepage": "https://github.com/adonisjs/lucid#readme", "repository": { "type": "git", "url": "git+https://github.com/adonisjs/lucid.git" }, "bugs": { "url": "https://github.com/adonisjs/lucid/issues" }, "prettier": "@adonisjs/prettier-config", "publishConfig": { "access": "public", "provenance": true }, "release-it": { "git": { "requireCleanWorkingDir": true, "requireUpstream": true, "commitMessage": "chore(release): ${version}", "tagAnnotation": "v${version}", "push": true, "tagName": "v${version}" }, "github": { "release": true }, "npm": { "publish": true, "skipChecks": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" } } } }, "c8": { "reporter": [ "text", "html" ], "exclude": [ "tests/**" ] } }