UNPKG

@js-thing/http-status-codes

Version:

Contains properly documented HTTP status code enums, reason phrases and helpers as defined in RFC

77 lines (76 loc) 2.08 kB
{ "name": "@js-thing/http-status-codes", "version": "1.0.1-beta.2", "description": "Contains properly documented HTTP status code enums, reason phrases and helpers as defined in RFC", "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "types": "./lib/types/index.d.ts", "sideEffects": false, "scripts": { "lint": "eslint --ext .ts ./src", "clean": "rm -rf lib docs .nyc_output coverage", "build": "tsc -p tsconfig.esm.prod.json && tsc -p tsconfig.cjs.prod.json", "pretest": "npm run lint -- --fix", "test": "mocha", "cover": "nyc --reporter=text --reporter=lcov mocha && codecov", "doc": "typedoc" }, "author": "Jnyan Ankur Kakati", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/js-thing/http-status-codes.git" }, "bugs": { "url": "https://github.com/js-thing/http-status-codes/issues" }, "homepage": "https://http-status-codes.js-thing.com", "keywords": [ "http", "status", "codes", "rfc", "webdav", "reason", "phrase", "ts", "js", "thing", "typescript", "node" ], "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", "@types/chai": "^4.2.18", "@types/mocha": "^8.2.2", "@typescript-eslint/eslint-plugin": "^4.24.0", "@typescript-eslint/parser": "^4.24.0", "chai": "^4.3.4", "codecov": "^3.8.2", "eslint": "^7.26.0", "eslint-config-airbnb-typescript": "^12.3.1", "eslint-config-prettier": "^8.3.0", "eslint-plugin-chai-expect": "^2.2.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.23.2", "eslint-plugin-mocha": "^8.1.0", "eslint-plugin-prettier": "^3.4.0", "husky": "^6.0.0", "mocha": "^8.4.0", "nyc": "^15.1.0", "prettier": "^2.3.0", "source-map-support": "^0.5.19", "ts-node": "^9.1.1", "typedoc": "^0.20.36", "typescript": "^4.2.4" }, "husky": { "hooks": { "pre-commit": "npm run lint:fix", "pre-push": "npm run build" } }, "files": [ "lib" ] }