diff --git a/package.json b/package.json index 046b4e3..9b387f2 100644 --- a/package.json +++ b/package.json @@ -3,15 +3,27 @@ "version": "1.0.2", "description": "A Node.js module for word order independent string similarity search", "main": "index.js", + "engines": { + "node": ">=14.0.0" + }, "scripts": { "install": "node-gyp rebuild", - "test": "node test.js" + "rebuild": "node-gyp rebuild", + "build": "node-gyp rebuild", + "clean": "node-gyp clean", + "configure": "node-gyp configure", + "test": "node test.js", + "pretest": "npm run build" }, "keywords": [ "search", "similarity", "string", - "fuzzy" + "fuzzy", + "native", + "addon", + "c++", + "performance" ], "author": "", "license": "MIT", @@ -19,5 +31,29 @@ "nan": "^2.22.2", "node-addon-api": "^6.0.0" }, - "gypfile": true + "devDependencies": { + "node-gyp": "^11.2.0" + }, + "repository": { + "type": "git", + "url": "" + }, + "files": [ + "index.js", + "binding.gyp", + "similarity_search.c", + "similarity_search.h", + "similarity_search_addon.cc", + "README.md" + ], + "gypfile": true, + "os": [ + "win32", + "darwin", + "linux" + ], + "cpu": [ + "x64", + "arm64" + ] }