generator-ayen

0.0.12 • Public • Published

generator-ayen Build Status

Yeoman generator with Anything You'll Ever Need to write a single-page app. Features live-reloading development workflow, Browserify, Bower integration, Jade templates, a CSS preprocessor and testing tools.

WARNING: This generator is still in flux. Expect breaking changes.

Features:

Installation

Install Yeoman

Yeoman is a project scaffolding tool. You install it from npm by running:

npm install -g yo

Installing Ayen

To install generator-ayen from npm, run:

npm install -g generator-ayen

Installing Gulp

Ayen projects need Gulp to work. You know the drill:

npm install -g gulp

Creating a project

Pick a good spot on your hard drive for your project and cd to it:

mkdir my-new-app
cd my-new-app

Initiate the generator:

yo ayen

Now just answer all the questions truthfully and you're done.

P.S.: Did you know you can run yo ayen again even after you've already scaffolded an app? Yeoman will help you resolve conflicting files, so don't worry about losing your work if you re-scaffold.

Ayen knows to play nice with your project even after you've done some work, so don't hesitate to upgrade your build environment whenever a new version of ayen is out.

Using your new project

Watching

Start the watcher:

gulp watch

A browser window will pop out. It will reload whenever you make a change to a file.

At this point, you can start hacking away with your favorite text editor.

You will find browser-side code in ./client and server-side code in ./server.

Building

gulp build:dist

This builds for production and outputs the results in ./public.

gulp build

This builds a minimal development build in ./public. It contains symlinks, so you may not want to move it around.

Testing (Work in Progress)

gulp test

This runs the tests once

gulp test:watch

This runs the in continuous live-reload mode (just like gulp watch).

gulp pagespeed

Checks your site automatically against Google's Pagepeed.

Known issues

  • Tests are not implemented yet
  • Sometimes, the server process remains orphaned in the background after gulp quits

License

MPLv2

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.121latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.121
0.0.101
0.0.91
0.0.81
0.0.72
0.0.61
0.0.51
0.0.41
0.0.31
0.0.21

Package Sidebar

Install

npm i generator-ayen

Weekly Downloads

11

Version

0.0.12

License

MPL-2.0

Last publish

Collaborators

  • da_petcu21