• Stars
    star
    120
  • Rank 295,983 (Top 6 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 9 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Hosts the combined CreateJS library, and the tools for building it.

Using the CreateJS combined builds

CreateJS combined builds are a combined and minified version of

Note that shared classes are only included once, so these builds are not just concatenated versions of the individual libraries.

Individual and combined builds in this repository are also available on the CreateJS CDN, and can be installed via NPM.

NPM Usage

npm install createjs --save

For the time being, only ES5 versions of CreateJS are available, which can not yet be used with RequireJS, CommonJS, etc.

Building CreateJS combined builds

If you have special requirements, specifically combining your own version of the combined library with specific, custom, or the very latest individual libraries, you can install this repository. This process uses Grunt to make builds, as well as to update and deploy the CDN index.

Install dependencies

Node (0.10.x or greater is required):

node -v

If your node is out of date, install the latest from: http://nodejs.org/

After node is setup, install the other dependances:

# Install the grunt command line utility
sudo npm install grunt-cli -g

# Install all the dependencies for this project.
npm install

# Make sure you have the latest of all the createjs libraries.
# Install the dependencies in the build directories for each project, ie EaselJS/build
npm install

Setup

You'll need to change the default settings to suit your work environment. We have 2 config files:

  • config.json - Is meant to be in git and pushed to all developers.
  • config.local.json - Is added to .gitignore and and only for your local setup (any settings in here will override those in config.json)

Please adjust these settings to match your environment. All paths can either be relative from this folder, or absolute paths.

  • easel_path
  • preload_path
  • sound_path
  • tween_path

Building

To export a release build for this library run:

grunt build

This command will:

  • Execute each libraries corresponding build or next tasks.
  • Combine all the CreateJS classes into a single file.
  • Remove any duplicate classes (Things like Event, EventDispatcher)
  • Minify the combined file

To build the NEXT version run:

grunt next

Does the exact same process as above but uses NEXT as the version.

Main commands

  • grunt build - Builds all the projects and creates combined / minified files
  • grunt next - Same as build, but uses the NEXT version.
  • grunt core - Only run the global tasks (only, concat and minify js files, copy the examples and source to other folders.
  • grunt js - Only uglify and concat the javascript.
  • grunt cdn - Builds a new CDN index page and copies all required script files to build. (To build all libs and the cdn run grunt cdn:build or grunt build cdn)
  • grunt design - Build the CDN/ folder, which is deployed at https://code.createjs.com

More Repositories

1

EaselJS

The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.
JavaScript
8,073
star
2

SoundJS

A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
JavaScript
4,384
star
3

TweenJS

A simple but powerful tweening / animation library for Javascript. Part of the CreateJS suite of libraries.
JavaScript
3,505
star
4

PreloadJS

PreloadJS makes preloading assets & getting aggregate progress events easier in JavaScript. It uses XHR2 when available, and falls back to tag-based loading when not.
JavaScript
2,855
star
5

Zoe

ZoΓ« is an open source tool for generating spritesheet images and frame data from SWF files. It enables illustrators to maintain a familiar workflow while generating animations for EaselJS and other formats.
ActionScript
328
star
6

CreateJS

Repo for combined CreateJS library. Mainly for CDNs.
227
star
7

EaselJSRenderers

Runtime pluggable renderers for EaselJS (Canvas 2D, WebGL, HTML DOM, SVG).
JavaScript
165
star
8

sandbox

Contains demos, helper classes, experiments, and other resources that don't belong in the main repos.
JavaScript
150
star
9

AdobeAnimateDemo

Mini game with visual assets created in Adobe Animate CC
JavaScript
103
star
10

EaselJS-NodeJS

A NodeJS compatible build of EaselJS.
89
star
11

html5ads

An in-depth white paper on building HTML5 advertising with CreateJS and Flash Pro. Includes supporting materials, sample banner ad, and helper classes.
JavaScript
72
star
12

localization

Repo for collaborative creation of localized documentation.
JavaScript
47
star
13

core

Core code shared by two or more CreateJS libraries. For example, the event model.
JavaScript
14
star
14

build

The CreateJS build tools & process.
CSS
10
star