UNPKG

kth-node-express-routing

Version:

Define named routes using express routing syntax. Allows exporting route defs javascript object

72 lines (71 loc) 1.74 kB
{ "name": "kth-node-express-routing", "version": "2.3.0", "description": "Define named routes using express routing syntax. Allows exporting route defs javascript object", "main": "lib/index.js", "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/KTH/kth-node-express-routing.git" }, "keywords": [ "kth", "web", "express", "nodejs" ], "author": { "name": "KTH", "email": "infosys@kth.se", "url": "https://github.com/KTH" }, "homepage": "https://github.com/KTH/kth-node-express-routing#readme", "bugs": { "url": "https://github.com/KTH/kth-node-express-routing/issues" }, "license": "MIT", "scripts": { "test": "jest", "test:watch": "jest --watch", "test:watch-update": "jest --watch -u", "test:coverage": "jest --collectCoverage", "build": "echo ok", "prepare": "husky" }, "dependencies": { "yup": "^1.7.0" }, "peerDependencies": { "express": "4 - 5" }, "devDependencies": { "@kth/eslint-config-kth": "^3.6.0", "@types/jest": "^30.0.0", "eslint": "^9.33.0", "express": "^5.1.0", "husky": "^9.1.7", "jest": "^30.0.5", "jest-extended": "^6.0.0", "prettier": "^3.6.2", "pretty-quick": "^4.2.2" }, "prettier": { "arrowParens": "avoid", "printWidth": 120, "semi": false, "singleQuote": true, "trailingComma": "es5" }, "// (jest)": "configuration version 2020-06-15 (API+NPM) - might also reside as module.exports in jest.config.js", "jest": { "clearMocks": true, "notifyMode": "failure-change", "setupFilesAfterEnv": [ "jest-extended/all" ], "testEnvironment": "node", "verbose": true } }