# @createjs/build

> CreateJS's central build and development process.

Latest version **2.0.0-beta.5** (published 2018-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @createjs/build
pnpm add @createjs/build
yarn add @createjs/build
bun add @createjs/build
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0-beta.5 |
| Published | 2018-11-28 |
| First published | 2018-03-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 21 |
| Unpacked size | 267.5 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 12 |
| Maintainers | lannymcnie, tehvgg, wdamien |
| Keywords | createjs, easel, tween, preload, sound, gskinner |

## Links

- npm: https://www.npmjs.com/package/@createjs/build
- Repository: https://github.com/createjs/build
- Homepage: https://createjs.com
- Issues: https://github.com/createjs/build/issues
- npm.io page: https://npm.io/package/@createjs/build

## Dependencies (21)

- [del](https://npm.io/package/del.md) ^3.0.0
- [gulp](https://npm.io/package/gulp.md) ^4.0.0
- [jest](https://npm.io/package/jest.md) ^23.6.0
- [canvas](https://npm.io/package/canvas.md) ^2.1.0
- [rollup](https://npm.io/package/rollup.md) ^0.66.6
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [fancy-log](https://npm.io/package/fancy-log.md) ^1.3.2
- [babel-core](https://npm.io/package/babel-core.md) 7.0.0-bridge.0
- [babel-jest](https://npm.io/package/babel-jest.md) ^23.6.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.1.2
- [ansi-colors](https://npm.io/package/ansi-colors.md) ^3.2.1
- [browser-sync](https://npm.io/package/browser-sync.md) ^2.26.3
- [@babel/register](https://npm.io/package/@babel/register.md) ^7.0.0
- [lodash.template](https://npm.io/package/lodash.template.md) ^4.4.0
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.1.0
- [rollup-plugin-babel](https://npm.io/package/rollup-plugin-babel.md) ^4.0.3
- [rollup-plugin-uglify](https://npm.io/package/rollup-plugin-uglify.md) ^6.0.0
- [rollup-plugin-cleanup](https://npm.io/package/rollup-plugin-cleanup.md) ^3.0.0
- [rollup-plugin-commonjs](https://npm.io/package/rollup-plugin-commonjs.md) ^9.2.0
- [rollup-plugin-multi-entry](https://npm.io/package/rollup-plugin-multi-entry.md) ^2.0.2
- [rollup-plugin-node-resolve](https://npm.io/package/rollup-plugin-node-resolve.md) ^3.4.0

## Recent versions

- 2.0.0-beta.5 (latest) — 2018-11-28
- 2.0.0-beta.4 — 2018-11-21
- 2.0.0-beta.3 — 2018-03-28
- 2.0.0-beta.2 — 2018-03-28
- 2.0.0-beta.1 — 2018-03-28

## README

# @createjs/build

This package serves as the master build process for transpiling and bundling the CreateJS source code for distribution. It is installed as a dependency to each library and as such is designed to run from within the `node_modules` directory.

Individual library builds are run from the respective library packages. Combined builds are meant for CDN distribution and are run from the [CreateJS package](https://github.com/createjs/createjs).

## Usage

Tasks within this package are run via npm scripts in the library packages. Here is a summary of tasks that this package can run:

###### `npm run build -- [--production] [--combined] [--format=cjs,iife]`

- transpile and bundle ES2015+ source to ES5 via Rollup & Babel
- `--production` iife build is minified
- `--combined` from CreateJS package for combined builds
- `--format` specify which Rollup bundle formats to export, defaults to all

###### `npm run plugins -- [--production] [--format=cjs,iife] [--files=FileName]`

- transpile ES2015+ plugin source to ES5 via Rollup & Babel
- `--production` iife build is minified
- `--format` specify which bundle formats to export, 'module' is disabled
- `--files` only transpile specific files (no file extension)

###### `npm run dev`

- transpile and bundle ES2015+ source to ES5 via Rollup & Babel
- non-minified, includes sourcemaps
- only bundles iife module as that is what is imported by examples
- starts a browser-sync instance for testing examples and tutorials
- watches source files for changes, re-compiling and reloading browser

###### `npm run lint`

- *NOT YET IMPLEMENTED*
- lint source code with ESLint
- uses the same config as the CI on GitHub, for local checks before committing

###### `npm test`

- uses Jest to run tests on spec files found in the `tests/` folder
- each library extends the master Jest config and setup file found in the build repo

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