UNPKG

@adonisjs/lucid

Version:

SQL ORM built on top of Active Record pattern

167 lines (166 loc) 5.08 kB
{ "name": "@adonisjs/lucid", "version": "20.5.1", "description": "SQL ORM built on top of Active Record pattern", "engines": { "node": ">=18.16.0" }, "main": "./build/index.js", "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" ], "type": "module", "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" }, "scripts": { "pretest": "npm run lint", "test:better_sqlite": "DB=better_sqlite node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:sqlite": "DB=sqlite node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:mysql": "DB=mysql node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:mysql_legacy": "DB=mysql_legacy node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:mssql": "DB=mssql node --enable-source-maps --loader=ts-node/esm ./bin/test.js", "test:pg": "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": "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" }, "dependencies": { "@adonisjs/presets": "^2.2.5", "@faker-js/faker": "^8.4.1", "@poppinss/hooks": "^7.2.2", "@poppinss/macroable": "^1.0.1", "@poppinss/utils": "^6.7.2", "fast-deep-equal": "^3.1.3", "igniculus": "^1.5.0", "kleur": "^4.1.5", "knex": "^3.1.0", "knex-dynamic-connection": "^3.1.1", "pretty-hrtime": "^1.0.3", "qs": "^6.11.2", "slash": "^5.1.0", "tarn": "^3.0.2" }, "devDependencies": { "@adonisjs/assembler": "^7.2.2", "@adonisjs/core": "^6.3.1", "@adonisjs/eslint-config": "^1.2.1", "@adonisjs/prettier-config": "^1.2.1", "@adonisjs/tsconfig": "^1.2.1", "@commitlint/cli": "^18.6.1", "@commitlint/config-conventional": "^18.6.2", "@japa/assert": "^2.1.0", "@japa/file-system": "^2.2.0", "@japa/runner": "^3.1.1", "@swc/core": "^1.4.2", "@types/chance": "^1.1.6", "@types/luxon": "^3.4.2", "@types/node": "^20.11.20", "@types/pretty-hrtime": "^1.0.3", "@types/qs": "^6.9.11", "@vinejs/vine": "^1.7.1", "better-sqlite3": "^9.4.3", "c8": "^9.1.0", "chance": "^1.1.11", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "del-cli": "^5.0.0", "dotenv": "^16.4.5", "eslint": "^8.57.0", "fs-extra": "^11.2.0", "github-label-sync": "^2.3.1", "husky": "^9.0.11", "luxon": "^3.4.4", "mysql2": "^3.9.2", "np": "^10.0.0", "pg": "^8.11.0", "prettier": "^3.2.5", "reflect-metadata": "^0.2.0", "sqlite3": "^5.1.7", "tedious": "^17.0.0", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "peerDependencies": { "@adonisjs/assembler": "^7.0.0", "@adonisjs/core": "^6.2.2", "luxon": "^3.4.4" }, "peerDependenciesMeta": { "@adonisjs/assembler": { "optional": true }, "luxon": { "optional": true } }, "license": "MIT", "author": "virk,adonisjs", "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" }, "eslintConfig": { "extends": "@adonisjs/eslint-config/package" }, "prettier": "@adonisjs/prettier-config", "publishConfig": { "access": "public", "tag": "latest" }, "np": { "message": "chore(release): %s", "tag": "latest", "branch": "main", "anyBranch": false }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "c8": { "reporter": [ "text", "html" ], "exclude": [ "tests/**" ] } }