-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.15 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.15 KB
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
{
"name": "@zakyyudha/http-context-middleware",
"version": "1.0.5",
"description": "HTTP context middleware using Node.js AsyncLocalStorage",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.json",
"test": "jest",
"prepare": "husky && npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"examples/**/*.{ts,js}\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\" \"examples/**/*.{ts,js}\"",
"clean": "rimraf dist",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"typecheck:test": "tsc -p tsconfig.test.json --noEmit",
"typecheck:examples": "tsc -p tsconfig.examples.json --noEmit",
"typecheck:all": "npm run typecheck:test && npm run typecheck:examples",
"release": "bash scripts/release.sh",
"release:patch": "bash scripts/release.sh patch",
"release:minor": "bash scripts/release.sh minor",
"release:major": "bash scripts/release.sh major"
},
"keywords": [
"middleware",
"context",
"express",
"asynclocalstorage",
"nodejs",
"typescript"
],
"author": "",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/node": "^18.19.87",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.31.1",
"@typescript-eslint/parser": "^8.31.1",
"eslint": "^9.25.1",
"eslint-config-prettier": "^10.1.2",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-prettier": "^5.2.6",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.5.1",
"prettier": "^3.5.3",
"rimraf": "^5.0.10",
"supertest": "^7.1.0",
"ts-jest": "^29.3.2",
"ts-node": "^10.9.1",
"typescript": "^5.8.3",
"typescript-eslint": "^8.31.1"
},
"lint-staged": {
"*.{ts,js,mjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}