From 6f50797cdcccee9edbeac1740eed991f12c3155b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 21:27:33 +0000 Subject: [PATCH] feat: modernize package.json Adds keywords, homepage, and bugs URLs to improve package discoverability and support. Converts the author field to an object and updates the repository URL to use HTTPS for better security. Adds a test script to run the accelerometer example for basic validation. --- package.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4d40dc3..2771365 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,25 @@ "version": "0.3.0", "description": "Native bindings for i2c-dev. Plays well with Raspberry Pi and BeagleBone.", "main": "main.js", - "author": "Kelly Korevec", + "author": { + "name": "Kelly Korevec" + }, "repository": { "type": "git", - "url": "http://github.com/korevec/node-i2c.git" + "url": "https://github.com/korevec/node-i2c.git" }, + "homepage": "https://github.com/korevec/node-i2c", + "bugs": "https://github.com/korevec/node-i2c/issues", + "keywords": [ + "i2c", + "i2c-dev", + "raspberry pi", + "beaglebone" + ], "license": "BSD-3-Clause-Attribution", + "scripts": { + "test": "node examples/accelerometer/accel.js" + }, "dependencies": { "bindings": "^1.5.0", "nan": "^2.24.0"