TypeScript Conversion (#425)

Follows #424. Converts the upcoming 1.0.0 branch based on native browser-based traffic capture and recording to TypeScript. Fixes #426

---------
Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
Co-authored-by: emma <hi@emma.cafe>
This commit is contained in:
Ilya Kreymer 2023-11-09 11:27:11 -08:00 committed by GitHub
parent 877d9f5b44
commit af1e0860e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 2446 additions and 1406 deletions

View file

@ -7,7 +7,8 @@
"author": "Ilya Kreymer <ikreymer@gmail.com>, Webrecorder Software",
"license": "AGPL-3.0-or-later",
"scripts": {
"lint": "eslint *.js util/*.js tests/*.test.js",
"tsc": "tsc",
"lint": "eslint *.js tests/*.test.js",
"test": "yarn node --experimental-vm-modules $(yarn bin jest --bail 1)",
"prepare": "husky install"
},
@ -18,23 +19,31 @@
"crc": "^4.3.2",
"get-folder-size": "^4.0.0",
"husky": "^8.0.3",
"ioredis": "^4.27.1",
"ioredis": "^5.3.2",
"js-yaml": "^4.1.0",
"minio": "7.0.26",
"minio": "^7.1.3",
"p-queue": "^7.3.4",
"puppeteer-core": "^20.7.4",
"sharp": "^0.32.1",
"sitemapper": "^3.2.5",
"sitemapper": "^3.2.6",
"tsc": "^2.0.4",
"uuid": "8.3.2",
"warcio": "^2.2.0",
"warcio": "^2.2.1",
"ws": "^7.4.4",
"yargs": "^17.7.2"
},
"devDependencies": {
"eslint": "^8.37.0",
"@types/js-yaml": "^4.0.8",
"@types/node": "^20.8.7",
"@types/uuid": "^9.0.6",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"eslint-plugin-react": "^7.22.0",
"jest": "^29.2.1",
"md5": "^2.3.0"
"md5": "^2.3.0",
"typescript": "^5.2.2"
},
"jest": {
"transform": {},