Formalizing scripts, build, and gruntfile