Excolo-Slider icon indicating copy to clipboard operation
Excolo-Slider copied to clipboard

Turn into npm package

Open NikolajDL opened this issue 4 years ago • 2 comments

This is an older library from before the npm package manager became popular. To make this library more widely available, it would be neat to have it published to the npm registry.

This issue is about preparing the solution to be published.

NikolajDL avatar Oct 10 '20 10:10 NikolajDL

what we need to do in this

silenteyesoncode avatar Oct 12 '20 20:10 silenteyesoncode

Basically just create a package.json file with the proper information and ensure the code can be imported by more modern methods like import slider from 'excolo-slider'. This jQuery plugin was built using the AMD pattern, back when RequireJS were popular, so it might not be compatible with ES6 imports or CommonJS modules as it stands right now.

NikolajDL avatar Oct 12 '20 21:10 NikolajDL