UNPKG

cds-routing-handlers

Version:

Package to route and implement CDS handlers via a class based approach in Typescript.

84 lines (83 loc) 2.37 kB
{ "name": "cds-routing-handlers", "version": "3.0.7", "description": "Package to route and implement CDS handlers via a class based approach in Typescript.", "main": "lib/index.js", "repository": "https://github.com/mrbandler/cds-routing-handlers", "author": "mrbandler <mrbandler@fivefingergames.com>", "license": "MIT", "readme": "README.md", "bugs": { "url": "https://github.com/mrbandler/cds-routing-handlers/issues" }, "keywords": [ "typescript", "controller", "handler", "cds", "sap", "cap", "cloud", "application", "programming" ], "files": [ "lib" ], "engines": { "node": ">=12.0.0" }, "scripts": { "build": "tsc", "build:all": "rimraf ./lib && yarn build && yarn build:test", "build:test": "tsc --project ./tests/tsconfig.json && copyfiles -f ./tests/services.cds ./tests/schema.cds ./srv && cds build/all --clean", "start:test": "yarn build:test && node --inspect ./srv/server.js", "prepare": "husky install" }, "devDependencies": { "@commitlint/cli": "^16.0.1", "@commitlint/config-conventional": "^16.0.0", "@sap/cds": "^5.7.4", "@sap/cds-odata-v2-adapter-proxy": "^1.8.4", "@types/express": "^4.17.2", "@types/node": "^12.12.11", "@typescript-eslint/eslint-plugin": "^5.8.1", "@typescript-eslint/parser": "^5.8.1", "copyfiles": "^2.1.1", "eslint": "^8.5.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "express": "^4.17.1", "husky": "^7.0.0", "lint-staged": "^9.4.3", "prettier": "^2.5.1", "rimraf": "^3.0.0", "typedi": "0.8.0", "typescript": "^4.5.4" }, "dependencies": { "glob": "^7.2.0", "reflect-metadata": "^0.1.13" }, "lint-staged": { "*.{js,ts,css,json,md,yml}": [ "prettier --write" ], "*.{js,ts}": [ "eslint --fix" ] }, "cds": { "requires": { "db": { "kind": "hana", "model": [ "srv" ] } }, "odata": { "version": "v4" } } }