@blackglory/http-status
Version:
A class-based HTTP status library
71 lines (70 loc) • 2.1 kB
JSON
{
"name": "@blackglory/http-status",
"version": "2.0.2",
"description": "A class-based HTTP status library",
"keywords": [
"http",
"statusCode",
"status",
"code",
"1xx",
"2xx",
"3xx",
"4xx",
"5xx"
],
"files": [
"lib",
"src"
],
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": "git@github.com:BlackGlory/http-status.git",
"author": "BlackGlory <woshenmedoubuzhidao@blackglory.me>",
"license": "MIT",
"sideEffects": false,
"scripts": {
"prepare": "ts-patch install -s",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --quiet src __tests__",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.cjs",
"test:debug": "cross-env NODE_OPTIONS=--experimental-vm-modules node --inspect-brk node_modules/.bin/jest --runInBand --config jest.config.cjs",
"test:coverage": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage --config jest.config.cjs",
"prepublishOnly": "run-s prepare clean build",
"clean": "rimraf lib",
"build": "tsc --project tsconfig.build.json --outDir lib",
"release": "standard-version"
},
"husky": {
"hooks": {
"pre-commit": "run-s prepare lint build test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@blackglory/jest-resolver": "^0.3.0",
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/jest": "^29.2.6",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"cross-env": "^7.0.3",
"eslint": "^8.32.0",
"husky": "4",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-resolve": "^29.3.1",
"npm-run-all": "^4.1.5",
"return-style": "^2.0.1",
"rimraf": "^4.1.1",
"standard-version": "^9.5.0",
"ts-jest": "^29.0.5",
"ts-patch": "^2.1.0",
"tslib": "^2.4.1",
"typescript": "4.8",
"typescript-transform-paths": "^3.4.6"
},
"dependencies": {
"@blackglory/errors": "^2.4.3"
}
}