1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
{
"name": "app-builder",
"version": "6.2.2",
"description": "Promise based composable functions for middleware",
"main": "./lib/app-builder.js",
"typings": "./lib/app-builder.d.ts",
"author": "Caleb Boyd (https://github.com/calebboyd)",
"license": "MIT",
"bugs": {
"url": "https://github.com/calebboyd/app-builder/issues"
},
"homepage": "https://github.com/calebboyd/app-builder",
"files": [
"lib",
"!**/*.spec.js"
],
"scripts": {
"lint": "eslint \"src/**/*\" --fix",
"build": "npm run lint && tsc",
"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": ".*?(\\.spec).js",
"watchPathIgnorePatterns": [
"\\.ts$"
]
},
"prettier": {
"parser": "typescript",
"semi": false,
"singleQuote": true,
"printWidth": 120
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"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": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"concurrently": "^5.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "~6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-watch": "^6.0.1",
"jest": "^25.4.0",
"prettier": "^2.0.5",
"typescript": "^3.8.3"
}
}
|