2022-07-06 09:02:36 +00:00
|
|
|
{
|
2022-08-09 15:28:26 +00:00
|
|
|
"name": "api",
|
2022-07-06 09:02:36 +00:00
|
|
|
"description": "Coolify's Fastify API",
|
2022-08-10 08:54:26 +00:00
|
|
|
"license": "Apache-2.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"scripts": {
|
2022-10-26 13:50:10 +00:00
|
|
|
"db:generate": "prisma generate",
|
2022-07-06 09:02:36 +00:00
|
|
|
"db:push": "prisma db push && prisma generate",
|
|
|
|
"db:seed": "prisma db seed",
|
|
|
|
"db:studio": "prisma studio",
|
2022-07-08 14:51:58 +00:00
|
|
|
"db:migrate": "COOLIFY_DATABASE_URL=file:../db/migration.db prisma migrate dev --skip-seed --name",
|
2022-07-06 09:02:36 +00:00
|
|
|
"dev": "nodemon",
|
2022-11-29 08:43:28 +00:00
|
|
|
"build": "rimraf build && esbuild `find src \\( -name '*.ts' \\)| grep -v client/` --platform=node --outdir=build --format=cjs",
|
2022-07-06 09:02:36 +00:00
|
|
|
"format": "prettier --write 'src/**/*.{js,ts,json,md}'",
|
|
|
|
"lint": "prettier --check 'src/**/*.{js,ts,json,md}' && eslint --ignore-path .eslintignore .",
|
2022-10-05 06:58:14 +00:00
|
|
|
"start": "NODE_ENV=production pnpm prisma migrate deploy && pnpm prisma generate && pnpm prisma db seed && node index.js"
|
2022-07-06 09:02:36 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@breejs/ts-worker": "2.0.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"@fastify/autoload": "5.5.0",
|
2022-10-02 08:43:36 +00:00
|
|
|
"@fastify/cookie": "8.3.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"@fastify/cors": "8.2.0",
|
2022-08-10 08:54:26 +00:00
|
|
|
"@fastify/env": "4.1.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"@fastify/jwt": "6.3.3",
|
2022-10-26 13:50:10 +00:00
|
|
|
"@fastify/multipart": "7.3.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"@fastify/static": "6.5.1",
|
2022-07-06 09:02:36 +00:00
|
|
|
"@iarna/toml": "2.2.5",
|
2022-08-26 06:29:06 +00:00
|
|
|
"@ladjs/graceful": "3.0.2",
|
2022-11-22 09:55:52 +00:00
|
|
|
"@prisma/client": "4.6.1",
|
2022-11-28 12:55:49 +00:00
|
|
|
"@sentry/node": "7.21.1",
|
|
|
|
"@sentry/tracing": "7.21.1",
|
|
|
|
"axe": "11.0.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"bcryptjs": "2.4.3",
|
2022-08-10 08:54:26 +00:00
|
|
|
"bree": "9.1.2",
|
2022-11-22 09:55:52 +00:00
|
|
|
"cabin": "11.0.1",
|
2022-08-29 13:29:00 +00:00
|
|
|
"compare-versions": "5.0.1",
|
2022-11-22 09:55:52 +00:00
|
|
|
"csv-parse": "5.3.2",
|
2022-10-12 19:57:32 +00:00
|
|
|
"csvtojson": "2.0.10",
|
2022-07-06 09:02:36 +00:00
|
|
|
"cuid": "2.1.8",
|
2022-10-26 13:50:10 +00:00
|
|
|
"dayjs": "1.11.6",
|
2022-08-23 06:49:41 +00:00
|
|
|
"dockerode": "3.3.4",
|
2022-07-06 09:02:36 +00:00
|
|
|
"dotenv-extended": "2.9.0",
|
2022-08-23 09:29:25 +00:00
|
|
|
"execa": "6.1.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"fastify": "4.10.2",
|
2022-10-26 13:50:10 +00:00
|
|
|
"fastify-plugin": "4.3.0",
|
2022-11-02 08:49:21 +00:00
|
|
|
"fastify-socket.io": "4.0.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"generate-password": "1.7.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"got": "12.5.3",
|
2022-07-26 12:59:06 +00:00
|
|
|
"is-ip": "5.0.0",
|
2022-07-22 12:01:07 +00:00
|
|
|
"is-port-reachable": "4.0.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"js-yaml": "4.1.0",
|
|
|
|
"jsonwebtoken": "8.5.1",
|
2022-12-06 09:27:51 +00:00
|
|
|
"minimist": "^1.2.7",
|
2022-07-06 09:02:36 +00:00
|
|
|
"node-forge": "1.3.1",
|
|
|
|
"node-os-utils": "1.3.7",
|
2022-08-25 08:04:46 +00:00
|
|
|
"p-all": "4.0.0",
|
2022-08-25 12:49:09 +00:00
|
|
|
"p-throttle": "5.0.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"prisma": "4.6.1",
|
2022-07-22 20:23:16 +00:00
|
|
|
"public-ip": "6.0.1",
|
2022-11-02 08:49:21 +00:00
|
|
|
"pump": "3.0.0",
|
2022-12-06 09:27:51 +00:00
|
|
|
"shell-quote": "^1.7.4",
|
2022-11-02 08:49:21 +00:00
|
|
|
"socket.io": "4.5.3",
|
2022-07-18 14:02:53 +00:00
|
|
|
"ssh-config": "4.1.6",
|
2022-07-06 09:02:36 +00:00
|
|
|
"strip-ansi": "7.0.1",
|
|
|
|
"unique-names-generator": "4.7.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-11-22 09:55:52 +00:00
|
|
|
"@types/node": "18.11.9",
|
2022-07-06 09:02:36 +00:00
|
|
|
"@types/node-os-utils": "1.3.0",
|
2022-11-22 09:55:52 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.44.0",
|
|
|
|
"@typescript-eslint/parser": "5.44.0",
|
|
|
|
"esbuild": "0.15.15",
|
|
|
|
"eslint": "8.28.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-10-02 08:43:36 +00:00
|
|
|
"nodemon": "2.0.20",
|
2022-07-06 09:02:36 +00:00
|
|
|
"prettier": "2.7.1",
|
|
|
|
"rimraf": "3.0.2",
|
2022-08-10 08:54:26 +00:00
|
|
|
"tsconfig-paths": "4.1.0",
|
2022-11-02 08:49:21 +00:00
|
|
|
"types-fastify-socket.io": "0.0.1",
|
2022-11-22 09:55:52 +00:00
|
|
|
"typescript": "4.9.3"
|
2022-07-06 09:02:36 +00:00
|
|
|
},
|
|
|
|
"prisma": {
|
|
|
|
"seed": "node prisma/seed.js"
|
|
|
|
}
|
|
|
|
}
|