UNPKG

digjoy

Version:

Simple Typescript decorators for express routing with joi validation

120 lines (119 loc) 3.02 kB
{ "name": "digjoy", "version": "0.4.0", "description": "Simple Typescript decorators for express routing with joi validation", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "build": "rimraf ./dist && tsc -p tsconfig.json --sourcemap --strict", "lint": "tsc --project tsconfig.json --noEmit && tslint -c tslint.json -p tsconfig.json src/**/*.ts --fix", "release:minor": "standard-version --no-verify --release-as minor", "release:major": "standard-version --no-verify --release-as major", "release:patch": "standard-version --no-verify --release-as patch", "test": "mocha -r ts-node/register test/**/*.test.ts --exit", "test:tdd": "npm run test -- --watch --watch-extensions ts", "test:coverage": "rimraf ./coverage && nyc npm run test", "coveralls": "npm run test:coverage && nyc report --reporter=text-lcov | coveralls", "prepublish": "npm run lint && npm run test && npm run build" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/MutterPedro/digjoy.git" }, "keywords": [ "controller", "route", "decorators", "joi", "validation", "simple", "easy", "straightforward", "mvc", "rest", "http", "methods" ], "author": "Pedro Mutter", "license": "MIT", "bugs": { "url": "https://github.com/MutterPedro/digjoy/issues" }, "files": [ "dist/**/*" ], "homepage": "https://github.com/MutterPedro/digjoy#readme", "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "!(*test).ts": [ "npm run lint" ], "*.{ts,md}": [ "prettier --list-different" ] }, "nyc": { "extension": [ ".ts" ], "reporter": [ "text", "html" ], "exclude": [ "test/**", "node_modules/**/*", "**/*.d.ts", "bin/**", "dist/**/*", "*.js" ], "all": true, "cache": true, "check-coverage": true, "branches": 80, "lines": 80, "functions": 80, "statements": 80, "per-file": true }, "devDependencies": { "@types/body-parser": "^1.19.0", "@types/chai": "^4.2.14", "@types/express": "^4.17.8", "@types/mocha": "^8.0.3", "@types/node": "^14.14.2", "@types/pino": "^6.3.3", "@types/sinon-chai": "^3.2.5", "@types/supertest": "^2.0.10", "chai": "^4.2.0", "coveralls": "^3.1.0", "husky": "^4.3.0", "lint-staged": "^10.4.2", "mocha": "^8.2.0", "nyc": "^15.1.0", "prettier": "^2.1.2", "rimraf": "^3.0.2", "sinon": "^9.2.0", "sinon-chai": "^3.5.0", "standard-version": "^9.0.0", "supertest": "^5.0.0", "ts-node": "^9.0.0", "tslint": "^6.1.3", "tslint-config-airbnb": "^5.11.2", "typescript": "^4.0.3" }, "dependencies": { "body-parser": "^1.19.0", "express": "^4.17.1", "http-status": "^1.4.2", "joi": "^17.3.0", "pino": "^6.7.0", "pino-pretty": "^4.3.0", "reflect-metadata": "^0.1.13" } }