Fork me on GitHub

JS Minification and Lint

To create jplist.core.min.js from sources:

npm run jscore

Enable verbose mode:

npm run jscore -- --verb

To create jplist.core-ajax.min.js from sources:

npm run jsajax

Enable verbose mode:

npm run jsajax -- --verb

To create any minified bundle or control:

npm run jsaddon -- addon-alias

For example:

npm run jsaddon -- textbox-filter

Enable verbose mode:

npm run jsaddon -- textbox-filter --verb

To rebuild jplist.core.min.js and all controls:

node ./build/closure/rebuild-js-all.js

To run jshint on jPList sources:

npm run lint