UNPKG

@stuntman/server

Version:

Stuntman - HTTP proxy / mock server with API

87 lines 2.37 kB
{ "name": "@stuntman/server", "version": "1.0.0", "description": "Stuntman - HTTP proxy / mock server with API", "main": "dist/index.js", "type": "module", "repository": { "type": "git", "url": "https://github.com/andrzej-woof/stuntman.git" }, "homepage": "https://github.com/andrzej-woof/stuntman#readme", "bugs": { "url": "https://github.com/andrzej-woof/stuntman/issues" }, "keywords": [ "proxy", "mock", "http", "https", "server", "api", "e2e", "development", "rest", "gql", "end-to-end", "testing", "qa", "automated-testing", "stub", "functional" ], "author": "Andrzej Pasterczyk", "license": "MIT", "dependencies": { "@stuntman/shared": "^1.0.0", "async-await-mutex-lock": "^1.0.12", "express": "5.1.0", "glob": "11.0.1", "lru-cache": "11.1.0", "object-sizeof": "2.6.5", "pug": "3.0.3", "serialize-javascript": "6.0.2", "ts-import": "5.0.0-beta.1", "ts-jest": "^29.3.1", "undici": "7.7.0", "uuid": "11.1.0" }, "devDependencies": { "@jest-mock/express": "^3.0.0", "@jest/globals": "29.7.0", "@prettier/plugin-pug": "3.3.0", "@types/express": "5.0.1", "@types/glob": "8.1.0", "@types/jest": "^29.5.14", "@types/serialize-javascript": "5.0.4", "@types/uuid": "10.0.0", "jest": "29.7.0", "prettier": "3.5.3", "typescript": "5.8.2" }, "bin": { "stuntman": "./dist/bin/stuntman.js" }, "files": [ "src/**", "dist/**", "README.md", "LICENSE", "CHANGELOG.md" ], "overrides": { "ts-import": { "typescript": "5.4.3" } }, "scripts": { "test": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test LOG_LEVEL=silent NODE_CONFIG_STRICT_MODE= SUPPRESS_NO_CONFIG_WARNING=1 jest --coverage", "clean": "rm -fr dist", "build": "tsc && tsc-alias && cp -rv src/api/webgui dist/api", "lint": "prettier --check \"./{src,test}/**/*\" && eslint \"./{src,test}/**/*\"", "lint:fix": "prettier --write \"./{src,test}/**/*\" && eslint \"./{src,test}/**/*\" --fix", "start": "node ./dist/bin/stuntman.js", "start:dev": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' ./src/bin/stuntman.ts", "start:debug": "node --inspect-brk=0.0.0.0 ./node_modules/.bin/ts-node --transpile-only ./src/bin/stuntman.ts" } }