-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
156 lines (156 loc) · 4.88 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "@juicyllama/llana",
"version": "1.20.8",
"description": "API Wrapper for Databases - Llana is a no-code API wrapper that exposes a REST API for any database within minutes. No longer spend time building APIs, just connect your database and start using the API. Open source, free to use, and no vendor lock-in.",
"author": {
"name": "JuicyLlama Studio",
"email": "[email protected]",
"url": "https://juicyllama.com"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/juicyllama/llana"
},
"bugs": "https://llana.io",
"license": "BSD-4-Clause",
"readmeFilename": "README.md",
"tags": [
"llana",
"api"
],
"keywords": [
"llana",
"api"
],
"scripts": {
"postinstall": "sh ./scripts/install.sh",
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:ngrok": "~/ngrok http http://localhost:3000/ --subdomain=llana",
"docker:dev": "sh ./scripts/docker.dev.sh",
"docker:dev:up": "docker compose -f ./docker/docker-compose.dev.yml up --build --detach",
"docker:dev:down": "docker compose -f ./docker/docker-compose.dev.yml down --remove-orphans --volumes",
"docker:prod:build": "sh ./scripts/docker.build.prod.sh",
"docker:prod:test": "sh ./scripts/docker.prod.sh",
"precommit": "npm run test && npm run lint && npm run format",
"commit": "git pull && git add . && git commit -m \"chore: update\" && git push",
"test": "sh ./scripts/test.sh",
"test:current": "jest --bail --runInBand --detectOpenHandles --forceExit",
"test:mysql": "export DATABASE_URI=mysql://user:pass@localhost:3306/llana && jest --bail --runInBand --detectOpenHandles --forceExit",
"test:postgresql": "export DATABASE_URI=postgresql://user:pass@localhost:5432/llana && jest --bail --runInBand --detectOpenHandles --forceExit",
"test:mongodb": "export DATABASE_URI=mongodb://user:pass@localhost:27017/llana && jest --bail --runInBand --detectOpenHandles --forceExit",
"test:mssql": "export DATABASE_URI=mssql://sa:S7!0nGpAw0rD@localhost:1433/llana && jest --bail --runInBand --detectOpenHandles --forceExit",
"seed:airtable": "ts-node ./demo/databases/airtable.ts"
},
"dependencies": {
"@nestjs/cache-manager": "^2.3.0",
"@nestjs/common": "^10.4.13",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.13",
"@nestjs/jwt": "^10.2.0",
"@nestjs/platform-express": "^10.4.15",
"@nestjs/platform-socket.io": "^10.4.13",
"@nestjs/schedule": "^4.1.1",
"@nestjs/websockets": "^10.4.13",
"@types/mssql": "^9.1.5",
"@types/pg": "^8.11.10",
"argon2": "^0.41.1",
"axios": "^1.7.9",
"bcrypt": "^5.1.1",
"cache-manager": "^5.7.6",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"escape-html": "^1.0.3",
"express-basic-auth": "^1.2.1",
"express-handlebars": "^8.0.1",
"hbs": "^4.2.0",
"ioredis": "^5.4.1",
"joi": "^17.13.3",
"jwt-simple": "^0.5.6",
"lodash": "^4.17.21",
"mongodb": "^6.11.0",
"mssql": "^11.0.1",
"mysql2": "^3.11.5",
"openapi-types": "^12.1.3",
"pg": "^8.13.1",
"pg-promise": "^11.10.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"socket.io": "^4.8.1",
"sqlstring": "^2.3.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.16.0",
"@faker-js/faker": "^9.3.0",
"@nestjs/cli": "^10.4.8",
"@nestjs/schematics": "^10.2.3",
"@nestjs/testing": "^10.4.13",
"@swc/cli": "^0.5.2",
"@swc/core": "^1.10.4",
"@types/bcrypt": "^5.0.2",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.1",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.13.0",
"jest": "^29.7.0",
"prettier": "^3.4.2",
"socket.io-client": "^4.8.1",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.2",
"webpack": "^5.97.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"testTimeout": 20000,
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/$1"
}
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 4,
"useTabs": true,
"semi": false,
"printWidth": 120,
"arrowParens": "avoid",
"bracketSpacing": true,
"bracketSameLine": true
}
}