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.2.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.3.3" }, "peerDependencies": { "express": "^4.18.1" }, "devDependencies": { "@kth/eslint-config-kth": "^3.4.0", "@types/jest": "^29.5.12", "eslint": "^8.56.0", "express": "^4.18.2", "husky": "^9.0.11", "jest": "^29.7.0", "jest-extended": "^4.0.2", "prettier": "^3.2.5", "pretty-quick": "^4.0.0" }, "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 } }