{ "name": "encryption-service", "version": "2.0.0", "description": "CoreState encryption service for secure data handling", "main": "dist/index.js", "engines": { "node": ">=18.0.0", "npm": ">=8.0.0" }, "scripts": { "build": "tsc", "start": "node dist/index.js", "dev": "ts-node-dev --respawn --transpile-only src/index.ts", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "type-check": "tsc --noEmit", "clean": "rm -rf dist", "docker:build": "docker build -t encryption-service .", "prestart": "npm run build" }, "dependencies": { "express": "^4.18.2", "helmet": "^7.1.0", "cors": "^2.8.5", "compression": "^1.7.4", "winston": "^3.11.0", "uuid": "^9.0.1", "dotenv": "^16.3.1", "bcrypt": "^5.1.1", "jsonwebtoken": "^9.0.2", "joi": "^17.11.0", "rate-limiter-flexible": "^4.0.1" }, "devDependencies": { "typescript": "^5.2.2", "ts-node-dev": "^2.0.0", "@types/node": "^20.8.6", "@types/express": "^4.17.20", "@types/uuid": "^9.0.6", "@types/cors": "^2.8.15", "@types/compression": "^1.7.4", "@types/bcrypt": "^5.0.1", "@types/jsonwebtoken": "^9.0.4", "jest": "^29.7.0", "@types/jest": "^29.5.6", "ts-jest": "^29.1.1", "eslint": "^8.52.0", "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "^6.9.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "prettier": "^3.0.3", "nodemon": "^3.0.1", "supertest": "^6.3.3", "@types/supertest": "^2.0.15" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "roots": ["/src"], "testMatch": ["**/__tests__/**/*.ts", "**/?(*.)+(spec|test).ts"], "collectCoverageFrom": [ "src/**/*.ts", "!src/**/*.d.ts", "!src/**/*.test.ts", "!src/**/*.spec.ts" ] }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": ["@typescript-eslint"], "extends": [ "eslint:recommended", "@typescript-eslint/recommended", "prettier" ], "rules": { "@typescript-eslint/no-unused-vars": "error", "@typescript-eslint/explicit-function-return-type": "warn", "no-console": "warn" } }, "prettier": { "semi": true, "trailingComma": "es5", "singleQuote": true, "printWidth": 80, "tabWidth": 2 }, "keywords": [ "encryption", "security", "backup", "cryptography", "aes", "data-protection" ], "author": "CoreState Team", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/corestate/CoreState-v2.git", "directory": "services/encryption-service" } }