1
0

add esbuild for bundling, update dependencies

This commit is contained in:
2024-02-01 00:56:12 +01:00
parent 32e00ac6b9
commit 4ceac0270f
2 changed files with 441 additions and 33 deletions

View File

@@ -9,7 +9,7 @@
"node": ">=18"
},
"scripts": {
"build": "tsc",
"build": "esbuild src/index.ts --bundle --outfile=index.js && tsc --emitDeclarationOnly",
"test": "jest"
},
"repository": {
@@ -30,13 +30,14 @@
},
"homepage": "https://github.com/tsndr/cloudflare-worker-jwt#readme",
"devDependencies": {
"@cloudflare/workers-types": "^4.20231025.0",
"@cloudflare/workers-types": "^4.20240129.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.14",
"esbuild": "^0.20.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
}