0.3.0 • Published 6 years ago
checkpack v0.3.0
Checkpack
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.
0.3.0
6 years ago
0.2.11
6 years ago
0.2.10
6 years ago
0.2.9
6 years ago
0.2.8
6 years ago
0.2.7
7 years ago
0.2.6
7 years ago
0.2.5
7 years ago
0.2.4
7 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago