UNPKG

@zishone/jasenda

Version:

A middleware to add jsend helper functions to the response object

70 lines (69 loc) 2.19 kB
{ "name": "@zishone/jasenda", "version": "0.1.1", "description": "A middleware to add jsend helper functions to the response object", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "directories": { "test": "test" }, "scripts": { "cleanup": "rimraf dist && rimraf coverage && rimraf .nyc_output && rimraf docs", "lint": "eslint ./src --ext .ts", "lint:fix": "npm run lint -- --fix", "build": "tsc", "build:watch": "tsc --watch", "docs": "typedoc --out docs --mode modules --tsconfig tsconfig.json src && touch docs/.nojekyll", "docs:deploy": "npm run docs && gh-pages --dotfiles --dist docs", "test": "TS_NODE_FILES=true mocha --require ts-node/register --require source-map-support/register --file tests/index.ts tests/**/*.test.ts --exit", "test:coverage": "nyc --require @istanbuljs/nyc-config-typescript --reporter lcov --include src npm run test", "prepare": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/zishone/jasenda.git" }, "keywords": [ "jsend", "middleware", "mw", "response", "res" ], "author": "Zishran Garces <zishgarces@gmail.com> (https://github.com/zishone)", "license": "MIT", "bugs": { "url": "https://github.com/zishone/jasenda/issues" }, "homepage": "https://github.com/zishone/jasenda#readme", "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", "@types/chai": "^4.2.11", "@types/express": "^4.17.6", "@types/mocha": "^7.0.2", "@types/node": "^14.14.17", "@types/sinon": "^9.0.8", "@typescript-eslint/eslint-plugin": "^4.8.1", "@typescript-eslint/parser": "^4.8.1", "chai": "^4.2.0", "eslint": "^7.13.0", "eslint-config-prettier": "^7.1.0", "eslint-plugin-prettier": "^3.3.0", "gh-pages": "^2.2.0", "husky": "^4.3.6", "lint-staged": "^10.5.3", "mocha": "^7.1.2", "nyc": "^15.0.1", "prettier": "^2.2.1", "rimraf": "^3.0.2", "sinon": "^9.2.1", "source-map-support": "^0.5.19", "ts-node": "^9.1.1", "typedoc": "^0.17.6", "typescript": "^4.1.3" }, "dependencies": {} }