voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.7k stars 500 forks source link

package.json devDependencies are not use properly #547

Closed benj0c closed 4 years ago

benj0c commented 4 years ago

First of all, we should clarify: dependencies are required to run, devDependencies only to develop, e.g.: unit tests, CoffeeScript to JavaScript transpilation, minification, etc. devDependencies are also installed on npm install in a directory that contains package.json, unless you pass the --production flag.

If we agree on that, there is list of npm packages needs to be moved from devDependencies to dependencies:

bago commented 4 years ago

We consider the "backend" a "development backend" and not a part of the final product (a client side javascript library).

So, those libraries are needed only during development.

bago commented 4 years ago

In fact, if you download the "binary releases" you won't find the development backend nor the libraries you cited.