phaserjs/template-webpack

Phaser declared as a devDependency

coulgreer opened this issue ยท 0 comments

Current Behavior ๐Ÿ˜ฏ

As the title says: the Phaser package is declared under devDependencies instead of dependencies in package.json.

Expected Behavior ๐Ÿค”

Phaser should be declared under dependencies.

Steps to Reproduce ๐Ÿ•น

Look at the current package.json.

Context ๐Ÿ”ฆ

If a user of this template creates another package from this template package, Phaser -- the core of the template -- would be excluded when running npm install "$package". Although this may seem like a niche issue, it is also accompanied with an easy and necessary solution. This, too, will align this template with its vanilla JavaScript sibling template.