throwback
Version:
Simple asynchronous middleware pattern
95 lines (94 loc) • 2.08 kB
JSON
{
"name": "throwback",
"version": "4.1.0",
"description": "Simple asynchronous middleware pattern",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"prettier": "prettier --write",
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
"format": "npm run prettier -- README.md \"src/**/*.{js,ts}\"",
"build": "rimraf dist && tsc",
"specs": "jest --coverage",
"test": "npm run -s lint && npm run -s build && npm run -s specs && npm run -s size",
"prepare": "npm run build",
"size": "size-limit"
},
"repository": {
"type": "git",
"url": "git://github.com/serviejs/throwback.git"
},
"keywords": [
"middleware",
"async",
"compose",
"promise",
"ware",
"layer"
],
"author": {
"name": "Blake Embrey",
"email": "hello@blakeembrey.com",
"url": "http://blakeembrey.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/serviejs/throwback/issues"
},
"homepage": "https://github.com/serviejs/throwback",
"size-limit": [
{
"path": "./dist/index.js",
"limit": "90 B"
}
],
"jest": {
"roots": [
"<rootDir>/src/"
],
"transform": {
"\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"npm run prettier",
"git add"
]
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/jest": "^24.0.13",
"@types/node": "^12.0.7",
"husky": "^2.4.0",
"jest": "^24.8.0",
"lint-staged": "^8.2.0",
"prettier": "^1.18.2",
"rimraf": "^2.6.2",
"size-limit": "^1.3.6",
"ts-jest": "^24.0.2",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.0.3"
}
}