UNPKG

@amadeus-it-group/kassette

Version:

Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks.

103 lines (102 loc) 2.82 kB
{ "name": "@amadeus-it-group/kassette", "version": "1.7.6", "description": "Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks.", "scripts": { "prepare": "husky && npm run build && npm run apidoc", "lint": "eslint .", "format:check": "prettier --check .", "format:fix": "prettier --write .", "test": "npm run ut", "ut": "jest", "ut:watch": "jest --watch", "ut:coverage": "jest --coverage", "build": "rimraf ./dist ./build && rollup --failAfterWarnings -c ./packages/rollup.config.js && tsc -p ./packages/tsconfig.dts.json", "build:coverage": "rimraf ./dist && rollup --failAfterWarnings -c ./packages/rollup.cov.config.js", "apidoc": "typedoc", "e2e": "npm run build && mocha packages/e2e/run.js", "e2e:coverage": "npm run build:coverage && nyc mocha packages/e2e/run.js" }, "license": "MIT", "main": "dist/index.js", "bin": "./bin/index.js", "keywords": [ "record", "replay", "test", "testing", "server", "mock", "mocking", "har", "http", "http2", "https", "proxy", "proxy-server", "http-proxy", "https-proxy", "man-in-the-middle", "mitm", "mock-server", "mocking-server", "local-mocks" ], "repository": { "type": "git", "url": "https://github.com/AmadeusITGroup/kassette" }, "engines": { "node": ">=10.0.0" }, "devDependencies": { "@babel/core": "^7.29.0", "@babel/plugin-syntax-decorators": "^7.28.6", "@babel/plugin-syntax-typescript": "^7.28.6", "@commitlint/cli": "^20.5.0", "@commitlint/config-conventional": "^20.5.0", "@eslint/js": "^10.0.1", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-typescript": "^12.3.0", "@types/jest": "^30.0.0", "@types/mime-types": "^3.0.1", "@types/node": "^25.6.0", "@types/node-forge": "^1.3.14", "@types/yargs": "^17.0.35", "babel-plugin-istanbul": "^8.0.0", "chai": "^6.2.2", "eslint": "^10.2.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jsdoc": "^62.9.0", "husky": "^9.1.7", "jest": "^30.3.0", "memfs": "^4.57.1", "mocha": "^11.7.5", "nyc": "^18.0.0", "playwright": "^1.59.1", "prettier": "^3.8.3", "rimraf": "^6.1.3", "rollup": "^4.60.1", "ts-jest": "^29.4.9", "ts-node": "^10.9.2", "typedoc": "^0.28.19", "typescript": "^6.0.2", "typescript-eslint": "^8.58.2" }, "dependencies": { "date-fns": "^4.1.0", "http2-wrapper": "^2.2.1", "interpret": "^3.1.1", "istextorbinary": "^9.5.0", "mime-types": "^3.0.2", "node-forge": "^1.4.0", "picocolors": "^1.1.1", "rechoir": "^0.8.0", "yaml": "^2.8.3", "yargs": "^18.0.0" }, "files": [ "dist", "bin" ] }