app-builder
Version:
Promise based composable functions for middleware
110 lines (109 loc) • 2.85 kB
JSON
{
"name": "app-builder",
"version": "7.0.4",
"description": "Promise based composable functions for middleware",
"main": "./lib/cjs/app-builder.js",
"typings": "./lib/cjs/app-builder.d.ts",
"type": "module",
"exports": {
".": {
"node": {
"import": "./lib/esm/app-builder.js",
"require": "./lib/cjs/app-builder.js"
},
"default": "./lib/cjs/app-builder.js"
},
"./package.json": "./package.json"
},
"author": "Caleb Boyd (https://github.com/calebboyd)",
"license": "MIT",
"bugs": {
"url": "https://github.com/ingress/app-builder/issues"
},
"homepage": "https://github.com/ingress/app-builder",
"files": [
"lib",
"!**/*.spec.js"
],
"scripts": {
"bench": "node bench.js",
"lint": "eslint \"src/**/*\" --fix",
"build": "npm run lint && npm run compile",
"compile": "tsc -b tsconfig.cjs.json tsconfig.json && echo '{\"type\": \"commonjs\"}' > lib/cjs/package.json",
"prepublish": "npm run test",
"watch:typescript": "tsc -w",
"watch:test": "jest --watchAll",
"watch": "npm run build && concurrently -k \"npm:watch:typescript\" \"npm:watch:test\" -c blue,green",
"test": "npm run build && jest --passWithNoTests"
},
"jest": {
"testRegex": ".*?cjs.*(\\.spec).js",
"watchPathIgnorePatterns": [
"\\.ts$"
]
},
"prettier": {
"parser": "typescript",
"semi": false,
"singleQuote": true,
"printWidth": 100
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"overrides": [
{
"files": [
"*.spec.ts"
],
"env": {
"jest": true
}
}
],
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-use-before-define": 0
}
},
"repository": {
"type": "git",
"url": "https://github.com/calebboyd/app-builder.git"
},
"keywords": [
"middleware",
"functional",
"composable",
"composition",
"pipeline",
"onion",
"async",
"compose"
],
"devDependencies": {
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"benchmark": "^2.1.4",
"concurrently": "^6.2.0",
"eslint": "^7.28.0",
"eslint-config-prettier": "~8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-watch": "^7.0.0",
"jest": "^27.0.4",
"prettier": "^2.3.1",
"typescript": "^4.3.2"
}
}