UNPKG

rescript-rest

Version:

😴 ReScript RPC-like client, contract, and server implementation for a pure REST API

77 lines (76 loc) • 1.77 kB
{ "name": "rescript-rest", "version": "2.0.0-rc.6", "description": "😴 ReScript RPC-like client, contract, and server implementation for a pure REST API", "keywords": [ "rest", "api", "trpc", "rpc", "contract", "http", "fetch", "rescript", "rescript-schema" ], "homepage": "https://github.com/DZakh/rescript-rest#readme", "bugs": { "url": "https://github.com/DZakh/rescript-rest/issues" }, "repository": { "type": "git", "url": "git+https://github.com/DZakh/rescript-rest.git" }, "license": "MIT", "author": "Dmitry Zakharov <dzakh.dev@gmail.com>", "scripts": { "coverage": "c8 --reporter=lcov npm test", "integration": "node ./__tests__/IntegrationTest.res.js", "res": "rescript -w", "res:build": "rescript", "res:clean": "rescript clean", "test": "ava" }, "ava": { "files": [ "__tests__/**/*_test.res.js" ] }, "dependencies": { "rescript-json-schema": "^7.2.0", "rescript-openapi": "^0.4.0" }, "devDependencies": { "@dzakh/rescript-ava": "3.1.0", "@fastify/swagger": "9.2.0", "@scalar/fastify-api-reference": "1.25.60", "ava": "5.3.1", "c8": "10.1.2", "fastify": "5.1.0", "swr": "2.3.2", "rescript": "11.1.4", "rescript-schema": "9.0.1" }, "peerDependencies": { "@fastify/swagger": "9.x", "@scalar/fastify-api-reference": "^1.25.60", "fastify": "5.x", "swr": "^2.3.2", "rescript": "11.x", "rescript-schema": "^9.0.0" }, "peerDependenciesMeta": { "swr": { "optional": true }, "fastify": { "optional": true }, "@fastify/swagger": { "optional": true }, "@scalar/fastify-api-reference": { "optional": true } } }