UNPKG

onion-compose

Version:

Onion style function composition just like koa-compose, but with any number of arguments

68 lines 2.22 kB
{ "name": "onion-compose", "version": "2.0.5", "description": "Onion style function composition just like koa-compose, but with any number of arguments", "keywords": [ "compose", "function compose", "koa-compose" ], "private": false, "author": "Ivan Vlatkovic", "license": "MIT", "main": "./dist/prod/onion-compose.js", "umd": "./dist/prod/onion-compose.umd.js", "exports": { "import": "./dist/prod/onion-compose.esm.js", "require": "./dist/prod/onion-compose.js" }, "types": "./dist/types/index.d.ts", "files": [ "dist", "src" ], "repository": { "type": "git", "url": "git+https://github.com/ivandotv/onion-compose.git" }, "bugs": { "url": "https://github.com/ivandotv/onion-compose/issues" }, "homepage": "https://github.com/ivandotv/onion-compose#readme", "devDependencies": { "@babel/preset-env": "^7.16.11", "@babel/preset-typescript": "^7.16.7", "@changesets/cli": "^2.21.0", "@types/jest": "^27.4.0", "@typescript-eslint/eslint-plugin": "^5.12.0", "@typescript-eslint/parser": "^5.12.0", "babel-plugin-dev-expression": "^0.2.3", "babel-plugin-transform-define": "^2.0.1", "cross-env": "^7.0.3", "eslint": "^8.9.0", "eslint-config-prettier": "^8.4.0", "eslint-plugin-jest": "^26.1.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-tsdoc": "^0.2.14", "husky": "^7.0.4", "jest": "^27.5.1", "jest-mock-console": "^1.2.3", "jest-watch-typeahead": "^1.0.0", "lint-staged": "^12.3.4", "microbundle": "^0.14.2", "prettier": "^2.5.1", "shx": "^0.3.4" }, "scripts": { "lint": "eslint --fix \"src/**/\"", "lint:check": "eslint \"src/**/\"", "lint:ci": "pnpm lint:check", "test": "jest --verbose --coverage", "test:watch": "jest --watch", "test:ci": "jest --runInBand --ci --coverage --coverageDirectory=coverage", "build:prod": "cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --target node --format modern,cjs,umd --output dist/prod", "build": "rm -rf ./dist && pnpm build:prod", "release": "pnpm run prepublishOnly && pnpm changeset publish" } }