I have a npm package that I published which has some scripts for a custom game. The scripts, when run, use package.json for a path, using the following:
package.json