2022-07-06 09:02:36 +00:00
|
|
|
{
|
|
|
|
"name": "coolify-api",
|
|
|
|
"description": "Coolify's Fastify API",
|
|
|
|
"license": "AGPL-3.0",
|
|
|
|
"scripts": {
|
|
|
|
"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",
|
|
|
|
"build": "rimraf build && esbuild `find src \\( -name '*.ts' \\)| grep -v client/` --platform=node --outdir=build --format=cjs",
|
|
|
|
"format": "prettier --write 'src/**/*.{js,ts,json,md}'",
|
|
|
|
"lint": "prettier --check 'src/**/*.{js,ts,json,md}' && eslint --ignore-path .eslintignore .",
|
|
|
|
"start": "NODE_ENV=production npx -y prisma migrate deploy && npx prisma generate && npx prisma db seed && node index.js"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@breejs/ts-worker": "2.0.0",
|
2022-07-15 13:40:26 +00:00
|
|
|
"@fastify/autoload": "5.1.0",
|
2022-07-18 14:02:53 +00:00
|
|
|
"@fastify/cookie": "7.2.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"@fastify/cors": "8.0.0",
|
|
|
|
"@fastify/env": "4.0.0",
|
2022-07-15 13:40:26 +00:00
|
|
|
"@fastify/jwt": "6.3.1",
|
2022-07-06 09:02:36 +00:00
|
|
|
"@fastify/static": "6.4.0",
|
|
|
|
"@iarna/toml": "2.2.5",
|
|
|
|
"@prisma/client": "3.15.2",
|
|
|
|
"axios": "0.27.2",
|
|
|
|
"bcryptjs": "2.4.3",
|
|
|
|
"bree": "9.1.1",
|
|
|
|
"cabin": "9.1.2",
|
|
|
|
"compare-versions": "4.1.3",
|
|
|
|
"cuid": "2.1.8",
|
|
|
|
"dayjs": "1.11.3",
|
|
|
|
"dockerode": "3.3.2",
|
|
|
|
"dotenv-extended": "2.9.0",
|
2022-07-15 13:40:26 +00:00
|
|
|
"fastify": "4.2.1",
|
|
|
|
"fastify-plugin": "4.0.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"generate-password": "1.7.0",
|
|
|
|
"get-port": "6.1.2",
|
|
|
|
"got": "12.1.0",
|
|
|
|
"is-ip": "4.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",
|
|
|
|
"node-forge": "1.3.1",
|
|
|
|
"node-os-utils": "1.3.7",
|
|
|
|
"p-queue": "7.2.0",
|
2022-07-22 20:23:16 +00:00
|
|
|
"public-ip": "6.0.1",
|
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-07-18 14:02:53 +00:00
|
|
|
"@types/node": "18.0.6",
|
2022-07-06 09:02:36 +00:00
|
|
|
"@types/node-os-utils": "1.3.0",
|
2022-07-15 13:40:26 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.30.6",
|
|
|
|
"@typescript-eslint/parser": "5.30.6",
|
2022-07-15 12:31:54 +00:00
|
|
|
"esbuild": "0.14.49",
|
2022-07-18 14:02:53 +00:00
|
|
|
"eslint": "8.20.0",
|
2022-07-06 09:02:36 +00:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
|
|
|
"nodemon": "2.0.19",
|
|
|
|
"prettier": "2.7.1",
|
|
|
|
"prisma": "3.15.2",
|
|
|
|
"rimraf": "3.0.2",
|
|
|
|
"tsconfig-paths": "4.0.0",
|
|
|
|
"typescript": "4.7.4"
|
|
|
|
},
|
|
|
|
"prisma": {
|
|
|
|
"seed": "node prisma/seed.js"
|
|
|
|
}
|
|
|
|
}
|