Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cursedcoder/checkpack

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkpack Build Status

Check your library integration with typescript and packagers such as webpack.

# available commands
checkpack --help

# output to browser
checkpack webpack -e src/integration.ts
checkpack browserify -e src/integration.ts
checkpack vanillajs -e src/integration.ts

# validate in chrome-headless, for CI purposes
checkpack webpack -e src/integration.ts --validate

VanillaJS compiler doesn't pack your dependencies automatically, so you need to include it in your build file:

import 'pixi.js';
import '../bin/pixi-spine.js';
import ResourceDictionary = PIXI.loaders.ResourceDictionary;
import Loader = PIXI.loaders.Loader;

//@../node_modules/pixi.js/dist/pixi.min.js
//@../bin/pixi-spine.js

// remove loader middleware which
// automatically loads spine objects
PIXI.loader['_afterMiddleware'].pop();

let app = new PIXI.Application();

document.body.appendChild(app.view);

Be sure to put it after any import statements.

About

Check if your library works with different packagers.

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.