1.0.1 • Published 4 years ago

generator-uqusdc v1.0.1

Weekly downloads
2
License
BSD-2-Clause
Repository
github
Last release
4 years ago

Web app generator for UNIQLO frontend projects

Yeoman generator that scaffolds out a front-end web app using gulp for the build process

This generator is an extension from the Web app generator


This Generator's Purpose in Life

The main reason for extending into this generator is for packaging up JS+HTML+CSS to be deployed in our projects. Due to the build process we use, behavior, structure and presentation needs to be assembled in this way before being deployed.

The generator takes the relevant code and cleanly dumps it into a place we can easily pull from. It sidesteps a lot of the typical markup in an HTML page, and just grabs the relevant content.

It pulls from originalHtml.html as well as .tmp/styles/main.css and dumps this into assembled.html. You're left with one clean and portable file to use.

To be clear about that main.css file, it's updated by the generator simply for use in the local development process. It's app/styles/** that you'll typically be editing.

Features

Please see our gulpfile for up to date information on what we support.

  • CSS Autoprefixing
  • Built-in preview server with BrowserSync
  • Automagically compile Sass with libsass
  • Automagically lint your scripts

  • Map compiled CSS to source stylesheets with source maps

  • slick is included via CDN

  • fancyBox 2.1.7 is included via CDN

For more information on what this generator can do for you, take a look at the gulp plugins used in our package.json.

Getting Started

  • Install Yeoman: npm install --g yo

  • Install Generator: npm install -g generator-uqusdc

  • Run yo uqusdc to scaffold your webapp
  • Run npm start to preview and watch for changes
  • Run npm start -- --port=8080 to preview and watch for changes in port 8080
  • Run npm install --save <package> to install dependencies, frontend included

  • Run npm run build to build your webapp for production

  • Run npm run serve:dist to preview the production build
  • Run npm run serve:dist -- --port=5000 to preview the production build in port 5000

License

BSD license

1.0.1

4 years ago

1.0.0

4 years ago

0.9.3

5 years ago

0.9.0

5 years ago

0.8.3

5 years ago

0.8.2

5 years ago

0.7.7

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.6

6 years ago

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.7

6 years ago

0.6.6

6 years ago

0.6.4

6 years ago

0.6.3

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.9

6 years ago

0.5.7

6 years ago

0.5.6

6 years ago

0.5.4

6 years ago

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago