Jasper is a set of libraries which enable developers to create scalable and flexible single page applications (SPA) using component approach. Jasper is built on AngularJS.
Jasper applications are written in JavaScript or any language that is transpiled to it, like TypeScript.
- NodeJs
- Grunt - for building and testing jasper application:
npm install -g grunt-cli
- Yeoman - for scaffolding jasper application:
npm install -g yo
- Clone or download this repository
- Run
npm install
to install all dependencies - Run
yo jasper my-app
to create jasper application files - Run
grunt
to build created application - Browse to 'index.html' to see the application
To test application run grunt test
.
Altogether:
git clone [email protected]:jasperjs/jasper-application.git
cd jasper-application
npm install
yo jasper jasper-app
grunt test
To start developing server run node server
, then navigate to http://localhost:{port}
.
See this documentation.
At any time run grunt package
to create distributable application package. It will appear in the dist
folder of the application.