# createjs

> A suite of modular libraries and tools which work together or independently to enable rich interactive content on open web technologies via HTML5.

Latest version **1.0.1** (published 2017-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install createjs
pnpm add createjs
yarn add createjs
bun add createjs
```

## Health

**Score 18/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-09-18 |
| First published | 2012-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/createjs) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 122 |
| Author | gskinner.com, inc. |
| Maintainers | wdamien, lannymcnie, createjs |
| Keywords | createjs, easeljs, tweenjs, soundjs, preloadjs, zoe, gskinner, flash, javascript, canvas, html5, animate |

## Links

- npm: https://www.npmjs.com/package/createjs
- Repository: https://github.com/CreateJS/Combined
- Homepage: https://github.com/CreateJS/Combined#readme
- Issues: https://github.com/CreateJS/Combined/issues
- npm.io page: https://npm.io/package/createjs

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-09-18
- 1.0.0 — 2017-09-15
- 0.0.1 — 2016-09-15
- 0.0.0 — 2012-08-03

## README

# Using the CreateJS combined builds #

CreateJS combined builds are a combined and minified version of 
* [EaselJS](http://createjs.com/easeljs)
* [TweenJS](http://createjs.com/tweenjs)
* [PreloadJS](http://createjs.com/preloadjs)
* [SoundJS](http://createjs.com/soundjs)

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](https://code.createjs.com), 
and can be installed via [NPM](https://www.npmjs.com/package/createjs).

### 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](http://gruntjs.com/) 
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

---
_Source: https://npm.io/package/createjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
