Code Monkey home page Code Monkey logo

experiment-starter's Introduction

experiment-starter

Small starter for experiments using ES6, PIXI.js and TweenMax

Install

Clone this repository, then

npm install

This will install the project and its dependencies to be able to develop

Babelify
Browser-sync
Browserify
Stylus
Watchify

Vendor

Packages used on the end code. Feel free to add more ( npm install --save [packageName] )

PIXI.js
GSAP/Tweenmax

Tasks

Have a look to the 'scripts' field in package.json ;)

start

Launches a browser-sync server on port 9000 with livereload, open default browser and start watching

npm start

start:server

Launches a browser-sync server on port 9000, watch for changes only for /static files and open default browser.

npm run start:server

build

Bundle all JS and CSS static files.

npm run build

build:js

Bundle the main.js static file.

npm run build:js

build:js:vendor

Bundle the v.js static file from /src/scripts/vendor/vendor.js
By default, it contains PIXI.js and TweenMax on the window object.
Feel free to add more.

npm run build:js:vendor

build:css

Bundle the main.css static file.

npm run build:css

watch

Watch and rebundle all JS and CSS static files.

npm run watch

watch:js

Watch /src/scripts/ and rebundle the main.js static file.

npm run watch:js

watch:css

Watch /src/styles/ and rebundle the main.css static file.

npm run watch:css

experiment-starter's People

Contributors

williamapan avatar

Watchers

 avatar

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.