-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.71 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
{
"name": "lock_and_cache",
"version": "6.0.0-beta.5",
"description": "Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"keywords": [
"lock",
"cache",
"redis"
],
"authors": [
"Madeline Davies <[email protected]>",
"Jeff Laughlin",
"Eric Kidd <[email protected]>"
],
"maintainers": [
"Eric Kidd <[email protected]>"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/faradayio/lock_and_cache_js.git"
},
"scripts": {
"build": "tsc",
"fmt": "prettier --write .",
"lint": "eslint lib/**/*.ts test/**/*.ts",
"prepublishOnly": "rm -rf dist && npm run build",
"test-helper": "LOCK_AND_CACHE_LOG_LEVEL=trace mocha --require ts-node/register test/**/*.ts",
"test": "docker-compose run test"
},
"files": [
"dist/lib/**/*.d.ts",
"dist/lib/**/*.js"
],
"devDependencies": {
"@types/json-stable-stringify": "^1.0.32",
"@types/lru-cache": "^5.1.0",
"@types/mocha": "^8.0.3",
"@types/node": "^14.11.2",
"@types/redis": "^2.8.27",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"eslint": "^7.9.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"mocha": "^8.1.3",
"prettier": "^2.1.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
},
"dependencies": {
"json-stable-stringify": "^1.0.1",
"lru-cache": "^6.0.0",
"redis": "^3.0.2"
}
}