-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 4.91 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 4.91 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
{
"name": "qs-bridge-oracle",
"version": "0.0.0",
"description": "Oracle server for the Qubic <-> Solana bridge",
"main": "app.js",
"type": "module",
"directories": {
"test": "test"
},
"scripts": {
"start": "npm run build && node dist/server.js",
"build": "tsc",
"watch": "tsc -w",
"dev": "tsx --env-file=.env.local ./src/server.ts",
"test": "c8 npm run test:run",
"test:run": "glob -c \"tsx --env-file=.env.test --test\" \"./test/**/*.ts\"",
"lint": "eslint --ignore-pattern=dist",
"lint:fix": "npm run lint -- --fix",
"simulated": "node dist/server.js",
"simulation": "npm run build && node scripts/shared/simulation.js",
"solana:generate-keypair": "node scripts/solana/generate-keypair.js",
"solana:airdrop": "node scripts/solana/airdrop.js",
"solana:init-global-state": "node --env-file=.env.local scripts/solana/init-global-state.js",
"solana:add-oracle": "node scripts/solana/add-oracle.js",
"solana:delete-oracle": "node scripts/solana/delete-oracle.js",
"solana:claim-oracle-fee": "node scripts/solana/claim-oracle-fee.js",
"solana:claim-protocol-fee": "node scripts/solana/claim-protocol-fee.js",
"solana:send-inbound-order": "node scripts/solana/send-inbound-order.js",
"solana:send-outbound-order": "node scripts/solana/send-outbound-order.js",
"solana:override-outbound-order": "node scripts/solana/override-outbound-order.js",
"solana:create-lookup-table": "node --env-file=.env.local scripts/solana/create-lookup-table.js",
"qubic:generate-keys": "node scripts/qubic/generate-keys.js",
"qubic:send-lock": "node scripts/qubic/send-lock.js",
"qubic:send-lock-via-indexer": "node scripts/qubic/send-lock-via-indexer.js",
"qubic:get-config": "node scripts/qubic/get-config.js",
"qubic:is-oracle": "node scripts/qubic/is-oracle.js",
"qubic:is-pauser": "node scripts/qubic/is-pauser.js",
"qubic:get-oracles": "node scripts/qubic/get-oracles.js",
"qubic:get-pausers": "node scripts/qubic/get-pausers.js",
"qubic:get-locked-order": "node scripts/qubic/get-locked-order.js",
"qubic:get-locked-orders": "node scripts/qubic/get-locked-orders.js",
"qubic:is-order-filled": "node scripts/qubic/is-order-filled.js",
"qubic:get-filled-orders": "node scripts/qubic/get-filled-orders.js",
"qubic:compute-order-hash": "node scripts/qubic/compute-order-hash.js",
"qubic:add-role": "node scripts/qubic/add-role.js",
"qubic:remove-role": "node scripts/qubic/remove-role.js",
"qubic:pause": "node scripts/qubic/pause.js",
"qubic:unpause": "node scripts/qubic/unpause.js",
"qubic:edit-oracle-threshold": "node scripts/qubic/edit-oracle-threshold.js",
"qubic:edit-fee-parameters": "node scripts/qubic/edit-fee-parameters.js",
"qubic:setup-contract": "node scripts/qubic/setup-contract.js",
"qubic:test-utils": "node --test scripts/qubic/utils.test.js"
},
"keywords": [],
"author": "Michelet Jean <jean.antoine.michelet@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/avicenne-studio/qs-bridge-oracle.git"
},
"homepage": "https://github.com/avicenne-studio/qs-bridge-oracle#readme",
"bugs": {
"url": "https://github.com/avicenne-studio/qs-bridge-oracle/issues"
},
"dependencies": {
"@fastify/autoload": "^6.3.1",
"@fastify/cookie": "^11.0.2",
"@fastify/cors": "^11.1.0",
"@fastify/env": "^5.0.2",
"@fastify/helmet": "^13.0.1",
"@fastify/rate-limit": "^10.3.0",
"@fastify/sensible": "^6.0.3",
"@fastify/session": "^11.1.0",
"@fastify/swagger": "^9.7.0",
"@fastify/swagger-ui": "^5.2.3",
"@fastify/type-provider-typebox": "^6.1.0",
"@fastify/websocket": "^11.2.0",
"@qubic-lib/qubic-ts-library": "^0.1.6",
"@sinclair/typebox": "^0.34.49",
"@solana-program/address-lookup-table": "^0.10.0",
"@solana-program/system": "^0.10.0",
"@solana-program/token": "^0.9.0",
"@solana/kit": "^5.5.1",
"@solana/web3.js": "^1.98.4",
"better-sqlite3": "^12.6.2",
"borsh": "^2.0.0",
"close-with-grace": "^2.4.0",
"concurrently": "^9.2.1",
"fastify": "^5.6.0",
"fastify-cli": "^7.4.1",
"fastify-plugin": "^5.0.1",
"knex": "^3.2.10",
"undici": "^7.22.0"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@lavamoat/allow-scripts": "^3.4.3",
"@lavamoat/preinstall-always-fail": "^2.1.1",
"@types/node": "^25.9.1",
"c8": "^10.1.3",
"eslint": "^9.39.2",
"fastify-tsconfig": "^3.0.0",
"tsx": "^4.20.5",
"typescript": "~5.9.2",
"typescript-eslint": "^8.51.0"
},
"lavamoat": {
"allowScripts": {
"@lavamoat/preinstall-always-fail": false,
"better-sqlite3": true,
"tsx>esbuild": false,
"@solana/web3.js>rpc-websockets>bufferutil": false,
"@solana/web3.js>rpc-websockets>utf-8-validate": false
}
},
"c8": {
"check-coverage": true,
"lines": 100,
"branches": 100,
"functions": 100,
"statements": 100
}
}