heroku-buildpack-sweettooth-storefront-js enables you to run your ES6 application on Heroku with the help of Gulp.
This buildpack allows you to push - without building - to Heroku, that way it is trans-/compiled on Heroku, thus eliminating room for error in terms of versioning, architecture, etc.
There are 3 folders:
. ├── bin │ ├── compile │ ├── detect │ ├── release ├── scripts │ ├── static.json └── vendor └── jq
binis responsible for most of the work
detectscript is used to make a check that makes sure we're running with a correct application, in our case, we're checking that we pushed a Node.js project
releasescript is one that needs to be there, but can be used for versioning; not in use right now
compilescript is used to run the compilation; it is manually setting up the environment to run and host our application
scriptshosts external files that we will need to used
vendorhosts third-party scripts (or services) that we are using
jqis a JSON parser used to grab keys from
package.jsonsuch as Node engine and
Copy the snippet above into CLI.