mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
98 lines
3.6 KiB
JSON
98 lines
3.6 KiB
JSON
{
|
|
"name": "backend-pg",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"dev": "tsx watch --clear-screen=false ./src/main.ts | pino-pretty --colorize --colorizeObjects --singleLine",
|
|
"dev:docker": "nodemon",
|
|
"build": "rimraf dist && tsup src --out-dir dist --loader '.handlebars=copy' --loader '.md=copy'",
|
|
"start": "node dist/server/app.js",
|
|
"type:check": "tsc --noEmit",
|
|
"lint:fix": "eslint --fix --ext js,ts ./src",
|
|
"lint": "eslint 'src/**/*.ts'",
|
|
"test:e2e": "vitest run -c vitest.e2e.config.ts",
|
|
"test:e2e-watch": "vitest -c vitest.e2e.config.ts",
|
|
"test:e2e-coverage": "vitest run --coverage -c vitest.e2e.config.ts",
|
|
"generate:component": "tsx ./scripts/create-backend-file.ts",
|
|
"generate:schema": "tsx ./scripts/generate-schema-types.ts",
|
|
"migration:new": "tsx ./scripts/create-migration.ts",
|
|
"migration:up": "knex --knexfile ./src/db/knexfile.ts --client pg migrate:up",
|
|
"migration:down": "knex --knexfile ./src/db/knexfile.ts --client pg migrate:down",
|
|
"migration:list": "knex --knexfile ./src/db/knexfile.ts --client pg migrate:list",
|
|
"migration:latest": "knex --knexfile ./src/db/knexfile.ts --client pg migrate:latest",
|
|
"migration:rollback": "knex --knexfile ./src/db/knexfile.ts migrate:rollback",
|
|
"seed:new": "tsx ./scripts/create-seed-file.ts",
|
|
"seed:run": "knex --knexfile ./src/db/knexfile.ts --client pg seed:run",
|
|
"db:reset": "npm run migration:rollback -- --all && npm run migration:latest && npm run seed:run"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/jsrp": "^0.2.6",
|
|
"@types/node": "^20.9.5",
|
|
"@types/nodemailer": "^6.4.14",
|
|
"@types/passport-github": "^1.1.12",
|
|
"@types/passport-google-oauth20": "^2.0.14",
|
|
"@types/pg": "^8.10.9",
|
|
"@types/picomatch": "^2.3.3",
|
|
"@types/prompt-sync": "^4.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
"@typescript-eslint/parser": "^6.13.2",
|
|
"eslint": "^8.55.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"nodemon": "^3.0.2",
|
|
"pino-pretty": "^10.2.3",
|
|
"prompt-sync": "^4.2.0",
|
|
"rimraf": "^5.0.5",
|
|
"ts-node": "^10.9.1",
|
|
"tsup": "^8.0.1",
|
|
"tsx": "^4.4.0",
|
|
"typescript": "^5.3.2",
|
|
"vite-tsconfig-paths": "^4.2.2",
|
|
"vitest": "^1.0.4"
|
|
},
|
|
"dependencies": {
|
|
"@casl/ability": "^6.5.0",
|
|
"@fastify/cookie": "^9.2.0",
|
|
"@fastify/cors": "^8.4.1",
|
|
"@fastify/helmet": "^11.1.1",
|
|
"@fastify/passport": "^2.4.0",
|
|
"@fastify/rate-limit": "^9.0.0",
|
|
"@fastify/session": "^10.7.0",
|
|
"@fastify/swagger": "^8.12.0",
|
|
"@fastify/swagger-ui": "^1.10.1",
|
|
"@ucast/mongo2js": "^1.3.4",
|
|
"axios": "^1.6.2",
|
|
"axios-retry": "^4.0.0",
|
|
"bcrypt": "^5.1.1",
|
|
"dotenv": "^16.3.1",
|
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
"fastify": "^4.24.3",
|
|
"fastify-plugin": "^4.5.1",
|
|
"handlebars": "^4.7.8",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"jsrp": "^0.2.4",
|
|
"knex": "^3.0.1",
|
|
"nodemailer": "^6.9.7",
|
|
"ora": "^7.0.1",
|
|
"passport-github": "^1.1.0",
|
|
"passport-gitlab2": "^5.0.0",
|
|
"passport-google-oauth20": "^2.0.0",
|
|
"pg": "^8.11.3",
|
|
"picomatch": "^3.0.1",
|
|
"pino": "^8.16.2",
|
|
"zod": "^3.22.4",
|
|
"zod-to-json-schema": "^3.22.0"
|
|
}
|
|
}
|