-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 3.77 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
{
"name": "logion-backend-ts",
"version": "0.58.0",
"private": true,
"author": {
"name": "Logion Team",
"email": "info@logion.network",
"url": "https://logion.network/"
},
"license": "Apache-2.0",
"scripts": {
"build": "rimraf dist && yarn run generate-views && yarn patch-ipfs && yarn lint && tsc --project ./tsconfig.app.json && cp package.json ./dist",
"patch-ipfs": "sed -i 's/| ReadableStream<ImportCandidate>//g' node_modules/ipfs-core-types/src/utils.ts && sed -i 's/| ReadableStream<Uint8Array>//g' node_modules/ipfs-core-types/src/utils.ts",
"lint": "yarn eslint src/**",
"generate-views": "npx openapi-typescript resources/schemas.json --output src/logion/controllers/components.ts",
"start": "yarn run build && NODE_ENV=development node dist/app.js",
"inspect": "yarn run build && NODE_ENV=development node --inspect dist/app.js",
"serve": "tsc-watch --p ./tsconfig.app.json --onSuccess \"env NODE_ENV=development node ./dist/app.js\"",
"test": "NODE_OPTIONS=--loader=ts-node/esm jasmine --config=spec/support/jasmine.json",
"integration-test": "yarn run setup-test-db && NODE_OPTIONS=--loader=ts-node/esm jasmine --config=spec/support/jasmine-integration.json ; yarn run teardown-test-db",
"setup-test-db": "docker run -d --rm --name logion-test-db -e POSTGRES_PASSWORD=secret -p 5432:5432 logionnetwork/logion-postgres:latest",
"teardown-test-db": "docker stop logion-test-db",
"coverage": "nyc yarn run test",
"typeorm": "node ./node_modules/typeorm/cli.js -d ./dist/db-tools/ormconfig.js"
},
"dependencies": {
"@astar-network/astar-api": "^0.2.9",
"@astar-network/astar-sdk-core": "^0.2.9",
"@logion/node-api": "^0.31.2",
"@logion/node-exiftool": "^2.3.1",
"@logion/rest-api-core": "^0.6.0",
"@polkadot/api-contract": "^10.12.4",
"@polkadot/wasm-crypto": "^7.3.2",
"alchemy-sdk": "^3.3.0",
"ansi-regex": "^6.0.1",
"axios": "^1.3.2",
"bignumber.js": "^9.1.2",
"body-parser": "^1.20.1",
"bson": "^4.7.0",
"cors": "^2.8.5",
"ipfs-client": "^0.10.0",
"moment": "^2.29.4",
"node-fetch": "^3.3.0",
"nodemailer": "^6.8.0",
"pg": "^8.8.0",
"prom-client": "^14.1.0",
"pug": "^3.0.2",
"source-map-support": "^0.5.21",
"toad-scheduler": "^2.1.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@tsconfig/node18": "^1.0.1",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-fileupload": "^1.2.2",
"@types/jasmine": "^4.0.3",
"@types/luxon": "^3.4.2",
"@types/node": "^18.6.2",
"@types/nodemailer": "^6.4.4",
"@types/pug": "^2.0.6",
"@types/source-map-support": "^0.5.6",
"@types/supertest": "^2.0.11",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"dotenv": "^16.0.3",
"eslint": "^8.53.0",
"jasmine": "^5.1.0",
"jasmine-spec-reporter": "^7.0.0",
"moq.ts": "^10.0.2",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.0",
"typescript": "^4.9.4"
},
"engines": {
"node": ">=18"
},
"packageManager": "yarn@3.2.2",
"type": "module",
"resolutions": {
"@polkadot/api": "10.12.4",
"@polkadot/api-derive": "10.12.4",
"@polkadot/typegen": "10.12.4",
"@polkadot/types": "10.12.4",
"@polkadot/types-codec": "10.12.4"
}
}