Socket
Book a DemoInstallSign in
Socket

generator-webappengine

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-webappengine

A Yeoman Generator for WebAppEngine. It includes Gulp, Browserify, Babelify, Stylus, Handlebars, i18next, and React.

latest
npmnpm
Version
0.2.1
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

generator-webappengine

NPM

A Yeoman Generator for WebAppEngine. It includes Gulp, Browserify, Babelify, Stylus, Handlebars, i18next, and React.

Installation

Follow the steps to run the generator:

$ npm install -g yo
$ npm install -g generator-webappengine
$ yo webappengine

Once completed, you have to install NPM packages and Bower components, and run the gulp command to build your project.

$ npm install
$ bower install
$ gulp

Now you can run node app/main.js to launch your web app, or use webappengine to load app.js. For example:

Your index.js might look like this:

var path = require('path');
var webappengine = require('webappengine');

webappengine({
   port: 8000,
   routes: [
       {
           type: 'server',
           route: '/',
           // An absolute path is recommended to use
           server: path.resolve(__dirname, 'app/app')
       }
   ]
});

License

Copyright (c) 2015 Cheton Wu

Licensed under the MIT License.

Keywords

boilerplate

FAQs

Package last updated on 09 Sep 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