{"name":"react-slick","version":"0.30.3","description":" React port of slick carousel","main":"./lib","scripts":{"start":"NODE_OPTIONS=--openssl-legacy-provider gulp server","demo":"SINGLE_DEMO=true DEV_PORT=8000 NODE_OPTIONS=--openssl-legacy-provider gulp server","build-dev":"gulp clean && gulp copy && webpack","lib":"babel ./src --out-dir ./lib","build":"NODE_OPTIONS=--openssl-legacy-provider npm run lib && NODE_OPTIONS=--openssl-legacy-provider gulp dist","prepublishOnly":"npm run build","lint":"eslint src","gen":"node docs/scripts/generateExampleConfigs.js && node docs/scripts/generateExamples.js && xdg-open docs/jquery.html","precommit":"lint-staged","test":"jest","test-watch":"jest --watch","clear-jest":"jest --clearCache"},"author":{"name":"Kiran Abburi"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/akiran/react-slick.git"},"keywords":["slick","carousel","Image slider","orbit","slider","react-component"],"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.16.0","@babel/eslint-parser":"^7.16.3","@babel/plugin-proposal-class-properties":"^7.1.0","@babel/polyfill":"^7.0.0","@babel/preset-env":"^7.1.0","@babel/preset-react":"^7.0.0","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^16.1.0","@testing-library/user-event":"^14.3.0","autoprefixer":"^7.1.2","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","babel-loader":"^8.0.4","babel-preset-airbnb":"^2.1.1","css-loader":"^2.1.1","deepmerge":"^1.1.0","del":"^2.2.2","es5-shim":"^4.5.9","eslint":"^8.4.1","eslint-plugin-import":"^2.25.3","eslint-plugin-react":"^7.27.1","express":"^4.14.0","foundation-apps":"^1.2.0","gulp":"^4.0.0","husky":"^0.14.3","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","js-beautify":"^1.7.5","json-loader":"^0.5.4","lint-staged":"^12.1.2","opn":"^5.4.0","postcss-loader":"^1.3.3","prettier":"^1.14.3","raf":"^3.4.0","react":"^19.0.0","react-dom":"^19.0.0","regenerator-runtime":"^0.14.1","sinon":"^2.1.0","slick-carousel":"^1.8.1","style-loader":"^0.16.1","uglifyjs-webpack-plugin":"^2.0.1","webpack":"^4.21.0","webpack-cli":"^3.1.2","webpack-dev-server":"^3.1.9","why-did-you-update":"^0.1.1"},"dependencies":{"classnames":"^2.2.5","enquire.js":"^2.1.6","json2mq":"^0.2.0","lodash.debounce":"^4.0.8","resize-observer-polyfill":"^1.5.0"},"peerDependencies":{"react":"^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"npmName":"react-slick","npmFileMap":[{"basePath":"/dist/","files":["*.js"]}],"bugs":{"url":"https://github.com/akiran/react-slick/issues"},"homepage":"https://react-slick.neostack.com","collective":{"type":"opencollective","url":"https://opencollective.com/react-slick","logo":"https://opencollective.com/opencollective/logo.txt"},"_id":"react-slick@0.30.3","gitHead":"47cdd84799f146a9636511dbfcf3087bdbfd15ee","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-B4x0L9GhkEWUMApeHxr/Ezp2NncpGc+5174R02j+zFiWuYboaq98vmxwlpafZfMjZic1bjdIqqmwLDcQY0QaFA==","shasum":"3af5846fcbc04c681f8ba92f48881a0f78124a27","tarball":"http://registry-npm.ywwl.com/react-slick/download/react-slick-0.30.3.tgz","fileCount":16,"unpackedSize":815434,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNAFODC84/gsQe+hbZGHcNY/l3Izmlo4Rxq9Drooq5+AIhAKhD7tPbSpXKUpS9QyR2MaASYkwNTQ2G2ZqTmq0lmGIH"}],"size":186828,"noattachment":false,"key":"/react-slick/-/react-slick-0.30.3.tgz"},"_npmUser":{"name":"akiran","email":"kiran@neostack.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-slick_0.30.3_1734422849848_0.48330753847237307"},"_hasShrinkwrap":false,"readme":"### react-slick\n\n[![Backers on Open Collective](https://opencollective.com/react-slick/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/react-slick/sponsors/badge.svg)](#sponsors)\n\n##### Carousel component built with React. It is a react port of [slick carousel](http://kenwheeler.github.io/slick/)\n\n## [Documentation](http://react-slick.neostack.com)\n\n### Installation\n\n**npm**\n\n```bash\nnpm install react-slick --save\n```\n\n**yarn**\n\n```bash\nyarn add react-slick\n```\n\n**Also install slick-carousel for css and font**\n\n```bash\nnpm install slick-carousel\n\n// Import css files\nimport \"slick-carousel/slick/slick.css\";\nimport \"slick-carousel/slick/slick-theme.css\";\n```\n\nor add cdn link in your html\n\n```html\n<link\n  rel=\"stylesheet\"\n  type=\"text/css\"\n  charset=\"UTF-8\"\n  href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css\"\n/>\n<link\n  rel=\"stylesheet\"\n  type=\"text/css\"\n  href=\"https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css\"\n/>\n```\n\n### [PlayGround](https://stackblitz.com/edit/vitejs-vite-ownrun?file=src%2FImageSlider.jsx)\n\n### Example\n\n```js\nimport React from \"react\";\nimport Slider from \"react-slick\";\n\nexport default function SimpleSlider() {\n  var settings = {\n    dots: true,\n    infinite: true,\n    speed: 500,\n    slidesToShow: 1,\n    slidesToScroll: 1\n  };\n  return (\n    <Slider {...settings}>\n      <div>\n        <h3>1</h3>\n      </div>\n      <div>\n        <h3>2</h3>\n      </div>\n      <div>\n        <h3>3</h3>\n      </div>\n      <div>\n        <h3>4</h3>\n      </div>\n      <div>\n        <h3>5</h3>\n      </div>\n      <div>\n        <h3>6</h3>\n      </div>\n    </Slider>\n  );\n}\n```\n\n### Props\n\nFor all available props, go [here](https://react-slick.neostack.com/docs/api/).\n\n### Methods\n\nFor all available methods, go [here](https://react-slick.neostack.com/docs/api#methods)\n\n### Development\n\nWant to run demos locally\n\n```bash\ngit clone https://github.com/akiran/react-slick\ncd react-slick\nnpm install\nnpm start\nopen http://localhost:8080\n```\n\n## Community\n\nJoin our [discord channel](https://discord.gg/z7stRE4Cyb) to discuss react-slick bugs and ask for help\n\n## Contributing\n\nPlease see the [contributing guidelines](./CONTRIBUTING.md)\n","publish_time":1734422850132,"maintainers":[{"name":"akiran","email":"kiran@neostack.com"}],"_cnpm_publish_time":1734422850132,"dist-tags":{"beta":"0.27.2-beta-0","latest":"0.31.0"}}