UNPKG

@mocks-server/core

Version:

Pluggable mock server supporting multiple route variants and mocks

69 lines 3.88 kB
{ "name": "@mocks-server/core", "version": "4.0.2", "description": "Pluggable mock server supporting multiple route variants and mocks", "keywords": [ "mocks", "server", "mock", "routes", "route variants", "api", "rest", "cli", "express", "testing", "development", "middleware", "pluggable", "plugins" ], "author": "Javier Brea", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/mocks-server/main.git", "directory": "packages/core" }, "homepage": "https://www.mocks-server.org", "publishConfig": { "access": "public" }, "files": [ "src", "index.js" ], "main": "index.js", "dependencies": { "@babel/core": "7.22.1", "@babel/register": "7.21.0", "@hapi/boom": "9.1.4", "@mocks-server/config": "1.4.1", "@mocks-server/logger": "1.1.2", "@mocks-server/nested-collections": "2.0.0", "ajv": "8.12.0", "better-ajv-errors": "1.2.0", "body-parser": "1.20.2", "cors": "2.8.5", "deepmerge": "4.3.1", "express": "4.18.2", "express-request-id": "1.4.1", "fs-extra": "10.1.0", "globule": "1.3.4", "handlebars": "4.7.7", "is-promise": "4.0.0", "lodash": "4.17.21", "node-watch": "0.7.3", "update-notifier": "5.1.0", "winston": "3.9.0", "winston-array-transport": "1.1.11", "yaml": "2.3.1" }, "engines": { "node": ">=14.x" }, "scripts": { "test:unit": "jest --runInBand" }, "readme": "<p align=\"center\"><a href=\"https://mocks-server.org\" target=\"_blank\" rel=\"noopener noreferrer\"><img width=\"120\" src=\"https://www.mocks-server.org/img/logo_120.png\" alt=\"Mocks Server logo\"></a></p>\n\n<p align=\"center\">\n <a href=\"https://github.com/mocks-server/main/actions?query=workflow%3Abuild+branch%3Amaster\"><img src=\"https://github.com/mocks-server/main/workflows/build/badge.svg?branch=master\" alt=\"Build Status\"></a>\n <a href=\"https://codecov.io/gh/mocks-server/main\"><img src=\"https://codecov.io/gh/mocks-server/main/branch/master/graph/badge.svg?token=2S8ZR55AJV\" alt=\"Coverage\"></a>\n <a href=\"https://sonarcloud.io/project/overview?id=mocks-server_main_core\"><img src=\"https://sonarcloud.io/api/project_badges/measure?project=mocks-server_main_core&metric=alert_status\" alt=\"Quality Gate\"></a>\n <a href=\"https://www.npmjs.com/package/@mocks-server/core\"><img src=\"https://img.shields.io/npm/dm/@mocks-server/core.svg\" alt=\"Downloads\"></a>\n <a href=\"https://renovatebot.com\"><img src=\"https://img.shields.io/badge/renovate-enabled-brightgreen.svg\" alt=\"Renovate\"></a>\n <a href=\"https://github.com/mocks-server/main/blob/master/packages/core/LICENSE\"><img src=\"https://img.shields.io/npm/l/@mocks-server/core.svg\" alt=\"License\"></a>\n</p>\n\n---\n\n# Mocks Server Core\n\nThis package provides the plugabble core of the [Mocks Server][website-url] project.\n\nUse it if you want to [start Mocks Server programmatically by yourself](https://www.mocks-server.org/docs/api/javascript), or even [create your own Mocks Server distribution](https://www.mocks-server.org/docs/integrations/javascript) with the plugins of your choice. If this is not the case, you would probably prefer using the [main distribution of the Mocks Server project][main-url].\n\n## Documentation\n\nPlease refer to the [project documentation website][website-url]:\n\n* [Overview](https://www.mocks-server.org/docs/overview)\n* [Usage](https://www.mocks-server.org/docs/usage/basics)\n* [Configuration](https://www.mocks-server.org/docs/configuration/how-to-change-settings)\n* [API](https://www.mocks-server.org/docs/api/javascript)\n\n[website-url]: https://www.mocks-server.org\n[logo-url]: https://www.mocks-server.org/img/logo_120.png\n[main-url]: https://www.npmjs.com/package/@mocks-server/main\n" }