mirror of
https://github.com/msikma/pokesprite.git
synced 2026-03-21 17:54:23 -05:00
Add module entry point and ensure 'misc' files are included in the npm package
This commit is contained in:
parent
dce10f068d
commit
e21cdc24cb
14
index.js
Normal file
14
index.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// pokesprite-images <https://github.com/msikma/pokesprite>
|
||||
// © 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']
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user