@adonisjs/lucid
Version:
SQL ORM built on top of Active Record pattern
186 lines (185 loc) • 5.6 kB
JSON
{
"name": "@adonisjs/lucid",
"description": "SQL ORM built on top of Active Record pattern",
"version": "21.6.1",
"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",
"./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 --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",
"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": "c8 npm run test:docker",
"index:commands": "adonis-kit index build/commands"
},
"devDependencies": {
"@adonisjs/assembler": "^7.8.2",
"@adonisjs/core": "^6.17.2",
"@adonisjs/eslint-config": "^2.0.0",
"@adonisjs/prettier-config": "^1.4.4",
"@adonisjs/tsconfig": "^1.4.0",
"@japa/assert": "^4.0.1",
"@japa/file-system": "^2.3.2",
"@japa/runner": "^4.2.0",
"@libsql/sqlite3": "^0.3.1",
"@release-it/conventional-changelog": "^10.0.0",
"@swc/core": "1.10.7",
"@types/chance": "^1.1.6",
"@types/luxon": "^3.4.2",
"@types/node": "^22.13.10",
"@types/pretty-hrtime": "^1.0.3",
"@types/qs": "^6.9.18",
"@vinejs/vine": "^3.0.0",
"better-sqlite3": "^11.8.1",
"c8": "^10.1.3",
"chance": "^1.1.12",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"del-cli": "^6.0.0",
"dotenv": "^16.4.7",
"eslint": "^9.22.0",
"fs-extra": "^11.3.0",
"luxon": "^3.5.0",
"mysql2": "^3.13.0",
"pg": "^8.14.0",
"prettier": "^3.5.3",
"reflect-metadata": "^0.2.2",
"release-it": "^18.1.2",
"sqlite3": "^5.1.7",
"tedious": "^18.6.1",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
},
"dependencies": {
"@adonisjs/presets": "^2.6.4",
"@faker-js/faker": "^9.6.0",
"@poppinss/hooks": "^7.2.5",
"@poppinss/macroable": "^1.0.4",
"@poppinss/utils": "^6.9.2",
"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.14.0",
"slash": "^5.1.0",
"tarn": "^3.0.2"
},
"peerDependencies": {
"@adonisjs/assembler": "^7.7.0",
"@adonisjs/core": "^6.10.1",
"@vinejs/vine": "^2.0.0 || ^3.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",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"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/**"
]
}
}