add esbuild for bundling, update dependencies
This commit is contained in:
17
package.json
17
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user