npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

createjs

v1.0.1

Published

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

Downloads

10,960

Readme

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