UNPKG

next-rest-framework

Version:

Next REST Framework - write type-safe, self-documenting REST APIs in Next.js

57 lines 1.54 kB
{ "name": "next-rest-framework", "version": "1.2.0", "description": "Next REST Framework - write type-safe, self-documenting REST APIs in Next.js", "keywords": [ "nextjs", "rest", "api", "next-rest-framework" ], "homepage": "https://github.com/blomqma/next-rest-framework#readme", "bugs": { "url": "https://github.com/blomqma/next-rest-framework/issues", "email": "blomqma@omg.lol" }, "license": "ISC", "author": "Markus Blomqvist <blomqma@omg.lol>", "files": [ "dist" ], "main": "dist/index.js", "repository": { "type": "git", "url": "https://github.com/blomqma/next-rest-framework.git", "directory": "packages/next-rest-framework" }, "bin": { "next-rest-framework": "./dist/cli.js" }, "dependencies": { "chalk": "4.1.2", "commander": "10.0.1", "js-yaml": "4.1.0", "lodash": "4.17.21", "wait-on": "7.0.1" }, "devDependencies": { "@next-rest-framework/tsconfig": "0.0.0", "@types/jest": "29.5.4", "@types/js-yaml": "4.0.5", "@types/lodash": "4.14.197", "@types/wait-on": "5.3.1", "jest": "29.6.4", "node-mocks-http": "1.13.0", "openapi-types": "12.1.3", "ts-jest": "29.1.1", "ts-node": "10.9.1", "typescript": "*" }, "scripts": { "preinstall": "mkdir -p dist && touch ./dist/cli.js && echo \"#!/usr/bin/env node\" > ./dist/cli.js", "type-check": "tsc --noEmit", "build": "rm -rf dist && tsc --project tsconfig.build.json", "test": "jest", "test:watch": "jest --watch" } }