-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
160 lines (160 loc) · 6.53 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
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
{
"name": "ocean-node",
"version": "0.2.1",
"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 check-changes && npm run build:tsc",
"build:no-dashboard": "npm run clean && npm run build:tsc",
"build:tsc": "tsc --sourceMap",
"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",
"build:dashboard": "cd dashboard && npm install --maxsockets 1 && NODE_ENV=production npx next build",
"check-changes": "node scripts/dashboardChanges.js",
"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/dashboard*' -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: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-gossipsub": "^13.1.0",
"@chainsafe/libp2p-noise": "^15.1.0",
"@chainsafe/libp2p-yamux": "^6.0.2",
"@elastic/elasticsearch": "^8.14.0",
"@libp2p/autonat": "^1.1.1",
"@libp2p/bootstrap": "^10.1.1",
"@libp2p/circuit-relay-v2": "^1.1.1",
"@libp2p/crypto": "^4.1.5",
"@libp2p/dcutr": "^1.1.1",
"@libp2p/floodsub": "^9.1.1",
"@libp2p/identify": "^2.1.1",
"@libp2p/interface": "^1.6.0",
"@libp2p/interface-address-manager": "^3.0.1",
"@libp2p/kad-dht": "^12.1.1",
"@libp2p/mdns": "^10.1.1",
"@libp2p/peer-id": "^4.1.4",
"@libp2p/peer-id-factory": "^4.1.4",
"@libp2p/ping": "^1.1.1",
"@libp2p/pubsub": "^9.0.22",
"@libp2p/pubsub-peer-discovery": "^10.0.2",
"@libp2p/tcp": "^9.1.1",
"@libp2p/upnp-nat": "^1.2.1",
"@libp2p/websockets": "^8.1.1",
"@multiformats/multiaddr": "^10.2.0",
"@oceanprotocol/contracts": "^2.2.0",
"@rdfjs/dataset": "^2.0.1",
"@rdfjs/types": "^1.1.0",
"@types/lodash.clonedeep": "^4.5.7",
"@types/n3": "^1.16.4",
"@types/rdf-ext": "^2.2.5",
"@types/rdf-utils-fs": "^2.1.5",
"@types/rdfjs__data-model": "^2.0.7",
"@types/rdfjs__dataset": "^2.0.7",
"@types/rdfjs__parser-jsonld": "^2.1.6",
"@types/rdfjs__to-ntriples": "^2.0.6",
"@zazuko/env-node": "^2.1.3",
"axios": "^1.7.4",
"base58-js": "^2.0.0",
"cors": "^2.8.5",
"delay": "^5.0.0",
"dotenv": "^16.3.1",
"eciesjs": "^0.4.5",
"eth-crypto": "^2.6.0",
"ethers": "^6.8.1",
"express": "^4.21.1",
"hyperdiff": "^2.0.16",
"ip": "^2.0.1",
"it-pipe": "^3.0.1",
"libp2p": "^1.8.0",
"lodash.clonedeep": "^4.5.0",
"lzma-purejs-requirejs": "^1.0.0",
"n3": "^1.17.2",
"node-cron": "^3.0.3",
"private-ip": "^3.0.2",
"rdf-utils-fs": "^3.0.0",
"rdf-validate-shacl": "^0.5.5",
"rdflib": "^2.2.33",
"shacl-engine": "^0.1.2",
"sinon": "^17.0.1",
"sqlite3": "^5.1.7",
"stream-concat": "^1.0.0",
"ts-node": "^10.9.1",
"tsoa": "^5.1.1",
"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"
},
"devDependencies": {
"@types/chai": "^4.3.10",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.17",
"@types/ip": "^1.1.3",
"@types/lzma-native": "^4.0.4",
"@types/mocha": "^10.0.4",
"@types/node": "^20.14.2",
"@types/node-cron": "^3.0.11",
"@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": "^10.2.0",
"nyc": "^17.1.0",
"prettier": "^3.0.3",
"release-it": "^17.6.0",
"tsx": "^3.12.8"
},
"release-it": {
"hooks": {
"after:bump": "npm run changelog"
},
"plugins": {},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
}
}