amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

Consider setting the homepage attribute in package.json #6

Open baharev opened 6 years ago

baharev commented 6 years ago

After running awsmobile publish with the default settings, one gets an error since the homepage is not set in package.json by default.

The nicest solution would be to set it automagically by awsmobile.

If that is too difficult, at least abort the awsmobile publish very early and do not run npm install, etc, if the homepage in the package.json is missing. The application won't work anyway, so don't bother with the build and publishing.

Again, this is only a minor pain point and it is easy to correct, but fixing it in awsmobile would improve the first impression and the overall customer experience.

elorzafe commented 6 years ago

I think in this case it should be necessary to update s3 static website configuration? Or when you build it is generated automatically?