mirror of
https://github.com/ryanwtf7/hianime-api.git
synced 2026-04-17 13:31:44 +00:00
fix: rename package to hianime-v2 and implement ncc bundling for vercel
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hianime-api",
|
||||
"version": "2.1.0",
|
||||
"name": "hianime-v2",
|
||||
"version": "2.2.0",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -24,7 +24,7 @@
|
||||
"test:jest": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
||||
"test:all": "bun run test && bun run test:jest",
|
||||
"clean": "rm -rf dist node_modules/.cache",
|
||||
"vercel-build": "bun build api/index.ts --outfile api/index.js --target node"
|
||||
"vercel-build": "ncc build api/index.ts -o api"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hono/node-server": "^1.8.2",
|
||||
@@ -37,6 +37,7 @@
|
||||
"@types/node": "^25.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
||||
"@typescript-eslint/parser": "^7.0.0",
|
||||
"@vercel/ncc": "^0.38.4",
|
||||
"@vitest/ui": "^4.1.1",
|
||||
"bun-types": "^1.3.11",
|
||||
"eslint": "^8.57.0",
|
||||
|
||||
Reference in New Issue
Block a user