UNPKG

@adonisjs/lucid

Version:

SQL ORM built on top of Active Record pattern

173 lines (172 loc) 5.38 kB
{ "name": "@adonisjs/lucid", "description": "SQL ORM built on top of Active Record pattern", "version": "21.2.0", "engines": { "node": ">=18.16.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", "./factories": "./build/src/factories/main.js", "./database": "./build/src/database/main.js", "./orm": "./build/src/orm/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 --loader=ts-node/esm ./bin/test.js", "test:libsql": "cross-env DB=libsql node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:sqlite": "cross-env DB=sqlite node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:mysql": "cross-env DB=mysql node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:mysql_legacy": "cross-env DB=mysql_legacy node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:mssql": "cross-env DB=mssql node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:pg": "cross-env DB=pg node --enable-source-maps --loader=ts-node/esm ./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 --loader=ts-node/esm ./bin/test.js", "lint": "eslint . --ext=.ts", "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": "np", "version": "npm run build", "typecheck": "tsc --noEmit", "sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json adonisjs/lucid", "format": "prettier --write .", "prepublishOnly": "npm run build", "test": "c8 npm run test:docker", "index:commands": "adonis-kit index build/commands" }, "devDependencies": { "@adonisjs/assembler": "^7.7.0", "@adonisjs/core": "^6.12.1", "@adonisjs/eslint-config": "^1.3.0", "@adonisjs/prettier-config": "^1.3.0", "@adonisjs/tsconfig": "^1.3.0", "@commitlint/cli": "^19.4.0", "@commitlint/config-conventional": "^19.2.2", "@japa/assert": "^3.0.0", "@japa/file-system": "^2.3.0", "@japa/runner": "^3.1.4", "@libsql/sqlite3": "^0.3.1", "@swc/core": "^1.7.6", "@types/chance": "^1.1.6", "@types/luxon": "^3.4.2", "@types/node": "^22.1.0", "@types/pretty-hrtime": "^1.0.3", "@types/qs": "^6.9.15", "@vinejs/vine": "^2.1.0", "better-sqlite3": "^11.1.2", "c8": "^10.1.2", "chance": "^1.1.12", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "del-cli": "^5.1.0", "dotenv": "^16.4.5", "eslint": "^8.57.0", "fs-extra": "^11.2.0", "github-label-sync": "^2.3.1", "husky": "^9.1.4", "luxon": "^3.5.0", "mysql2": "^3.11.0", "np": "^10.0.7", "pg": "^8.12.0", "prettier": "^3.3.3", "reflect-metadata": "^0.2.2", "sqlite3": "^5.1.7", "tedious": "^18.3.0", "ts-node": "^10.9.2", "typescript": "^5.5.4" }, "dependencies": { "@adonisjs/presets": "^2.6.1", "@faker-js/faker": "^8.4.1", "@poppinss/hooks": "^7.2.3", "@poppinss/macroable": "^1.0.2", "@poppinss/utils": "^6.7.3", "fast-deep-equal": "^3.1.3", "igniculus": "^1.5.0", "kleur": "^4.1.5", "knex": "^3.1.0", "knex-dynamic-connection": "^3.2.0", "pretty-hrtime": "^1.0.3", "qs": "^6.13.0", "slash": "^5.1.0", "tarn": "^3.0.2" }, "peerDependencies": { "@adonisjs/assembler": "^7.7.0", "@adonisjs/core": "^6.10.1", "luxon": "^3.4.4" }, "peerDependenciesMeta": { "@adonisjs/assembler": { "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" }, "overrides": { "strtok3": "8.0.1" }, "eslintConfig": { "extends": "@adonisjs/eslint-config/package" }, "prettier": "@adonisjs/prettier-config", "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "publishConfig": { "access": "public", "tag": "latest" }, "np": { "message": "chore(release): %s", "tag": "latest", "branch": "main", "anyBranch": false }, "c8": { "reporter": [ "text", "html" ], "exclude": [ "tests/**" ] } }