UNPKG

5.08 kBJSONView Raw
1{
2 "name": "@adonisjs/lucid",
3 "version": "20.5.1",
4 "description": "SQL ORM built on top of Active Record pattern",
5 "engines": {
6 "node": ">=18.16.0"
7 },
8 "main": "./build/index.js",
9 "files": [
10 "build/commands",
11 "build/providers",
12 "build/services",
13 "build/src",
14 "build/stubs",
15 "build/index.d.ts",
16 "build/index.js",
17 "build/configure.d.ts",
18 "build/configure.js"
19 ],
20 "type": "module",
21 "exports": {
22 ".": "./build/index.js",
23 "./schema": "./build/src/schema/main.js",
24 "./commands": "./build/commands/main.js",
25 "./factories": "./build/src/factories/main.js",
26 "./database": "./build/src/database/main.js",
27 "./orm": "./build/src/orm/main.js",
28 "./seeders": "./build/src/seeders/main.js",
29 "./services/*": "./build/services/*.js",
30 "./types/*": "./build/src/types/*.js",
31 "./migration": "./build/src/migration/main.js",
32 "./database_provider": "./build/providers/database_provider.js"
33 },
34 "scripts": {
35 "pretest": "npm run lint",
36 "test:better_sqlite": "DB=better_sqlite node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
37 "test:sqlite": "DB=sqlite node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
38 "test:mysql": "DB=mysql node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
39 "test:mysql_legacy": "DB=mysql_legacy node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
40 "test:mssql": "DB=mssql node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
41 "test:pg": "DB=pg node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
42 "test:docker": "npm run test:mysql && npm run test:mysql_legacy && npm run test:pg && npm run test:mssql",
43 "quick:test": "DB=sqlite node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
44 "lint": "eslint . --ext=.ts",
45 "clean": "del-cli build",
46 "compile": "npm run lint && npm run clean && tsc",
47 "postcompile": "npm run copy:templates && npm run index:commands",
48 "copy:templates": "copyfiles \"stubs/**/**/*.stub\" build",
49 "build": "npm run compile",
50 "release": "np",
51 "version": "npm run build",
52 "typecheck": "tsc --noEmit",
53 "sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json adonisjs/lucid",
54 "format": "prettier --write .",
55 "prepublishOnly": "npm run build",
56 "test": "c8 npm run test:docker",
57 "index:commands": "adonis-kit index build/commands"
58 },
59 "dependencies": {
60 "@adonisjs/presets": "^2.2.5",
61 "@faker-js/faker": "^8.4.1",
62 "@poppinss/hooks": "^7.2.2",
63 "@poppinss/macroable": "^1.0.1",
64 "@poppinss/utils": "^6.7.2",
65 "fast-deep-equal": "^3.1.3",
66 "igniculus": "^1.5.0",
67 "kleur": "^4.1.5",
68 "knex": "^3.1.0",
69 "knex-dynamic-connection": "^3.1.1",
70 "pretty-hrtime": "^1.0.3",
71 "qs": "^6.11.2",
72 "slash": "^5.1.0",
73 "tarn": "^3.0.2"
74 },
75 "devDependencies": {
76 "@adonisjs/assembler": "^7.2.2",
77 "@adonisjs/core": "^6.3.1",
78 "@adonisjs/eslint-config": "^1.2.1",
79 "@adonisjs/prettier-config": "^1.2.1",
80 "@adonisjs/tsconfig": "^1.2.1",
81 "@commitlint/cli": "^18.6.1",
82 "@commitlint/config-conventional": "^18.6.2",
83 "@japa/assert": "^2.1.0",
84 "@japa/file-system": "^2.2.0",
85 "@japa/runner": "^3.1.1",
86 "@swc/core": "^1.4.2",
87 "@types/chance": "^1.1.6",
88 "@types/luxon": "^3.4.2",
89 "@types/node": "^20.11.20",
90 "@types/pretty-hrtime": "^1.0.3",
91 "@types/qs": "^6.9.11",
92 "@vinejs/vine": "^1.7.1",
93 "better-sqlite3": "^9.4.3",
94 "c8": "^9.1.0",
95 "chance": "^1.1.11",
96 "copyfiles": "^2.4.1",
97 "cross-env": "^7.0.3",
98 "del-cli": "^5.0.0",
99 "dotenv": "^16.4.5",
100 "eslint": "^8.57.0",
101 "fs-extra": "^11.2.0",
102 "github-label-sync": "^2.3.1",
103 "husky": "^9.0.11",
104 "luxon": "^3.4.4",
105 "mysql2": "^3.9.2",
106 "np": "^10.0.0",
107 "pg": "^8.11.0",
108 "prettier": "^3.2.5",
109 "reflect-metadata": "^0.2.0",
110 "sqlite3": "^5.1.7",
111 "tedious": "^17.0.0",
112 "ts-node": "^10.9.2",
113 "typescript": "^5.3.3"
114 },
115 "peerDependencies": {
116 "@adonisjs/assembler": "^7.0.0",
117 "@adonisjs/core": "^6.2.2",
118 "luxon": "^3.4.4"
119 },
120 "peerDependenciesMeta": {
121 "@adonisjs/assembler": {
122 "optional": true
123 },
124 "luxon": {
125 "optional": true
126 }
127 },
128 "license": "MIT",
129 "author": "virk,adonisjs",
130 "homepage": "https://github.com/adonisjs/lucid#readme",
131 "repository": {
132 "type": "git",
133 "url": "git+https://github.com/adonisjs/lucid.git"
134 },
135 "bugs": {
136 "url": "https://github.com/adonisjs/lucid/issues"
137 },
138 "eslintConfig": {
139 "extends": "@adonisjs/eslint-config/package"
140 },
141 "prettier": "@adonisjs/prettier-config",
142 "publishConfig": {
143 "access": "public",
144 "tag": "latest"
145 },
146 "np": {
147 "message": "chore(release): %s",
148 "tag": "latest",
149 "branch": "main",
150 "anyBranch": false
151 },
152 "commitlint": {
153 "extends": [
154 "@commitlint/config-conventional"
155 ]
156 },
157 "c8": {
158 "reporter": [
159 "text",
160 "html"
161 ],
162 "exclude": [
163 "tests/**"
164 ]
165 }
166}