71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"name": "@tinyhttp/logger",
|
|
"version": "2.0.0",
|
|
"type": "module",
|
|
"description": "Minimal and flexible HTTP logger.",
|
|
"homepage": "https://github.com/tinyhttp/logger#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tinyhttp/logger.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.18 || >=16.20"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"module": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./filelogger": {
|
|
"import": "./dist/filelogger.js",
|
|
"types": "./dist/filelogger.d.ts"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"tinyhttp",
|
|
"node.js",
|
|
"web framework",
|
|
"web",
|
|
"backend"
|
|
],
|
|
"author": "v1rtl",
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"colorette": "^2.0.20",
|
|
"dayjs": "^1.11.10",
|
|
"http-status-emojis": "^2.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^18.2.0",
|
|
"@commitlint/config-conventional": "^18.1.0",
|
|
"@tinyhttp/app": "^2.2.0",
|
|
"@types/node": "^20.8.9",
|
|
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
|
"@typescript-eslint/parser": "^6.9.0",
|
|
"bun-types": "^1.0.7",
|
|
"c8": "^8.0.1",
|
|
"eslint": "^8.52.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"expect": "^29.7.0",
|
|
"husky": "^8.0.3",
|
|
"prettier": "^3.0.3",
|
|
"supertest-fetch": "^1.5.0",
|
|
"tsx": "^3.14.0",
|
|
"typescript": "^5.2.2"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "tsx tests/index.test.ts",
|
|
"test:coverage": "c8 tsx --test tests/index.test.ts",
|
|
"test:report": "c8 report --reporter=text-lcov > lcov.info",
|
|
"lint": "eslint . --ext=ts",
|
|
"format": "prettier --check \"./**/*.{ts,md}\"",
|
|
"format:fix": "prettier --write \"./**/*.{ts,md}\""
|
|
}
|
|
} |