-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
131 lines (131 loc) · 5.18 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
{
"name": "ardrive-upload-service",
"version": "0.1.0",
"main": "index.js",
"packageManager": "yarn@3.2.1",
"type": "commonjs",
"scripts": {
"clean": "rimraf [ lib .nyc_output coverage ]",
"format:fix": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"lint:check": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"typecheck": "tsc --noEmit",
"test": "nyc mocha --spec='src/**/*.test.ts' --spec='tests/**/*.test.ts'",
"test:local": "yarn db:up && yarn arlocal:up && yarn test \"$@\" ; yarn arlocal:down && yarn db:down",
"test:unit": "nyc mocha --spec='src/**/*.test.ts'",
"test:integration": "nyc mocha --spec='tests/**/*.test.ts'",
"test:integration:local": "yarn db:up && yarn arlocal:up && yarn test:integration \"$@\" ; yarn arlocal:down && yarn db:down",
"test:docker": "docker compose down -v ; docker compose --env-file .env.localstack --profile test up test-runner --exit-code-from test-runner --build",
"ci": "yarn build && yarn build:lambda && yarn test:docker",
"build": "yarn clean && tsc --project ./tsconfig.prod.json",
"build:lambda": "yarn build && node ./scripts/bundle-lambdas.cjs",
"dev": "yarn clean && tsc --project ./tsconfig.prod.json -w",
"start": "yarn node lib/index.js",
"start:watch": "yarn nodemon -r dotenv/config -r ./src/index.ts -w src -w docs -w .env",
"arlocal:up": "docker compose up arlocal -d",
"arlocal:down": "docker compose stop arlocal",
"db:up": "docker compose down -v ; docker compose up upload-service-pg -d && yarn db:migrate:latest",
"db:down": "docker compose down -v",
"db:migrate:up": "yarn knex migrate:up $* --cwd ./src/arch/db --knexfile knexfile.ts",
"db:migrate:down": "yarn knex migrate:down $* --cwd ./src/arch/db --knexfile knexfile.ts",
"db:migrate:latest": "yarn knex migrate:latest --cwd ./src/arch/db --knexfile knexfile.ts",
"db:migrate:rollback": "yarn knex migrate:rollback $* --cwd ./src/arch/db --knexfile knexfile.ts",
"db:migrate:new": "yarn knex migrate:make $* -x ts --cwd ./src/arch/db --knexfile knexfile.ts && yarn lint:fix && yarn prettier:fix",
"db:migrate:list": "yarn knex migrate:list --cwd ./src/arch/db --knexfile knexfile.ts"
},
"devDependencies": {
"@aws-sdk/types": "^3.357.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@kyvejs/sdk": "^1.3.2",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@types/aws-lambda": "^8.10.108",
"@types/bn.js": "^5.1.0",
"@types/chai": "^4.3.1",
"@types/deep-equal-in-any-order": "^1.0.1",
"@types/jsonwebtoken": "^9.0.1",
"@types/knex": "^0.16.1",
"@types/koa": "^2.13.4",
"@types/koa-router": "^7.4.4",
"@types/koa__cors": "^3.3.0",
"@types/mocha": "^9.1.1",
"@types/multistream": "^4.1.0",
"@types/node": "^18.15.11",
"@types/node-fetch": "^2.6.3",
"@types/opossum": "^8.1.7",
"@types/sinon": "^10.0.11",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"arlocal": "^1.1.66",
"axios-mock-adapter": "^1.21.4",
"chai": "^4.3.6",
"cross-env": "^7.0.3",
"deep-equal-in-any-order": "^2.0.6",
"dotenv-cli": "^7.3.0",
"esbuild": "^0.16.17",
"eslint": "^8.15.0",
"eslint-plugin-header": "^3.1.1",
"husky": "^8.0.1",
"lint-staged": "^12.5.0",
"mocha": "^10.0.0",
"nodemon": "^3.0.1",
"nyc": "^15.1.0",
"pg-query-stream": "^4.2.4",
"prettier": "^2.6.2",
"rimraf": "^5.0.1",
"sinon": "^14.0.0",
"ts-node": "^10.7.0",
"typescript": "^4.7.4"
},
"dependencies": {
"@ardrive/ardrive-promise-cache": "^1.3.0",
"@aws-sdk/abort-controller": "^3.303.0",
"@aws-sdk/client-s3": "^3.367.0",
"@aws-sdk/client-secrets-manager": "^3.363.0",
"@aws-sdk/client-sqs": "^3.363.0",
"@aws-sdk/client-ssm": "^3.363.0",
"@aws-sdk/lib-storage": "^3.367.0",
"@aws-sdk/node-http-handler": "^3.360.0",
"@aws-sdk/signature-v4-crt": "^3.451.0",
"@aws-sdk/util-retry": "^3.374.0",
"@cosmjs/amino": "^0.32.3",
"@cosmjs/crypto": "^0.32.3",
"@cosmjs/encoding": "^0.32.3",
"@ethersproject/signing-key": "^5.7.0",
"@koa/cors": "^5.0.0",
"@opentelemetry/api": "^1.7.0",
"@opentelemetry/auto-instrumentations-node": "^0.40.2",
"@opentelemetry/exporter-trace-otlp-http": "^0.46.0",
"@opentelemetry/instrumentation-aws-sdk": "^0.37.1",
"@opentelemetry/instrumentation-pg": "^0.37.1",
"@opentelemetry/sdk-node": "^0.46.0",
"@solana/wallet-adapter-base": "^0.9.22",
"@solana/web3.js": "^1.74.0",
"arbundles": "0.9.8",
"arweave": "1.11.6",
"arweave-stream-tx": "^1.2.2",
"aws-lambda": "^1.0.7",
"axios": "1.6.4",
"axios-retry": "^3.4.0",
"bignumber.js": "^9.1.0",
"bs58": "^5.0.0",
"dotenv": "^16.3.1",
"ethers": "^6.11.1",
"https": "^1.0.0",
"jsonwebtoken": "^9.0.0",
"knex": "^2.5.1",
"koa": "2.13.4",
"koa-router": "11.0.1",
"koa2-swagger-ui": "^5.8.0",
"multistream": "4.1.0",
"opossum": "^8.1.3",
"p-limit": "^3.1.0",
"pg": "^8.8.0",
"prom-client": "^14.1.0",
"winston": "^3.8.2",
"yaml": "^2.3.2"
},
"resolutions": {
"arweave": "1.11.6"
}
}