Skip to content

Commit

Permalink
Use more modern JS, and fix typescript errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskeane committed Dec 14, 2023
1 parent ff26e17 commit 4d8f19d
Show file tree
Hide file tree
Showing 14 changed files with 1,171 additions and 1,003 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run type-check
- run: npm test
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "",
"main": "src/index.js",
"scripts": {
"test": "mocha test/**/*.js"
"test": "mocha test/**/*.js",
"watch": "mocha -w --parallel test/",
"type-check": "tsc"
},
"type": "module",
"author": "",
Expand All @@ -21,6 +23,7 @@
"@types/bencode": "^2.0.0",
"@types/debug": "^4.1.5",
"@types/node": "^20.10.4",
"@types/sse4_crc32": "^7.0.3",
"ed25519-supercop": "^2.0.1",
"mocha": "^10.2.0",
"sinon": "^17.0.1",
Expand Down
Loading

0 comments on commit 4d8f19d

Please sign in to comment.