From a4cead05154f1f48adc1bd72865140ae8a7e2524 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 8 Oct 2024 13:18:55 +0200 Subject: [PATCH] added needed data for npm module publishing --- index.js | 2 +- package.json | 5 ++++- test.js | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 34db436..a1d1050 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -#! /usr/bin/env node +#!/usr/bin/env node /* CLI implementation for Rom Patcher JS diff --git a/package.json b/package.json index 230f391..c326896 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,15 @@ "commander": "^11.0.0" }, "name": "rom-patcher", - "description": "A ROM patcher made in Javascript.", + "description": "A ROM patcher made in Javascript. Compatible with IPS, BPS, APS, UPS and more formats.", "version": "3.0.0", "main": "index.js", "scripts": { "test": "node test.js" }, + "bin": { + "RomPatcher": "./index.js" + }, "author": "Marc Robledo", "license": "MIT" } diff --git a/test.js b/test.js index 0d2d8d8..2250c71 100644 --- a/test.js +++ b/test.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node + /* Test battery for Rom Patcher JS https://github.com/marcrobledo/RomPatcher.js