Dependency fix

This commit is contained in:
eli
2026-01-26 08:25:09 +00:00
parent 033bbe2512
commit 0d6bacf089
2 changed files with 32 additions and 116 deletions

View File

@@ -1,32 +1,34 @@
{
"name": "@elilee/mmap-native",
"version": "1.0.0",
"description": "",
"license": "ISC",
"author": "",
"description": "Node.js N-API mmap bindings",
"license": "MIT",
"type": "module",
"main": "./dist/lib/index.js",
"types": "./dist/lib/index.d.ts",
"files": [
"dist/",
"src/",
"lib/",
"binding.gyp"
],
"scripts": {
"install": "node-gyp rebuild",
"install": "node-gyp rebuild && tsc",
"build": "node-gyp rebuild && tsc",
"build:native": "node-gyp rebuild",
"build:ts": "tsc",
"build": "npm run build:native && npm run build:ts",
"clean": "node-gyp clean && rm -rf dist"
},
"devDependencies": {
"@types/node": "^22.0.0",
"dependencies": {
"node-gyp": "^11.0.0",
"typescript": "^5.7.0"
},
"overrides": {
"tar": "^7.0.0",
"glob": "^10.0.0",
"rimraf": "^5.0.0"
"devDependencies": {
"@types/node": "^22.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"os": ["linux", "darwin"],
"cpu": ["x64", "arm64"]
}
}