Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-ph

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-ph

At [Ph.Creative](http://www.ph-creative.com/) we like to make things quicker and easier to start new projects. [Yeoman](http://yeoman.io/) seemed the perfect tool for this. By creating a generator we could decide what tasks we always do at the start of a

  • 1.4.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
3
Weekly downloads
 
Created
Source

Ph.Creative Generator

At Ph.Creative we like to make things quicker and easier to start new projects. Yeoman seemed the perfect tool for this. By creating a generator we could decide what tasks we always do at the start of a project and then create a process that automatically downloads all the files we need.

Most, if not all, projects we do now are based on Bootstrap. Instead of pulling down Bootstraps CSS and then overriding as needed. We looked at using the SASS version. This always to override a few variables to match company colours yet still gives us the power of Bootstraps grid.

Whats included in this

As a base it asks a few questions:

Why

Why express and not connect?

This is just a preference. I prefer how express is. Also, in some projects, the server file has been updated to automatically include the header and footer on every page. This is so that we can keep the header and footer templates seperate yet still see how the effect other pages.

Stylus or SASS?

They obviously both do the same. SASS is the preferred choice yet Stylus has been looked into. Stylus is awesome and is lightning quick because it is built on Node.

jQuery version

We have dropped support for IE8, yet some clients still ask for this support. So instead of saying no, this gives the option to choose the correct version.

RequireJS

RequireJS allows us to split our files up into modules and then 'require' these modules on different pages. We also require modules based on the elements on the page. ie. Do we really need to load the slider module in if no sliders are present on the page? Also, because this is also done async we aren't slowing down the page loading times.

Keywords

FAQs

Package last updated on 11 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc