starter-kit
is already a module, it is a set of maps all created to see a first game.
I don't advise you to modify in node_modules
, but rather to copy and paste the set in a folder of your project
Look at the structure of this start-up project:
https://github.com/rpgjs/template/blob/master/src
You find an important file referencing all the modules of your project:
https://github.com/rpgjs/template/blob/master/src/modules/index.ts
import main from './main'
import starterKit from '@rpgjs/starter-kit'
import defaultGui from '@rpgjs/default-gui'
import mobileGui from '@rpgjs/mobile-gui'
import gamepad from '@rpgjs/gamepad'
export default [
main,
starterKit,
defaultGui,
mobileGui,
gamepad
]
Here you can see the link to the stater-kit package. If you know your project file, you can change the import to point to your own starter-kit (eg: import starterKit from './starter-kit'