-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.75 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
{
"name": "peer-ring",
"version": "1.0.0",
"description": "Distributed, Decentralized Sharding Framework for building Peer-to-Peer Systems",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/mahendraHegde/peer-ring.git"
},
"scripts": {
"clean": "chmod +x clean.sh && ./clean.sh",
"test": "pnpm --filter=@peer-ring/* test",
"setup:k3d": "export K3D_PATH='./k3d/' && k3d cluster list | grep -q 'peer-ring' || k3d cluster create --config ${K3D_PATH}/k3d.yaml",
"test:e2e:setup": "pnpm setup:k3d && chmod +x ./e2e-setup.sh && ./e2e-setup.sh",
"wait-for-pods": "kubectl wait --for=condition=ready pods --all --timeout=180s",
"cleanup:k3d": "k3d cluster list | grep -q 'peer-ring' && k3d cluster delete 'peer-ring'",
"test:e2e": "pnpm test:e2e:setup && pnpm wait-for-pods && pnpm --filter @peer-ring/* test:e2e",
"test:cov": "pnpm --filter @peer-ring/* test:e2e --coverage --coverageReporters=\"json-summary\"",
"lint": "eslint -v",
"prettier": "prettier -c .",
"lint:fix": "eslint packages/**/*.ts --fix",
"format": "prettier --write .",
"build": "pnpm --filter @peer-ring/* build",
"build:clean": "find packages/* -type d -name 'dist' -exec rm -rf {} \\;",
"typecheck": "pnpm --filter @peer-ring/* typecheck",
"precommit": "pnpm build && pnpm format && pnpm lint:fix && pnpm test",
"prepare:publish": "pnpm changeset version && pnpm install && pnpm precommit"
},
"keywords": [
"consistent-hashing",
"p2p",
"dynamo",
"distributed",
"decentralized",
"sharding",
"peer to peer",
"distributed-systems",
"high availability",
"consistent hashing",
"distributed applications",
"peer discovery",
"load balancing",
"replication",
"distributed quorum",
"dynamic allocation"
],
"author": "Mahendra Hegde",
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.27.5",
"@nestjs/platform-express": "^10.3.9",
"@nestjs/testing": "^10.3.9",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.8",
"@types/pino": "^7.0.5",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"eslint": "^8.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.2.0",
"eslint-plugin-unused-imports": "^4.0.0",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"prettier-eslint": "^16.3.0",
"supertest": "^7.0.0",
"ts-jest": "^29.1.5",
"typedoc": "^0.26.1",
"typedoc-plugin-markdown": "^4.1.0",
"typescript": "^5.5.2"
},
"dependencies": {
"pino": "^9.2.0"
}
}