1 | {
|
2 | "name": "@adonisjs/lucid",
|
3 | "version": "18.4.0",
|
4 | "description": "SQL ORM built on top of Active Record pattern",
|
5 | "main": "build/providers/DatabaseProvider.js",
|
6 | "files": [
|
7 | "build/adonis-typings",
|
8 | "build/commands",
|
9 | "build/providers",
|
10 | "build/src",
|
11 | "build/instructions.js",
|
12 | "build/templates",
|
13 | "build/instructions.md"
|
14 | ],
|
15 | "typings": "./build/adonis-typings/index.d.ts",
|
16 | "scripts": {
|
17 | "mrm": "mrm --preset=@adonisjs/mrm-preset",
|
18 | "pretest": "npm run lint",
|
19 | "test:better_sqlite": "sh ./scripts/run-tests.sh better_sqlite",
|
20 | "test:sqlite": "sh ./scripts/run-tests.sh sqlite",
|
21 | "test:mysql": "sh ./scripts/run-tests.sh mysql",
|
22 | "test:mysql_legacy": "sh ./scripts/run-tests.sh mysql_legacy",
|
23 | "test:mssql": "sh ./scripts/run-tests.sh mssql",
|
24 | "test:pg": "sh ./scripts/run-tests.sh pg",
|
25 | "test:docker": "npm run test:mysql && npm run test:mysql_legacy && npm run test:pg && npm run test:mssql",
|
26 | "lint": "eslint . --ext=.ts",
|
27 | "clean": "del-cli build",
|
28 | "compile": "npm run lint && npm run clean && tsc && npm run copyfiles",
|
29 | "copyfiles": "copyfiles \"templates/**/*.txt\" \"instructions.md\" build",
|
30 | "build": "npm run compile",
|
31 | "commit": "git-cz",
|
32 | "release": "np --message=\"chore(release): %s\"",
|
33 | "version": "npm run build",
|
34 | "sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json adonisjs/lucid",
|
35 | "format": "prettier --write .",
|
36 | "prepublishOnly": "npm run build"
|
37 | },
|
38 | "repository": {
|
39 | "type": "git",
|
40 | "url": "git+https://github.com/adonisjs/lucid.git"
|
41 | },
|
42 | "author": "virk,adonisjs",
|
43 | "license": "MIT",
|
44 | "bugs": {
|
45 | "url": "https://github.com/adonisjs/lucid/issues"
|
46 | },
|
47 | "homepage": "https://github.com/adonisjs/lucid#readme",
|
48 | "dependencies": {
|
49 | "@faker-js/faker": "^8.0.1",
|
50 | "@poppinss/hooks": "^5.0.3",
|
51 | "@poppinss/utils": "^5.0.0",
|
52 | "fast-deep-equal": "^3.1.3",
|
53 | "igniculus": "^1.5.0",
|
54 | "knex": "^2.4.2",
|
55 | "knex-dynamic-connection": "^3.0.1",
|
56 | "luxon": "^3.3.0",
|
57 | "macroable": "^7.0.2",
|
58 | "pretty-hrtime": "^1.0.3",
|
59 | "qs": "^6.11.2",
|
60 | "slash": "^3.0.0",
|
61 | "tarn": "^3.0.2"
|
62 | },
|
63 | "peerDependencies": {
|
64 | "@adonisjs/core": "^5.1.0"
|
65 | },
|
66 | "devDependencies": {
|
67 | "@adonisjs/ace": "^11.3.1",
|
68 | "@adonisjs/core": "^5.9.0",
|
69 | "@adonisjs/mrm-preset": "^5.0.3",
|
70 | "@adonisjs/repl": "^3.1.11",
|
71 | "@adonisjs/require-ts": "^2.0.13",
|
72 | "@adonisjs/sink": "^5.4.3",
|
73 | "@adonisjs/validator": "^12.4.2",
|
74 | "@japa/assert": "^1.4.1",
|
75 | "@japa/run-failed-tests": "^1.1.1",
|
76 | "@japa/runner": "^2.5.1",
|
77 | "@japa/spec-reporter": "^1.3.3",
|
78 | "@poppinss/dev-utils": "^2.0.3",
|
79 | "@types/luxon": "^3.3.0",
|
80 | "@types/node": "^20.2.3",
|
81 | "@types/pluralize": "0.0.29",
|
82 | "@types/qs": "^6.9.7",
|
83 | "better-sqlite3": "^8.4.0",
|
84 | "chance": "^1.1.11",
|
85 | "commitizen": "^4.3.0",
|
86 | "copyfiles": "^2.4.1",
|
87 | "cross-env": "^7.0.3",
|
88 | "cz-conventional-changelog": "^3.3.0",
|
89 | "del-cli": "^5.0.0",
|
90 | "dotenv": "^16.0.3",
|
91 | "eslint": "^8.41.0",
|
92 | "eslint-config-prettier": "^8.8.0",
|
93 | "eslint-plugin-adonis": "^2.1.1",
|
94 | "eslint-plugin-prettier": "^4.2.1",
|
95 | "fs-extra": "^11.1.1",
|
96 | "github-label-sync": "^2.3.1",
|
97 | "husky": "^8.0.3",
|
98 | "mrm": "^4.1.14",
|
99 | "mysql2": "^3.3.1",
|
100 | "np": "^7.7.0",
|
101 | "pg": "^8.11.0",
|
102 | "prettier": "^2.8.8",
|
103 | "reflect-metadata": "^0.1.13",
|
104 | "sqlite3": "^5.1.6",
|
105 | "tedious": "^16.1.0",
|
106 | "typescript": "4.8.4"
|
107 | },
|
108 | "publishConfig": {
|
109 | "tag": "latest",
|
110 | "access": "public"
|
111 | },
|
112 | "nyc": {
|
113 | "exclude": [
|
114 | "test"
|
115 | ],
|
116 | "extension": [
|
117 | ".ts"
|
118 | ]
|
119 | },
|
120 | "config": {
|
121 | "commitizen": {
|
122 | "path": "cz-conventional-changelog"
|
123 | }
|
124 | },
|
125 | "directories": {
|
126 | "test": "test"
|
127 | },
|
128 | "keywords": [],
|
129 | "adonisjs": {
|
130 | "instructions": "./build/instructions.js",
|
131 | "instructionsMd": "./build/instructions.md",
|
132 | "types": "@adonisjs/lucid",
|
133 | "providers": [
|
134 | "@adonisjs/lucid"
|
135 | ],
|
136 | "commands": [
|
137 | "@adonisjs/lucid/build/commands"
|
138 | ],
|
139 | "templates": {
|
140 | "database": [
|
141 | "factories/index.txt"
|
142 | ]
|
143 | }
|
144 | },
|
145 | "np": {
|
146 | "contents": ".",
|
147 | "anyBranch": false,
|
148 | "yolo": true
|
149 | },
|
150 | "mrmConfig": {
|
151 | "core": true,
|
152 | "license": "MIT",
|
153 | "services": [
|
154 | "github-actions"
|
155 | ],
|
156 | "minNodeVersion": "14.15.4",
|
157 | "probotApps": [
|
158 | "stale",
|
159 | "lock"
|
160 | ],
|
161 | "runGhActionsOnWindows": false
|
162 | },
|
163 | "eslintConfig": {
|
164 | "extends": [
|
165 | "plugin:adonis/typescriptPackage",
|
166 | "prettier"
|
167 | ],
|
168 | "plugins": [
|
169 | "prettier"
|
170 | ],
|
171 | "rules": {
|
172 | "prettier/prettier": [
|
173 | "error",
|
174 | {
|
175 | "endOfLine": "auto"
|
176 | }
|
177 | ]
|
178 | }
|
179 | },
|
180 | "eslintIgnore": [
|
181 | "build"
|
182 | ],
|
183 | "prettier": {
|
184 | "trailingComma": "es5",
|
185 | "semi": false,
|
186 | "singleQuote": true,
|
187 | "useTabs": false,
|
188 | "quoteProps": "consistent",
|
189 | "bracketSpacing": true,
|
190 | "arrowParens": "always",
|
191 | "printWidth": 100
|
192 | }
|
193 | }
|