Installing the bundler
Clone the jsPsych repository to your hard drive, for example via the GitHub GUI.
Install Node and NPM
Node and NPM can be downloaded via this link.
Download required files from this repo
Go to the jsPsych directory
Open a command prompt and go to the directory on your hard drive where you cloned the jsPsych repository.
Install webpack and webpack-cli
In the command prompt, run the following two statements:
npm install webpack
npm install webpack-cli
Now you're set to go!
Configuring the bundler
The file plugins.json contains a JSON array with plugins you'd like to bundle with jsPsych. Put the plugins your experiment requires in this file.
Running the bundler
Run the statement below to make a file jspsych.bundle.js. This file will contain jsPsych and the plugins you've listed in plugins.json.