frontend-scaffold
A Base Front-end Application.
Prerequisites
The only hard dependency is node and npm (npm now comes pre-packaged with node).
Whats Included
Testing
Needs a test runner implementation for phantomjs.
mocha Unit tests
cucumber Integration tests
Documentation
Dependency Managment & Build Automation
uglify JS Compresion
cssmin CSS Compression
Client Libs
json2 JSON Parser and Serializer
Modernizer Browser Feature Detection
ember Application Framework
zepto DOM Manipulation
underscore Functional Helpers for working with Objects
and Arrays
underscore.string String
manipulation extenstions for underscore
Usage
make install
Install all dependencies.
make test
Run the tests. (Currently not working, problems using phantomjs).
make start
Starts a development server at localhost:8080. If you need to setup a proxy server
or your app is running on a different server. Use the proxy-conf.json
to define proxy routing (by default it proxies requests to /api
to localhost:4000
).
ToDO:
make dist
Runs build scripts to compile, uglify and concat client files. Outputs the production application todist/
.