34 lines
584 B
Markdown
34 lines
584 B
Markdown
# iwmlib
|
|
|
|
## Install
|
|
|
|
Install the following dependencies globally
|
|
|
|
`npm i rollup gulp-cli -g`
|
|
|
|
and some dependencies locally
|
|
|
|
`npm i`
|
|
|
|
Be sure that Python 3 is installed on your system (for building the 3rd party library).
|
|
|
|
## Build
|
|
|
|
To build the two iwmlib files type
|
|
|
|
`npm run build`
|
|
|
|
The files will be generated in the dist folder (iwmlib.js and iwmlib.pixi.js). If you want to watch the files for a continuously build type
|
|
|
|
`npm run watch`
|
|
|
|
To build the 3rd party library type
|
|
|
|
`npm run 3rdparty`
|
|
|
|
To create the minified version of the 3rd party library type
|
|
|
|
`npm run minify`
|
|
|
|
|