Giter VIP home page Giter VIP logo

bouncy-ball's Introduction

Bouncy Ball

Welcome to the bouncy-ball repository. This is a web page that if you click anywhere on the page it will 'throw' a ball that will bounce on the floor, until it stops (vertically) or until it gets off the screen (horizontally).

Project Setup

The whole project is built around Grunt, the JavaScript Task Runner, to automate repetitive tasks, both for development and deployment. Grunt and Grunt plugins are installed and managed via npm, the Node.js package manager. Before continuing, please download and install the latest stable Node.js version.

To install both Grunt (globally in the system), open a console and run the following command:

npm install -g grunt grunt-cli

Assuming you have already cloned this repository to your machine, setup all necessary dependencies (for this project only) with the following command:

npm install

Running the app

If you run:

grunt serve

a local server will be spawned. If some of the development files change, the server will be restarted.

If you run:

grunt serveDist

a local server will be spawned but it will serve the minified version of the site.

If you run:

grunt build

you'll first validate the app running eslint and then jasmine (for unit tests) and then will create the dist path, with the minified files.

If you run:

grunt eslint

you'll run eslint (duh!).

If you run:

grunt karma:singleRun

you'll run all spec files just once.

If you run:

grunt karma:unit

you'll run all spec files and will watch for change, if any occurs it will 're-run' the spec files.

bouncy-ball's People

Contributors

soaresp avatar

Watchers

 avatar  avatar

Forkers

kunalpawar123

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.