forked from pi-node/pi-node
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.9 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 2.9 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
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
108
109
110
111
112
113
{
"name": "pi-supernode",
"version": "2.0.0",
"description": "A supernode for the Pi Network Mainnet using ARES architecture, powered by AI, quantum-resistant cryptography, and cross-chain interoperability.",
"main": "src/index.js",
"type": "module",
"scripts": {
"start": "node --max-old-space-size=8192 src/index.js",
"dev": "nodemon --inspect src/index.js",
"test": "jest --coverage --runInBand",
"test:watch": "jest --watch",
"lint": "eslint . --ext .js,.mjs --fix",
"format": "prettier --write \"src/**/*.{js,mjs}\"",
"build": "node scripts/build.js",
"setup": "bash scripts/setup.sh",
"monitor": "bash scripts/monitor.sh",
"deploy": "bash scripts/deploy.sh",
"train": "node src/validators.js",
"security-audit": "npm audit --audit-level=high",
"docker:build": "docker build -t pi-supernode:latest .",
"docker:run": "docker run -p 8000:8000 -p 11625:11625 --env-file .env pi-supernode:latest",
"k8s:deploy": "kubectl apply -f k8s/deployment.yaml"
},
"keywords": [
"blockchain",
"pi-coin",
"quantum",
"ai",
"supernode",
"stellar",
"cross-chain",
"sharding",
"zero-knowledge"
],
"author": "KOSASIH",
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"dependencies": {
"@solana/web3.js": "^1.95.3",
"@tensorflow/tfjs-node": "^4.22.0",
"axios": "^1.7.7",
"body-parser": "^1.20.3",
"cors": "^2.8.5",
"dotenv": "^16.4.5",
"express": "^4.21.0",
"express-rate-limit": "^7.4.0",
"express-validator": "^7.2.0",
"geolib": "^3.3.4",
"helmet": "^7.1.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.2",
"node-fetch": "^3.3.2",
"prom-client": "^15.1.3",
"stellar-sdk": "^12.1.0",
"web3": "^4.5.0",
"winston": "^3.14.2",
"winston-cloudwatch": "^6.3.0",
"zeromq": "^6.0.0-beta.6",
"zkp-libsnark": "^0.2.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"supertest": "^7.0.0"
},
"jest": {
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
},
"eslintConfig": {
"env": {
"node": true,
"es2022": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:jest/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"rules": {
"no-console": "warn",
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
}
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 2
}
}