Setup environment

1. Install Node.js

Go to Nodejs.org

2. Install dependencies

npm install

Compile and test

Compile the script (webpack.config.js)

npx webpack

Watch and recompile when files change

npx webpack --watch

Run the test suite

npx jest

Run tests continuously when files change

npx jest --watch

Guidelines for making pull requests

  • Add tests if applicable.
  • Make sure all tests run. Preferably in IE7+
  • Do not include dist/list.js or dist/list.min.js. That file is only update for each release.
  • ONE feature per pull request
  • List.js is used in a lot of different ways on a lot of places, so please have understanding if your new special feature is not accepted :)