UNPKG

fastify

Version:

Fast and low overhead web framework, for Node.js

209 lines (208 loc) 6.23 kB
{ "name": "fastify", "version": "4.0.2", "description": "Fast and low overhead web framework, for Node.js", "main": "fastify.js", "type": "commonjs", "types": "fastify.d.ts", "scripts": { "bench": "branchcmp -r 2 -g -s \"npm run benchmark\"", "benchmark": "npx concurrently -k -s first \"node ./examples/benchmark/simple.js\" \"npx autocannon -c 100 -d 30 -p 10 localhost:3000/\"", "coverage": "npm run unit -- --cov --coverage-report=html", "coverage:ci": "npm run unit -- --cov --coverage-report=html --no-browser --no-check-coverage -R terse", "coverage:ci-check-coverage": "nyc check-coverage --branches 100 --functions 100 --lines 100 --statements 100", "license-checker": "license-checker --production --onlyAllow=\"MIT;ISC;BSD-3-Clause;BSD-2-Clause\"", "lint": "npm run lint:standard && npm run lint:typescript && npm run lint:markdown", "lint:fix": "standard --fix", "lint:markdown": "markdownlint-cli2", "lint:standard": "standard | snazzy", "lint:typescript": "eslint -c types/.eslintrc.json types/**/*.d.ts test/types/**/*.test-d.ts", "prepublishOnly": "tap --no-check-coverage test/build/**.test.js", "test": "npm run lint && npm run unit && npm run test:typescript", "test:ci": "npm run unit -- -R terse --cov --coverage-report=lcovonly && npm run test:typescript", "test:report": "npm run lint && npm run unit:report && npm run test:typescript", "test:typescript": "tsc test/types/import.ts && tsd", "test:watch": "npm run unit -- -w --no-coverage-report -R terse", "unit": "tap", "unit:junit": "tap-mocha-reporter xunit < out.tap > test/junit-testresults.xml", "unit:report": "tap --cov --coverage-report=html --coverage-report=cobertura | tee out.tap" }, "repository": { "type": "git", "url": "git+https://github.com/fastify/fastify.git" }, "keywords": [ "web", "framework", "json", "schema", "open", "api" ], "author": "Matteo Collina <hello@matteocollina.com>", "contributors": [ { "name": "Tomas Della Vedova", "url": "http://delved.org", "author": true }, { "name": "Tommaso Allevi", "email": "tomallevi@gmail.com" }, { "name": "Ethan Arrowood", "url": "https://github.com/Ethan-Arrowood", "email": "ethan.arrowood@gmail.com" }, { "name": "Dustin Deus", "url": "http://starptech.de", "email": "deusdustin@gmail.com" }, { "name": "Ayoub El Khattabi", "url": "https://github.com/AyoubElk", "email": "elkhattabi.ayoub@gmail.com" }, { "name": "Rafael Gonzaga", "email": "rafael.nunu@hotmail.com", "url": "https://github.com/rafaelgss" }, { "name": "Trivikram Kamat", "url": "http://trivikr.github.io", "email": "trivikr.dev@gmail.com" }, { "name": "Luciano Mammino", "url": "https://loige.co" }, { "name": "Cemre Mengu", "email": "cemremengu@gmail.com" }, { "name": "Evan Shortiss", "email": "evanshortiss@gmail.com" }, { "name": "Maksim Sinik", "url": "https://maksim.dev" }, { "name": "Manuel Spigolon", "email": "behemoth89@gmail.com" }, { "name": "James Sumners", "url": "https://james.sumners.info" }, { "name": "Denis Fäcke", "url": "https://github.com/SerayaEryn" }, { "name": "Igor Savin", "email": "kibertoad@gmail.com", "url": "https://github.com/kibertoad" }, { "name": "Vincent Le Goff", "email": "vince.legoff@gmail.com", "url": "https://github.com/zekth" }, { "name": "Luis Orbaiceta", "email": "luisorbaiceta@gmail.com", "url": "https://luisorbaiceta.com" } ], "license": "MIT", "bugs": { "url": "https://github.com/fastify/fastify/issues" }, "homepage": "https://www.fastify.io/", "devDependencies": { "@fastify/pre-commit": "^2.0.2", "@sinclair/typebox": "^0.23.5", "@sinonjs/fake-timers": "^9.1.2", "@types/node": "^17.0.38", "@typescript-eslint/eslint-plugin": "^5.27.0", "@typescript-eslint/parser": "^5.27.0", "ajv": "^8.11.0", "ajv-errors": "^3.0.0", "ajv-formats": "^2.1.1", "ajv-i18n": "^4.2.0", "ajv-merge-patch": "^5.0.1", "branch-comparer": "^1.1.0", "cors": "^2.8.5", "dns-prefetch-control": "^0.3.0", "eslint": "^8.16.0", "eslint-config-standard": "^17.0.0-1", "eslint-import-resolver-node": "^0.3.6", "eslint-plugin-import": "^2.26.0", "eslint-plugin-n": "^15.2.0", "eslint-plugin-promise": "^6.0.0", "fast-json-body": "^1.1.0", "fastify-plugin": "^3.0.1", "fluent-json-schema": "^3.1.0", "form-data": "^4.0.0", "frameguard": "^4.0.0", "h2url": "^0.2.0", "helmet": "^5.1.0", "hide-powered-by": "^1.1.0", "http-errors": "^2.0.0", "joi": "^17.6.0", "json-schema-to-ts": "^2.5.3", "JSONStream": "^1.3.5", "license-checker": "^25.0.1", "markdownlint-cli2": "^0.4.0", "proxyquire": "^2.1.3", "pump": "^3.0.0", "self-cert": "^2.0.0", "send": "^0.18.0", "serve-static": "^1.15.0", "simple-get": "^4.0.1", "snazzy": "^9.0.0", "split2": "^4.1.0", "standard": "^17.0.0-2", "tap": "^16.2.0", "tsd": "^0.20.0", "typescript": "^4.7.2", "undici": "^5.4.0", "x-xss-protection": "^2.0.0", "yup": "^0.32.11" }, "dependencies": { "@fastify/ajv-compiler": "^3.1.0", "@fastify/error": "^3.0.0", "@fastify/fast-json-stringify-compiler": "^3.0.0", "abstract-logging": "^2.0.1", "avvio": "^8.1.3", "fast-json-stringify": "^4.1.0", "find-my-way": "^6.3.0", "light-my-request": "^5.0.0", "pino": "^8.0.0", "process-warning": "^2.0.0", "proxy-addr": "^2.0.7", "rfdc": "^1.3.0", "secure-json-parse": "^2.4.0", "semver": "^7.3.7", "tiny-lru": "^8.0.2" }, "standard": { "ignore": [ "lib/configValidator.js", "lib/error-serializer.js", "fastify.d.ts", "types/*", "test/types/*", "test/same-shape.test.js" ] }, "tsd": { "directory": "test/types" } }