-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.3 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
{
"name": "@cyclonecode/service-cache",
"version": "1.0.7",
"description": "Cache responses from service calls in nestjs.",
"keywords": [
"nestjs",
"caching",
"service",
"typescript",
"lru-cache"
],
"author": "Krister Andersson <cyclonecode@gmail.com>",
"private": false,
"license": "MIT",
"main": "./dist/src/index.js",
"exports": {
".": "./dist/src/index.js"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/krollobrocket/service-cache.git"
},
"scripts": {
"clean": "rimraf -rf ./dist",
"build": "npm run clean && tsc -p tsconfig.build.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"prebuild": "cp scripts/pre-commit .git/hooks/ && chmod +x .git/hooks/pre-commit",
"postversion": "git push && git push --tags",
"prepublish:npm": "npm run build",
"publish:npm": "npm publish --access public",
"publish:npm:dry": "npm run publish:npm -- --dry-run",
"test": "jest --config ./test/jest.json",
"coverage": "npm run test -- --coverage"
},
"dependencies": {
"dotenv": "^16.4.5",
"lru-cache": "^11.0.1",
"md5": "^2.3.0"
},
"devDependencies": {
"@types/jest": "^29.5.13",
"@types/md5": "^2.3.5",
"@types/node": "^22.7.7",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.10.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"types": "./dist/src/index.d.ts",
"bugs": {
"url": "https://github.com/krollobrocket/service-cache/issues"
},
"homepage": "https://github.com/krollobrocket/service-cache#readme",
"directories": {
"test": "test"
}
}