From e493c0273819fbbed08ac43da982da2739aa2816 Mon Sep 17 00:00:00 2001 From: ColonelParrot <65585002+ColonelParrot@users.noreply.github.com> Date: Sun, 7 May 2023 18:55:04 -0400 Subject: [PATCH] package.json: prep for Node support --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 50ee4a9..7889efa 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,12 @@ "name": "jscanify", "version": "1.0.0", "description": "Open-source Javascript mobile document scanner.", - "main": "src/jscanify.js", + "main": "src/jscanify-node.js", "directories": { "doc": "docs" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "mocha" }, "repository": { "type": "git", @@ -23,5 +23,10 @@ "bugs": { "url": "https://github.com/ColonelParrot/jscanify/issues" }, - "homepage": "https://colonelparrot.github.io/jscanify/" + "homepage": "https://colonelparrot.github.io/jscanify/", + "dependencies": { + "canvas": "^2.11.2", + "jsdom": "^22.0.0", + "mocha": "^10.2.0" + } }