2019-03-21 09:52:25 +01:00
|
|
|
# iwmlib
|
|
|
|
|
2019-03-22 13:48:42 +01:00
|
|
|
## Install
|
|
|
|
|
|
|
|
Install the following dependencies globally
|
|
|
|
|
|
|
|
`npm i rollup gulp-cli -g`
|
|
|
|
|
|
|
|
and some dependencies locally
|
|
|
|
|
|
|
|
`npm i`
|
|
|
|
|
2019-03-22 12:54:57 +01:00
|
|
|
## Build
|
|
|
|
|
2019-03-29 15:06:07 +01:00
|
|
|
To build the iwmlib files type
|
2019-03-22 13:48:42 +01:00
|
|
|
|
|
|
|
`npm run build`
|
|
|
|
|
2019-03-29 15:06:07 +01:00
|
|
|
The files
|
|
|
|
|
|
|
|
- imwlib.js
|
|
|
|
- iwmlib.pixi.js
|
|
|
|
|
|
|
|
will be generated in the dist folder. If you want to build the files continuously type
|
2019-03-22 13:48:42 +01:00
|
|
|
|
|
|
|
`npm run watch`
|
|
|
|
|
|
|
|
To build the 3rd party library type
|
|
|
|
|
|
|
|
`npm run 3rdparty`
|
2019-03-29 08:49:53 +01:00
|
|
|
|
|
|
|
## Docs
|
|
|
|
|
|
|
|
To create the documentation in the folder ./doc/out type `npm run jsdoc`
|
|
|
|
|
|
|
|
Afterwards you can view the documentation here:
|
|
|
|
|
|
|
|
- The iwmlib [DocTests](./lib/index.html)
|
|
|
|
- The iwmlib [PixiJS DocTests](./lib/pixi/index.html)
|
|
|
|
|
|
|
|
## Useful PixiJS Resources
|
|
|
|
|
|
|
|
- The PixiJS [JavaScript API Docs](http://pixijs.download/dev/docs/index.html)
|
|
|
|
- The PixiJS [Examples](http://pixijs.github.io/examples/#/basics/basic.js)
|
|
|
|
- The PixiJS [GitHub Repository](https://github.com/pixijs/pixi.js)
|
|
|
|
|
|
|
|
## List of 3<sup>rd</sup> party libraries included
|
|
|
|
|
|
|
|
- [PixiJS](http://www.pixijs.com)
|
|
|
|
- [Greensock](https://greensock.com) with TweenLite
|