qiwi/qorsproxy

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@qiwi/qorsproxy",
  "alias": "qorsproxy",
  "version": "4.1.1",
  "publishConfig": {
    "access": "public"
  },
  "description": "HTTP(S) proxy for dev purposes",
  "type": "module",
  "types": "./src/main/js/index.d.ts",
  "exports": {
    ".": {
      "types": "./src/main/js/index.d.ts",
      "import": "./src/main/js/index.js"
    }
  },
  "bin": "src/main/js/cli.js",
  "scripts": {
    "start:pm2": "pm2 start npm --name qorsproxy -- start",
    "start": "node --use_strict src/main/js/cli.js",
    "start:bun": "bun src/main/js/cli.js",
    "build": "yarn build:docs",
    "build:docs": "mkdir -p docs && cp -r README.md docs/README.md",
    "test": "concurrently -m 2 --kill-others-on-fail 'npm:test:*'",
    "test:unit": "mkdir -p .nyc_output && c8 mocha './src/test/js/**/*.test.js' && c8 report -r lcov",
    "test:lint": "eslint -c .eslintrc.json src/**/*.js",
    "test:depcheck": "npm_config_yes=true npx depcheck --ignores mocha-*",
    "test:depaudit": "yarn npm audit --environment production --severity=moderate",
    "lint:fix": "yarn lint -- --fix",
    "publish:beta": "npm publish --no-git-tag-version --tag beta",
    "publish:rc": "npm publish --no-git-tag-version --tag rc"
  },
  "dependencies": {
    "@qiwi/health-indicator": "^2.0.4",
    "@qiwi/primitive-storage": "^2.0.1",
    "basic-auth": "^2.0.1",
    "express": "^4.21.1",
    "http-status-codes": "^2.3.0",
    "js-yaml": "^4.1.0",
    "jsonschema": "^1.4.1",
    "lodash-es": "^4.17.21",
    "meow": "^12.1.1",
    "undici": "^5.28.4",
    "winston": "^3.15.0",
    "winston-daily-rotate-file": "^5.0.0"
  },
  "license": "MIT",
  "files": [
    "src/main",
    "example",
    "ssl"
  ],
  "devDependencies": {
    "c8": "^10.1.2",
    "chai": "^4.5.0",
    "chai-subset": "^1.6.0",
    "concurrently": "^9.0.1",
    "dirty-chai": "^2.0.1",
    "eslint": "^8.57.0",
    "eslint-config-qiwi": "^2.1.3",
    "formdata-polyfill": "^4.0.10",
    "mocha": "^10.7.3",
    "mocha-lcov-reporter": "^1.3.0",
    "mocha-sinon": "^2.1.2",
    "node-fetch-native": "^1.6.4",
    "reqresnext": "^1.7.0",
    "sinon": "^19.0.2",
    "sinon-chai": "^4.0.0",
    "tempy": "^3.1.0"
  },
  "keywords": [
    "cors",
    "corsproxy",
    "qors",
    "qorsproxy"
  ],
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/qiwi/qorsproxy.git"
  },
  "author": "Anton Golub <a.golub@qiwi.com>",
  "engines": {
    "node": ">=16",
    "npm": ">=5.6"
  },
  "packageManager": "yarn@4.5.1"
}