-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
115 lines (115 loc) · 3.11 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
{
"name": "@web5/dwn-server",
"type": "module",
"version": "0.6.1",
"files": [
"dist",
"src"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/src/index.js",
"exports": {
".": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/index.js"
}
},
"bin": {
"dwn-server": "./dist/esm/src/main.js"
},
"repository": {
"type": "git",
"url": "https://github.com/TBD54566975/dwn-server.git"
},
"homepage": "https://github.com/TBD54566975/dwn-server#readme",
"bugs": {
"url": "https://github.com/TBD54566975/dwn-server/issues"
},
"dependencies": {
"@tbd54566975/dwn-sdk-js": "0.5.2",
"@tbd54566975/dwn-sql-store": "0.6.9",
"@web5/common": "^1.1.0",
"@web5/crypto": "^1.0.6",
"@web5/dids": "^1.2.0",
"better-sqlite3": "^8.5.0",
"body-parser": "^1.20.2",
"bytes": "3.1.2",
"cors": "2.8.5",
"express": "^4.20.0",
"kysely": "^0.26.3",
"loglevel": "^1.8.1",
"loglevel-plugin-prefix": "^0.8.4",
"multiformats": "11.0.2",
"mysql2": "^3.9.7",
"node-fetch": "3.3.1",
"pg": "^8.11.2",
"pg-cursor": "^2.10.2",
"prom-client": "14.2.0",
"readable-stream": "4.4.2",
"response-time": "2.3.2",
"uuid": "9.0.0",
"ws": "8.18.0"
},
"devDependencies": {
"@types/bytes": "3.1.1",
"@types/chai": "4.3.4",
"@types/chai-as-promised": "7.1.5",
"@types/express": "4.17.21",
"@types/mocha": "10.0.1",
"@types/node": "18.11.18",
"@types/readable-stream": "4.0.6",
"@types/sinon": "17.0.3",
"@types/supertest": "2.0.12",
"@types/ws": "8.5.10",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"c8": "8.0.1",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"crypto-browserify": "^3.12.0",
"esbuild": "0.16.17",
"eslint": "8.56.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-todo-plz": "^1.3.0",
"http-proxy": "^1.18.1",
"husky": "^8.0.0",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
"karma-esbuild": "2.2.5",
"karma-mocha": "^2.0.1",
"lint-staged": "^15.2.9",
"mocha": "^10.2.0",
"puppeteer": "^22.11.2",
"sinon": "17.0.1",
"stream-browserify": "^3.0.0",
"supertest": "6.3.3",
"typescript": "^5.1.6"
},
"scripts": {
"build:esm": "npm run clean & tsc",
"build:cjs": "npm run build:esm && node build/create-cjs-bundle.cjs && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"clean": "rimraf dist && rimraf generated/*",
"lint": "eslint . --ext .ts --max-warnings 0",
"lint:fix": "eslint . --ext .ts --fix",
"test": "npm run build:esm && cp -R tests/fixtures dist/esm/tests && c8 mocha",
"server": "npm run build:esm && node dist/esm/src/main.js",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
},
"overrides": {
"express": {
"serve-static": "^1.16.2"
}
}
}