forked from SEVERSAS/cacheable-request
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 2.45 KB
/
package.json
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "cacheable-request",
"version": "9.0.0",
"description": "Wrap native HTTP requests with RFC compliant cache support",
"license": "MIT",
"repository": "jaredwray/cacheable-request",
"author": "Jared Wray <[email protected]> (http://jaredwray.com)",
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"engines": {
"node": ">=14.16"
},
"scripts": {
"test": "xo && NODE_OPTIONS=--experimental-vm-modules jest --coverage ",
"build": "tsc --project tsconfig.build.json",
"clean": "rm -rf node_modules && rm -rf ./coverage && rm -rf ./package-lock.json && rm -rf ./test/testdb.sqlite && rm -rf ./dist"
},
"files": [
"dist"
],
"keywords": [
"HTTP",
"HTTPS",
"cache",
"caching",
"layer",
"cacheable",
"RFC 7234",
"RFC",
"7234",
"compliant"
],
"dependencies": {
"get-stream": "^6.0.1",
"http-cache-semantics": "^4.1.0",
"keyv": "^4.4.1",
"mimic-response": "^4.0.0",
"normalize-url": "^7.0.3",
"responselike": "^3.0.0"
},
"devDependencies": {
"@keyv/sqlite": "^3.5.3",
"@types/create-test-server": "^3.0.1",
"@types/delay": "^3.1.0",
"@types/get-stream": "^3.0.2",
"@types/http-cache-semantics": "^4.0.1",
"@types/jest": "^28.1.7",
"@types/node": "^18.7.9",
"@types/pify": "^5.0.1",
"@types/responselike": "^1.0.0",
"@types/sqlite3": "^3.1.8",
"create-test-server": "3.0.1",
"delay": "^5.0.0",
"eslint-plugin-jest": "^26.8.7",
"jest": "^28.1.3",
"pify": "^6.0.0",
"sqlite3": "^5.0.11",
"ts-jest": "^28.0.8",
"ts-jest-resolver": "^2.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"xo": "^0.51.0"
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"resolver": "ts-jest-resolver",
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.build.json",
"useESM": true
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/test/*.test.(ts|js)"
],
"testEnvironment": "node"
},
"xo": {
"plugins": [
"jest"
],
"extends": [
"plugin:jest/recommended"
],
"rules": {
"@typescript-eslint/triple-slash-reference": 0,
"@typescript-eslint/no-namespace":0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/restrict-template-expressions": 0,
"@typescript-eslint/no-unsafe-return": 0,
"new-cap": 0,
"@typescript-eslint/restrict-plus-operands": 0
}
}
}