diff --git a/package.json b/package.json index ca10048..488433b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "a package that allows you to use github like file storage", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "node tests/testmain.js" }, "author": "ION606", "license": "ISC", @@ -13,6 +13,10 @@ "base-64": "^1.0.0" }, "type": "module", + "repository": { + "type": "git", + "url": "https://github.com/ION606/github-to-fs/" + }, "keywords": [ "github", "fs", diff --git a/tests/testmain.js b/tests/testmain.js index facc8f7..f42e713 100644 --- a/tests/testmain.js +++ b/tests/testmain.js @@ -1,4 +1,4 @@ -import customFs from ".."; +import customFs from "../index.js"; import fs from 'fs'; const { token } = JSON.parse(fs.readFileSync('config.json'));