forked from ar-io/ar-io-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.54 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
{
"name": "ar-io-node",
"description": "The AR.IO gateway core service",
"type": "module",
"main": "./dist/app.js",
"repository": {
"type": "git",
"url": "https://github.com/ar-io/ar-io-node"
},
"dependencies": {
"apollo-server-express": "^3.9.0",
"arbundles": "^0.6.19",
"arweave": "^1.11.4",
"axios": "^0.27.2",
"better-sqlite3": "^7.5.1",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"dotenv": "^16.3.1",
"express": "^4.18.1",
"express-async-handler": "^1.2.0",
"express-openapi-validator": "^5.0.1",
"express-prometheus-middleware": "^1.2.0",
"fastq": "^1.13.0",
"fs-extra": "^11.1.0",
"graphql": "^16.5.0",
"json-canonicalize": "^1.0.6",
"lmdb": "^2.8.5",
"middleware-async": "^1.3.5",
"msgpackr": "^1.6.2",
"node-cache": "^5.1.2",
"prom-client": "^14.0.1",
"ramda": "^0.28.0",
"range-parser": "^1.2.1",
"redis": "^4.6.10",
"retry-axios": "^3.0.0",
"rfc4648": "^1.5.2",
"sql-bricks": "^3.0.0",
"sql-bricks-sqlite": "^0.1.0",
"stream-chain": "^2.2.5",
"stream-json": "^1.7.2",
"swagger-ui-express": "^4.5.0",
"umzug": "^3.2.1",
"wait": "^0.4.2",
"winston": "^3.7.2",
"yaml": "^2.1.1",
"yesql": "^5.0.0"
},
"devDependencies": {
"@swc/core": "^1.2.241",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@types/better-sqlite3": "^7.5.0",
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/express": "^4.17.13",
"@types/express-prometheus-middleware": "^1.2.1",
"@types/fs-extra": "^11.0.1",
"@types/mocha": "^9.1.1",
"@types/msgpack-lite": "^0.1.8",
"@types/node": "^16.11.7",
"@types/ramda": "^0.28.15",
"@types/sinon": "^10.0.11",
"@types/source-map-support": "^0.5.4",
"@types/stream-chain": "^2.0.1",
"@types/stream-json": "^1.7.2",
"@types/supertest": "^2.0.16",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"c8": "^7.11.3",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unicorn": "^45.0.2",
"mocha": "^10.0.0",
"mocha-multi": "^1.1.7",
"msgpack-lite": "^0.1.26",
"nodemon": "^2.0.18",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"sinon": "^14.0.0",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-node": "^10.8.1",
"ts-sinon": "^2.0.2",
"typescript": "^4.7.3"
},
"scripts": {
"build": "yarn clean && npx tsc --project ./tsconfig.prod.json && yarn copy-files",
"copy-files": "copyfiles -u 1 src/**/*.graphql src/**/*.sql dist",
"clean": "npx rimraf [ .nyc_output coverage dist ]",
"start": "cross-env NODE_OPTIONS=\"--no-warnings --loader ts-node/esm\" node src/app.ts",
"start:prod": "yarn build && node dist/app.js",
"watch": "nodemon",
"db:migrate": "ts-node-esm ./src/migrate.ts",
"db:dump-test-schemas": "./test/dump-test-schemas",
"test": "mocha --no-warnings",
"test:ci": "npx c8 -r lcov mocha --no-warnings -R mocha-multi --reporter-options spec=-,json=test-results.json",
"test:coverage": "npx c8 -r text -r html mocha --no-warnings",
"lint:check": "eslint src test",
"lint:fix": "eslint --fix src test"
}
}