{
  "name": "@adaptivestone/framework",
  "version": "5.7.0",
  "description": "Adaptive stone node js framework",
  "type": "module",
  "engines": {
    "node": ">=24.0.0",
    "bun": ">=1.4.0"
  },
  "exports": {
    "./package.json": "./package.json",
    "./server.js": "./dist/server.js",
    "./Cli.js": "./dist/Cli.js",
    "./cluster.js": "./dist/cluster.js",
    "./types.js": "./dist/types.js",
    "./folderConfig.js": "./dist/folderConfig.js",
    "./config/*": "./dist/config/*",
    "./modules/*": "./dist/modules/*",
    "./models/*": "./dist/models/*",
    "./helpers/*": "./dist/helpers/*",
    "./services/*": "./dist/services/*",
    "./controllers/*": "./dist/controllers/*",
    "./tests/*": "./dist/tests/*",
    "./migrations/*": "./dist/migrations/*"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/adaptivestone/framework.git"
  },
  "homepage": "https://framework.adaptivestone.com/",
  "scripts": {
    "build": "rm -rf dist && tsc",
    "postbuild": "cp -R ./src/migrations ./dist/migrations && cp -R ./src/locales ./dist/locales && cp -R ./src/services/messaging/email/resources ./dist/services/messaging/email/resources",
    "check:types": "npm run gen && tsc --noEmit",
    "check:types:raw": "tsc --noEmit",
    "check:types:fast": "npm run gen && tsc --noEmit",
    "check:types:tests": "npm run gen && tsc --noEmit -p tsconfig.tests.json",
    "dev": "node --watch ./src/index.ts",
    "prod": "node ./src/cluster.ts",
    "test": "npm run test:coverage",
    "t": "node --experimental-test-module-mocks --test --import=./src/tests/setupNodeTest.ts --import=./src/tests/frameworkNodeTestSetup.ts --test-global-setup=./src/tests/globalSetupNodeTest.ts --test-timeout=10000 'src/**/*.test.ts' 'src/**/*.node-test.ts'",
    "test:node": "npm run t",
    "test:bun": "./scripts/bun-test.sh",
    "test:coverage": "mkdir -p coverage && node --experimental-test-module-mocks --experimental-test-coverage --test --import=./src/tests/setupNodeTest.ts --import=./src/tests/frameworkNodeTestSetup.ts --test-global-setup=./src/tests/globalSetupNodeTest.ts --test-timeout=10000 --test-coverage-exclude='src/tests/**' --test-coverage-exclude='**/*.test.ts' --test-coverage-exclude='**/*.node-test.ts' --test-reporter=spec --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=coverage/junit.rspec.xml --test-reporter=lcov --test-reporter-destination=coverage/lcov.info 'src/**/*.test.ts' 'src/**/*.node-test.ts'",
    "format": "biome format",
    "format:fix": "biome format --write",
    "lint": "biome lint",
    "lint:fix": "biome lint --write",
    "check": "biome check",
    "check:fix": "biome check --write",
    "prepublishOnly": "npm run gen && npm run build",
    "smoke": "./scripts/packaging-smoke-test.sh",
    "smoke:bun": "./scripts/bun-packaging-smoke-test.sh",
    "cli": "node cliCommand.ts",
    "gen": "node cliCommand.ts generatetypes",
    "openapi": "node cliCommand.ts openapi",
    "routes": "node cliCommand.ts routes",
    "dev:bench:realistic": "node ./benchmark/fixtures/realistic.ts",
    "benchmark:plaintext": "h2load -n 10000 -c 50 -p 'http/1.1' http://localhost:3300/bench/plaintext",
    "benchmark:realistic": "h2load -n 10000 -c 50 -p 'http/1.1' 'http://localhost:3300/bench/echo?name=Alice'",
    "redis:docker": "docker run --rm  -p 6379:6379 redis"
  },
  "author": "Andrei Lahunou",
  "license": "MIT",
  "dependencies": {
    "deepmerge": "^4.2.2",
    "express": "^5.0.1",
    "formidable": "^3.5.1",
    "mongoose": "^9.9.1",
    "rate-limiter-flexible": "^11.0.0",
    "winston": "^3.3.3",
    "winston-transport": "^4.9.0"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.0.6",
    "@redis/client": "^6.0.0",
    "@sentry/core": "^11.2.0",
    "@sentry/node": "^11.2.0",
    "@types/express": "^5.0.1",
    "@types/formidable": "^3.4.5",
    "@types/node": "^26.0.0",
    "i18next": "^27.1.1",
    "i18next-fs-backend": "^2.0.0",
    "lefthook": "^2.0.0",
    "mongodb-memory-server": "^11.0.0",
    "oxc-parser": "^0.159.0",
    "typescript": "^7.0.2",
    "vitest": "^5.0.3",
    "yup": "^1.7.0",
    "zod": "^4.0.0"
  },
  "peerDependencies": {
    "@adaptivestone/framework-module-email": "^2.1.0",
    "@redis/client": "^6.0.0",
    "@sentry/core": "^10.34.0 || ^11.0.0",
    "@sentry/node": "^10.34.0 || ^11.0.0",
    "i18next": "^26.0.1 || ^27.0.0",
    "i18next-fs-backend": "^2.0.0",
    "mongodb-memory-server": "^11.0.0",
    "oxc-parser": ">=0.156.0 <1",
    "vitest": "^4.0.0 || ^5.0.0",
    "yup": "^1.7.0",
    "zod": "^3.24.0 || ^4.0.0"
  },
  "peerDependenciesMeta": {
    "@adaptivestone/framework-module-email": {
      "optional": true
    },
    "@redis/client": {
      "optional": true
    },
    "@sentry/core": {
      "optional": true
    },
    "@sentry/node": {
      "optional": true
    },
    "i18next": {
      "optional": true
    },
    "i18next-fs-backend": {
      "optional": true
    },
    "mongodb-memory-server": {
      "optional": true
    },
    "oxc-parser": {
      "optional": true
    },
    "vitest": {
      "optional": true
    },
    "yup": {
      "optional": true
    },
    "zod": {
      "optional": true
    }
  }
}
