@whook/whook
Version:
Build strong and efficient REST web services.
204 lines (203 loc) • 4.96 kB
JSON
{
"metapak": {
"configs": [
"main",
"readme",
"tsesm",
"eslint",
"jest",
"jsarch",
"jsdocs"
],
"data": {
"childPackage": true,
"files": "'src/**/*.ts'",
"testsFiles": "'src/**/*.test.ts'",
"distFiles": "'dist/**/*.js'",
"ignore": [
"dist"
],
"bundleFiles": [
"dist",
"src"
]
}
},
"name": "@whook/whook",
"version": "20.1.2",
"description": "Build strong and efficient REST web services.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"whook": "bin/whook.js"
},
"keywords": [
"whook",
"knifecycle",
"REST",
"HTTP",
"OpenAPI",
"web",
"service",
"handler",
"server",
"framework"
],
"scripts": {
"architecture": "jsarch 'src/**/*.ts' > ARCHITECTURE.md && git add ARCHITECTURE.md",
"build": "rimraf 'dist' && tsc --outDir dist",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"cli": "env NODE_ENV=${NODE_ENV:-cli}",
"cover": "node --run jest -- --coverage",
"cz": "env NODE_ENV=${NODE_ENV:-cli} git cz",
"doc": "echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md",
"format": "node --run prettier",
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
"lint": "eslint 'src/**/*.ts'",
"metapak": "metapak",
"prettier": "prettier --write 'src/**/*.ts'",
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
"test": "node --run jest"
},
"author": {
"name": "Nicolas Froidure",
"email": "nicolas.froidure@insertafter.com",
"url": "http://insertafter.com/en/index.html"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/nfroidure/whook.git"
},
"bugs": {
"url": "https://github.com/nfroidure/whook/issues"
},
"homepage": "https://github.com/nfroidure/whook",
"peerDependencies": {
"esbuild": ">=0.24.0",
"esbuild-node-externals": ">=1.15.0"
},
"devDependencies": {
"@eslint/js": "^9.30.1",
"@swc/cli": "^0.7.8",
"@swc/core": "^1.12.11",
"@swc/helpers": "^0.5.17",
"@swc/jest": "^0.2.39",
"esbuild-node-externals": "^1.15.0",
"eslint": "^9.30.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-prettier": "^5.5.1",
"jest": "^30.0.4",
"jsarch": "^6.2.1",
"jsdoc-to-markdown": "^9.1.1",
"metapak": "^6.0.4",
"metapak-nfroidure": "20.0.5",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"streamtest": "^3.0.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.36.0"
},
"dependencies": {
"@inquirer/prompts": "^7.9.0",
"@types/content-type": "^1.1.9",
"@types/fs-extra": "^11.0.4",
"@types/inquirer": "^9.0.9",
"@types/ms": "^2.1.0",
"@types/negotiator": "^0.6.4",
"@types/qs": "^6.14.0",
"@types/yargs-parser": "^21.0.3",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"application-services": "^7.0.4",
"bytes": "^3.1.2",
"camelcase": "^8.0.0",
"chokidar": "^4.0.3",
"common-services": "^17.1.2",
"content-type": "^1.0.5",
"cron-parser": "^5.4.0",
"debug": "^4.4.3",
"first-chunk-stream": "^6.0.0",
"fs-extra": "^11.3.2",
"ignore": "^7.0.5",
"inquirer": "^12.10.0",
"internal-ip": "^8.0.1",
"knifecycle": "^19.1.3",
"miniquery": "^1.1.2",
"mkdirp": "^3.0.1",
"ms": "^2.1.3",
"negotiator": "^1.0.0",
"node-cron": "^4.2.1",
"portfinder": "^1.0.38",
"qs": "^6.14.0",
"schema2dts": "^8.1.1",
"siso": "^7.0.0",
"statuses": "^2.0.2",
"strict-qs": "^8.0.3",
"type-fest": "5.1.0",
"ya-json-schema-types": "^1.0.1",
"ya-open-api-types": "^1.2.2",
"yargs-parser": "^22.0.0",
"yerror": "^8.0.0",
"yhttperror": "^8.1.0"
},
"contributors": [],
"engines": {
"node": ">=22.16.0"
},
"jest": {
"coverageReporters": [
"lcov",
"html"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
{}
]
},
"moduleNameMapper": {
"#(.*)": "<rootDir>/../../node_modules/$1",
"(.+)\\.js": "$1"
},
"extensionsToTreatAsEsm": [
".ts"
],
"prettierPath": null
},
"prettier": {
"semi": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"files": [
"dist",
"src",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"jsarch": {
"parserOptions": {
"plugins": [
"typescript"
]
}
},
"gitHead": "bac7a0bc6d27be92f21fc5faf6be209db108ca84",
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/nfroidure"
}
}