UNPKG

@serenity-js/rest

Version:

Serenity/JS Screenplay Pattern library for interacting with REST and other HTTP-based services, supporting comprehensive API testing and blended testing scenarios

99 lines (98 loc) 2.82 kB
{ "name": "@serenity-js/rest", "version": "3.44.3", "description": "Serenity/JS Screenplay Pattern library for interacting with REST and other HTTP-based services, supporting comprehensive API testing and blended testing scenarios", "author": { "name": "Jan Molak", "email": "jan.molak@smartcodeltd.co.uk", "url": "https://janmolak.com" }, "funding": { "url": "https://github.com/sponsors/serenity-js" }, "homepage": "https://serenity-js.org", "license": "Apache-2.0", "publishConfig": { "access": "public", "provenance": true }, "main": "./lib/index.js", "types": "./lib/index.d.ts", "type": "module", "module": "./esm/index.js", "exports": { ".": { "import": { "types": "./esm/index.d.ts", "default": "./esm/index.js" }, "require": { "types": "./lib/index.d.ts", "default": "./lib/index.js" } }, "./lib/*.js": "./lib/*.js", "./lib/*": "./lib/*", "./esm/*.js": "./esm/*.js", "./esm/*": "./esm/*.js", "./package.json": "./package.json" }, "keywords": [ "automation", "integration", "serenity", "serenity-js", "screenplay", "screenplay-pattern", "http", "rest", "axios", "tdd", "bdd", "test", "testing" ], "scripts": { "clean": "rimraf target", "test": "c8 npm run test:no-coverage", "test:no-coverage": "mocha --config .mocharc.yml --spec='spec/**/*.spec.*'", "compile": "npm run compile:clean && npm run compile:esm && npm run compile:cjs-package && npm run compile:cjs", "compile:clean": "rimraf lib esm", "compile:esm": "tsc --project tsconfig-esm.build.json", "compile:cjs-package": "node -e \"require('fs').mkdirSync('lib', { recursive: true }); require('fs').writeFileSync('lib/package.json', '{ \\\"type\\\": \\\"commonjs\\\" }')\"", "compile:cjs": "tsc --project tsconfig-cjs.build.json" }, "repository": { "type": "git", "url": "https://github.com/serenity-js/serenity-js.git", "directory": "packages/rest" }, "bugs": { "url": "https://github.com/serenity-js/serenity-js/issues" }, "engines": { "node": "^22.22.2 || ^24.15.0" }, "dependencies": { "@serenity-js/core": "3.44.3", "agent-base": "7.1.4", "axios": "1.19.0", "http-proxy-agent": "7.0.2", "https-proxy-agent": "7.0.6", "lru-cache": "11.5.2", "tiny-types": "2.0.5" }, "devDependencies": { "@integration/testing-tools": "3.0.0", "@serenity-js/assertions": "3.44.3", "@types/chai": "4.3.20", "@types/mocha": "10.0.10", "axios-mock-adapter": "2.1.0", "c8": "12.0.0", "mocha": "11.8.0", "mocha-multi": "1.1.7", "tsx": "4.23.5", "typescript": "5.9.3" }, "gitHead": "40043c9515639420b18e7d054f6e8319682ba09f" }