diff --git a/index.js b/index.js new file mode 100644 index 000000000..cc9f19948 --- /dev/null +++ b/index.js @@ -0,0 +1,14 @@ +// pokesprite-images +// © MIT license + +// This file mostly exists so that the module's path can be determined +// by using require.resolve(), which fails for modules without entry point. + +const path = require('path') + +module.exports = { + baseDir: path.resolve(`${__dirname}`), + inventoryDirs: ['items', 'items-outline'], + pokemonDirs: ['pokemon-gen7x', 'pokemon-gen8'], + miscDirs: ['misc'] +} diff --git a/package.json b/package.json index 427c5ecd9..c58141544 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pokesprite-images", - "version": "2.1.0", + "version": "2.2.0", "description": "Database project of box and inventory sprites from the Pokémon core series games", "files": [ "contributors.md", @@ -12,6 +12,7 @@ "/icons", "/items", "/items-outline", + "/misc", "/pokemon-gen7x", "/pokemon-gen8", "/resources"