How to build the StPageFlip JS file:

1.Open your terminal and navigate to this folder (js/source/stpageflip-source/).
2.Run npm install to install the required dependencies.
3.Run npm run build to compile the TypeScript files into the final page-flip.browser.js file 

used in the plugin.