mirror of
https://github.com/Infisical/infisical.git
synced 2025-08-05 07:30:33 +00:00
requested changes temp: team debugging Revert "temp: team debugging" This reverts commit 6533d731f829d79f41bf2f7209e3a636553792b1. feat: hsm support Update hsm-service.ts feat: hsm support
210 lines
8.2 KiB
JSON
210 lines
8.2 KiB
JSON
{
|
|
"name": "backend",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "./dist/main.mjs",
|
|
"bin": "dist/main.js",
|
|
"pkg": {
|
|
"scripts": [
|
|
"dist/**/*.js",
|
|
"../frontend/node_modules/next/**/*.js",
|
|
"../frontend/.next/*/**/*.js",
|
|
"../frontend/node_modules/next/dist/server/**/*.js",
|
|
"../frontend/node_modules/@fortawesome/fontawesome-svg-core/**/*.js"
|
|
],
|
|
"assets": [
|
|
"dist/**",
|
|
"!dist/**/*.js",
|
|
"node_modules/**",
|
|
"../frontend/node_modules/**",
|
|
"../frontend/.next/**",
|
|
"!../frontend/node_modules/next/dist/server/**/*.js",
|
|
"../frontend/node_modules/@fortawesome/fontawesome-svg-core/**/*",
|
|
"../frontend/public/**"
|
|
],
|
|
"outputPath": "binary"
|
|
},
|
|
"scripts": {
|
|
"binary:build": "npm run binary:clean && npm run build:frontend && npm run build && npm run binary:babel-frontend && npm run binary:babel-backend && npm run binary:rename-imports",
|
|
"binary:package": "pkg --no-bytecode --public-packages \"*\" --public --target host .",
|
|
"binary:babel-backend": " babel ./dist -d ./dist",
|
|
"binary:babel-frontend": "babel --copy-files ../frontend/.next/server -d ../frontend/.next/server",
|
|
"binary:clean": "rm -rf ./dist && rm -rf ./binary",
|
|
"binary:rename-imports": "ts-node ./scripts/rename-mjs.ts",
|
|
"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": "tsup --sourcemap",
|
|
"build:frontend": "npm run build --prefix ../frontend",
|
|
"start": "node --enable-source-maps dist/main.mjs",
|
|
"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 --bail=1",
|
|
"test:e2e-watch": "vitest -c vitest.e2e.config.ts --bail=1",
|
|
"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 && eslint --fix --ext ts ./src/db/schemas",
|
|
"auditlog-migration:latest": "knex --knexfile ./src/db/auditlog-knexfile.ts --client pg migrate:latest",
|
|
"auditlog-migration:up": "knex --knexfile ./src/db/auditlog-knexfile.ts --client pg migrate:up",
|
|
"auditlog-migration:down": "knex --knexfile ./src/db/auditlog-knexfile.ts --client pg migrate:down",
|
|
"auditlog-migration:list": "knex --knexfile ./src/db/auditlog-knexfile.ts --client pg migrate:list",
|
|
"auditlog-migration:status": "knex --knexfile ./src/db/auditlog-knexfile.ts --client pg migrate:status",
|
|
"auditlog-migration:rollback": "knex --knexfile ./src/db/auditlog-knexfile.ts migrate:rollback",
|
|
"migration:new": "tsx ./scripts/create-migration.ts",
|
|
"migration:up": "npm run auditlog-migration:up && knex --knexfile ./src/db/knexfile.ts --client pg migrate:up",
|
|
"migration:down": "npm run auditlog-migration:down && knex --knexfile ./src/db/knexfile.ts --client pg migrate:down",
|
|
"migration:list": "npm run auditlog-migration:list && knex --knexfile ./src/db/knexfile.ts --client pg migrate:list",
|
|
"migration:latest": "npm run auditlog-migration:latest && knex --knexfile ./src/db/knexfile.ts --client pg migrate:latest",
|
|
"migration:status": "npm run auditlog-migration:status && knex --knexfile ./src/db/knexfile.ts --client pg migrate:status",
|
|
"migration:rollback": "npm run auditlog-migration:rollback && knex --knexfile ./src/db/knexfile.ts migrate:rollback",
|
|
"migrate:org": "tsx ./scripts/migrate-organization.ts",
|
|
"seed:new": "tsx ./scripts/create-seed-file.ts",
|
|
"seed": "knex --knexfile ./src/db/knexfile.ts --client pg seed:run",
|
|
"db:reset": "npm run migration:rollback -- --all && npm run migration:latest"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.18.10",
|
|
"@babel/core": "^7.18.10",
|
|
"@babel/plugin-syntax-import-attributes": "^7.24.7",
|
|
"@babel/preset-env": "^7.18.10",
|
|
"@babel/preset-react": "^7.24.7",
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/jmespath": "^0.15.2",
|
|
"@types/jsonwebtoken": "^9.0.5",
|
|
"@types/jsrp": "^0.2.6",
|
|
"@types/libsodium-wrappers": "^0.7.13",
|
|
"@types/lodash.isequal": "^4.5.8",
|
|
"@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/pkcs11js": "^1.0.4",
|
|
"@types/prompt-sync": "^4.2.3",
|
|
"@types/resolve": "^1.20.6",
|
|
"@types/safe-regex": "^1.1.6",
|
|
"@types/sjcl": "^1.0.34",
|
|
"@types/uuid": "^9.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
"@typescript-eslint/parser": "^6.20.0",
|
|
"@yao-pkg/pkg": "^5.12.0",
|
|
"babel-plugin-transform-import-meta": "^2.2.1",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"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.2",
|
|
"tsc-alias": "^1.8.8",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"tsup": "^8.0.1",
|
|
"tsx": "^4.4.0",
|
|
"typescript": "^5.3.2",
|
|
"vitest": "^1.2.2"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-elasticache": "^3.637.0",
|
|
"@aws-sdk/client-iam": "^3.525.0",
|
|
"@aws-sdk/client-kms": "^3.609.0",
|
|
"@aws-sdk/client-secrets-manager": "^3.504.0",
|
|
"@aws-sdk/client-sts": "^3.600.0",
|
|
"@casl/ability": "^6.5.0",
|
|
"@elastic/elasticsearch": "^8.15.0",
|
|
"@fastify/cookie": "^9.3.1",
|
|
"@fastify/cors": "^8.5.0",
|
|
"@fastify/etag": "^5.1.0",
|
|
"@fastify/formbody": "^7.4.0",
|
|
"@fastify/helmet": "^11.1.1",
|
|
"@fastify/multipart": "8.3.0",
|
|
"@fastify/passport": "^2.4.0",
|
|
"@fastify/rate-limit": "^9.0.0",
|
|
"@fastify/session": "^10.7.0",
|
|
"@fastify/swagger": "^8.14.0",
|
|
"@fastify/swagger-ui": "^2.1.0",
|
|
"@node-saml/passport-saml": "^4.0.4",
|
|
"@octokit/auth-app": "^7.1.1",
|
|
"@octokit/plugin-retry": "^5.0.5",
|
|
"@octokit/rest": "^20.0.2",
|
|
"@octokit/webhooks-types": "^7.3.1",
|
|
"@peculiar/asn1-schema": "^2.3.8",
|
|
"@peculiar/x509": "^1.12.1",
|
|
"@serdnam/pino-cloudwatch-transport": "^1.0.4",
|
|
"@sindresorhus/slugify": "1.1.0",
|
|
"@slack/oauth": "^3.0.1",
|
|
"@slack/web-api": "^7.3.4",
|
|
"@team-plain/typescript-sdk": "^4.6.1",
|
|
"@ucast/mongo2js": "^1.3.4",
|
|
"ajv": "^8.12.0",
|
|
"argon2": "^0.31.2",
|
|
"aws-sdk": "^2.1553.0",
|
|
"axios": "^1.6.7",
|
|
"axios-retry": "^4.0.0",
|
|
"bcrypt": "^5.1.1",
|
|
"bullmq": "^5.4.2",
|
|
"cassandra-driver": "^4.7.2",
|
|
"connect-redis": "^7.1.1",
|
|
"cron": "^3.1.7",
|
|
"dotenv": "^16.4.1",
|
|
"fastify": "^4.28.1",
|
|
"fastify-plugin": "^4.5.1",
|
|
"google-auth-library": "^9.9.0",
|
|
"googleapis": "^137.1.0",
|
|
"handlebars": "^4.7.8",
|
|
"hdb": "^0.19.10",
|
|
"ioredis": "^5.3.2",
|
|
"jmespath": "^0.16.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"jsrp": "^0.2.4",
|
|
"jwks-rsa": "^3.1.0",
|
|
"knex": "^3.0.1",
|
|
"ldapjs": "^3.0.7",
|
|
"ldif": "0.5.1",
|
|
"libsodium-wrappers": "^0.7.13",
|
|
"lodash.isequal": "^4.5.0",
|
|
"mongodb": "^6.8.1",
|
|
"ms": "^2.1.3",
|
|
"mysql2": "^3.9.8",
|
|
"nanoid": "^3.3.4",
|
|
"nodemailer": "^6.9.9",
|
|
"openid-client": "^5.6.5",
|
|
"ora": "^7.0.1",
|
|
"oracledb": "^6.4.0",
|
|
"passport-github": "^1.1.0",
|
|
"passport-gitlab2": "^5.0.0",
|
|
"passport-google-oauth20": "^2.0.0",
|
|
"passport-ldapauth": "^3.0.1",
|
|
"pg": "^8.11.3",
|
|
"pg-query-stream": "^4.5.3",
|
|
"picomatch": "^3.0.1",
|
|
"pino": "^8.16.2",
|
|
"pkcs11js": "^2.1.6",
|
|
"pkijs": "^3.2.4",
|
|
"posthog-node": "^3.6.2",
|
|
"probot": "^13.3.8",
|
|
"safe-regex": "^2.1.1",
|
|
"scim-patch": "^0.8.3",
|
|
"scim2-parse-filter": "^0.2.10",
|
|
"sjcl": "^1.0.8",
|
|
"smee-client": "^2.0.0",
|
|
"snowflake-sdk": "^1.14.0",
|
|
"tedious": "^18.2.1",
|
|
"tweetnacl": "^1.0.3",
|
|
"tweetnacl-util": "^0.15.1",
|
|
"uuid": "^9.0.1",
|
|
"zod": "^3.22.4",
|
|
"zod-to-json-schema": "^3.22.4"
|
|
}
|
|
}
|