-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
162 lines (162 loc) · 6.53 KB
/
package.json
File metadata and controls
162 lines (162 loc) · 6.53 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"name": "ocean-node",
"version": "0.2.3",
"description": "Ocean Node is used to run all core services in the Ocean stack",
"author": "Ocean Protocol Foundation",
"license": "Apache-2.0",
"type": "module",
"main": "index.js",
"bugs": {
"url": "https://github.com/oceanprotocol/ocean-node/issues"
},
"scripts": {
"build": "npm run clean && npm run build:tsc",
"build:tsc": "tsc --sourceMap",
"build:controlpanel": "cd controlpanel && npm install --maxsockets 1 && NODE_ENV=production npx next build",
"quickstart": "bash scripts/ocean-node-quickstart.sh",
"setupEnv": "bash -c './src/helpers/scripts/setupNodeEnv.sh && source .env'",
"build-tests:tsc": "tsc --sourceMap --sourceRoot ./src/test && cp ./src/test/.env.test ./dist/test && cp ./src/test/.env.test2 ./dist/test && cp ./src/test/config.json $HOME/config.json",
"client": "mkdir -p ./dist/helpers/scripts/output && node dist/helpers/scripts/clientExample.js",
"clean": "if [ -d ./dist ]; then find ./dist -mindepth 1 -not -path './dist/controlpanel*' -delete; fi",
"clean:all": "rm -rf ./dist/ ./doc/ ./.nyc_output",
"build-tests": "rm -rf ./dist/test && npm run build-tests:tsc",
"start": "node --max-old-space-size=28784 --trace-warnings --experimental-specifier-resolution=node dist/index.js",
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx . && npm run type-check",
"lint:fix": "eslint --ignore-path .gitignore --ext .ts,.tsx . --fix",
"format": "prettier --parser typescript --ignore-path .gitignore --write '**/*.{js,jsx,ts,tsx}'",
"type-check": "tsc --noEmit",
"check-nonce": "npm run build && node dist/helpers/scripts/checkNonceTracking.js",
"mocha": "mocha --node-env=test --config .mocharc.json",
"mocha-light": "mocha --node-env=test --config .mocharc.json --exclude \"./dist/test/integration/compute.test.js\"",
"test": "npm run lint && npm run test:unit:cover && npm run test:integration:cover",
"test:unit": "npm run build-tests && npm run mocha \"./dist/test/unit/**/*.test.js\"",
"test:integration": "npm run build-tests && npm run mocha \"./dist/test/integration/**/*.test.js\"",
"test:computeunit": "npm run build-tests && npm run mocha \"./dist/test/unit/compute.test.js\"",
"test:computeintegration": "npm run build-tests && npm run mocha \"./dist/test/integration/compute.test.js\"",
"test:indexer": "npm run build-tests && npm run mocha \"./dist/test/integration/indexer.test.js\"",
"test:integration:light": "npm run build-tests && npm run mocha-light \"./dist/test/integration/**/*.test.js\"",
"test:unit:cover": "nyc --report-dir coverage/unit npm run test:unit",
"test:integration:cover": "nyc --report-dir coverage/integration --no-clean npm run test:integration",
"logs": "./scripts/logs.sh",
"setup-ocean-cli": "git clone https://github.com/oceanprotocol/ocean-cli.git && cd ocean-cli && npm install && npm run build",
"test:k6-common": "npm run build-tests && K6_WEB_DASHBOARD=true K6_WEB_DASHBOARD_EXPORT=html-report.html",
"test:smoke": "npm run test:k6-common k6 run -e TEST_TYPE=smoke \"./dist/test/performance/perf_test.js\"",
"test:load": "npm run test:k6-common k6 run -e TEST_TYPE=load \"./dist/test/performance/perf_test.js\"",
"test:stress": "npm run test:k6-common k6 run -e TEST_TYPE=stress \"./dist/test/performance/perf_test.js\"",
"test:request:rate": "npm run test:k6-common && k6 run -e RATE=true \"./dist/test/performance/perf_test.js\"",
"release": "release-it --non-interactive",
"changelog": "auto-changelog -p"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^17.0.0",
"@chainsafe/libp2p-yamux": "^8.0.1",
"@elastic/elasticsearch": "^8.14.0",
"@libp2p/autonat": "^3.0.9",
"@libp2p/bootstrap": "^12.0.10",
"@libp2p/circuit-relay-v2": "^4.1.2",
"@libp2p/crypto": "^5.1.13",
"@libp2p/dcutr": "^3.0.9",
"@libp2p/identify": "^4.0.9",
"@libp2p/kad-dht": "^16.1.2",
"@libp2p/mdns": "^12.0.10",
"@libp2p/peer-id": "^6.0.4",
"@libp2p/peer-id-factory": "^4.2.4",
"@libp2p/ping": "^3.0.9",
"@libp2p/pubsub": "^10.1.18",
"@libp2p/pubsub-peer-discovery": "^12.0.0",
"@libp2p/tcp": "^11.0.9",
"@libp2p/upnp-nat": "^4.0.9",
"@libp2p/websockets": "^10.1.2",
"@multiformats/multiaddr": "^12.2.3",
"@oceanprotocol/contracts": "^2.5.0",
"@oceanprotocol/ddo-js": "^0.1.4",
"axios": "^1.12.0",
"base58-js": "^2.0.0",
"cors": "^2.8.5",
"delay": "^5.0.0",
"dockerode": "^4.0.5",
"dotenv": "^16.3.1",
"eciesjs": "^0.4.5",
"eth-crypto": "^2.6.0",
"ethers": "^6.8.1",
"express": "^4.21.1",
"humanhash": "^1.0.4",
"hyperdiff": "^2.0.16",
"ipaddr.js": "^2.3.0",
"it-pipe": "^3.0.1",
"jsonwebtoken": "^9.0.2",
"libp2p": "^3.1.2",
"lodash": "^4.17.21",
"lzma-purejs-requirejs": "^1.0.0",
"node-cron": "^3.0.3",
"sqlite3": "^5.1.7",
"stream-concat": "^1.0.0",
"tar": "^7.4.3",
"uint8arrays": "^4.0.6",
"url-join": "^5.0.0",
"winston": "^3.11.0",
"winston-daily-rotate-file": "^4.7.1",
"winston-transport": "^4.6.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"@types/cors": "^2.8.17",
"@types/dockerode": "^3.3.31",
"@types/express": "^4.17.17",
"@types/ip": "^1.1.3",
"@types/jsonwebtoken": "^9.0.9",
"@types/lodash": "^4.17.21",
"@types/mocha": "^10.0.10",
"@types/node": "^25.0.3",
"@types/node-cron": "^3.0.11",
"@types/sinon": "^17.0.4",
"@types/tar-stream": "^3.1.4",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"auto-changelog": "^2.4.0",
"chai": "^4.3.10",
"concurrently": "^8.2.1",
"eslint": "^8.51.0",
"eslint-config-oceanprotocol": "^2.0.4",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^11.1.0",
"nyc": "^17.1.0",
"prettier": "^3.7.4",
"release-it": "^19.0.6",
"sinon": "^19.0.2",
"tsx": "^4.19.3",
"typescript": "^5.9.3"
},
"overrides": {
"elliptic": "^6.6.1",
"tough-cookie": "^4.1.3",
"xml2js": "^0.5.0",
"semver": "^7.5.2",
"tmp": "^0.2.3",
"base64url": "^3.0.1",
"eth-crypto": {
"secp256k1": "^5.0.0"
},
"eccrypto": {
"secp256k1": "^5.0.0"
}
},
"release-it": {
"hooks": {
"after:bump": "npm run changelog"
},
"plugins": {},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
}
}