UNPKG

@whook/whook

Version:

Build strong and efficient REST web services.

206 lines (205 loc) 4.9 kB
{ "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": "25.1.0", "description": "Build strong and efficient REST web services.", "type": "module", "publishConfig": { "access": "public" }, "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", "devDependencies": { "@eslint/js": "^10.0.1", "@swc/cli": "^0.8.1", "@swc/core": "^1.15.33", "@swc/jest": "^0.2.39", "axios": "^1.17.0", "eslint": "^10.4.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.15.2", "eslint-plugin-prettier": "^5.5.5", "jest": "^30.4.2", "jsarch": "^7.1.2", "jsdoc-to-markdown": "^9.1.3", "metapak": "^7.1.1", "metapak-nfroidure": "22.1.3", "prettier": "^3.8.3", "rimraf": "^6.1.3", "streamtest": "^4.0.0", "typescript": "^6.0.3", "typescript-eslint": "^8.59.3" }, "dependencies": { "@inquirer/prompts": "^8.4.3", "@types/debug": "^4.1.13", "@types/fs-extra": "^11.0.4", "@types/ms": "^2.1.0", "@types/negotiator": "^0.6.4", "@types/qs": "^6.15.1", "@types/statuses": "^2.0.6", "@types/yargs-parser": "^21.0.3", "ajv": "^8.20.0", "ajv-formats": "^3.0.1", "application-services": "^9.0.1", "bytes": "^3.1.2", "camelcase": "^9.0.0", "common-services": "^20.0.0", "content-type": "^2.0.0", "cron-parser": "^5.5.0", "debug": "^4.4.3", "first-chunk-stream": "^6.0.0", "internal-ip": "^9.0.0", "knifecycle": "^21.3.0", "miniquery": "^1.1.2", "ms": "^2.1.3", "negotiator": "^1.0.0", "node-cron": "^4.2.1", "portfinder": "^1.0.38", "qs": "^6.15.1", "siso": "^9.0.1", "statuses": "^2.0.2", "strict-qs": "^10.0.0", "type-fest": "5.6.0", "ya-json-schema-types": "^2.0.2", "ya-open-api-types": "^2.2.0", "yargs-parser": "^22.0.0", "yerror": "^11.0.0", "yhttperror": "^9.0.2" }, "contributors": [], "engines": { "node": ">=24.14.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" ] }, "prettier": { "semi": true, "printWidth": 80, "singleQuote": true, "trailingComma": "all", "proseWrap": "always" }, "files": [ "dist", "src", "LICENSE", "README.md", "CHANGELOG.md" ], "jsarch": { "parserOptions": { "plugins": [ "typescript" ] } }, "gitHead": "e9d3fb974670489a2cc17789e2263ca821d18b3b", "funding": { "type": "individual", "url": "https://github.com/sponsors/nfroidure" }, "overrides": { "typescript-eslint": { "typescript": "^6" }, "@typescript-eslint/eslint-plugin": { "typescript": "^6" }, "@typescript-eslint/parser": { "typescript": "^6" } } }