{"name":"@ant-design/react-slick","version":"2.0.0","keywords":["slick","carousel","Image slider","orbit","slider","react-component"],"author":{"name":"Kiran Abburi"},"license":"MIT","_id":"@ant-design/react-slick@2.0.0","maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"},{"name":"arvinxx","email":"arvinx@foxmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"ranranup123","email":"827743388@qq.com"}],"homepage":"https://react-slick.neostack.com","bugs":{"url":"https://github.com/ant-design/react-slick/issues"},"dist":{"shasum":"2d1dac45e7fc94060355f7cc233e92ca247133dc","tarball":"http://registry-npm.ywwl.com/@ant-design/react-slick/download/@ant-design/react-slick-2.0.0.tgz","fileCount":26,"integrity":"sha512-HMS9sRoEmZey8LsE/Yo6+klhlzU12PisjrVcydW3So7RdklyEd2qehyU6a7Yp+OYN72mgsYs3NFCyP2lCPFVqg==","signatures":[{"sig":"MEYCIQCdd3uVQMY3Rp8ucUjnYjZ5QmZAqg7EoCksZS+myvq8tAIhAKVRuWe/ModJ1jn8/sxVy6xZFK/KmdPKztdmvM7Lq5RA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":694270,"size":143421,"noattachment":false,"key":"/@ant-design/react-slick/-/@ant-design/react-slick-2.0.0.tgz"},"main":"./lib","types":"./types.d.ts","module":"./es","gitHead":"a662daf776ccdc6e7b7cb5a80cfe6536495b34c9","npmName":"@ant-design/react-slick","scripts":{"es":"ESMODULES=true babel ./src --out-dir ./es","gen":"node docs/scripts/generateExampleConfigs.js && node docs/scripts/generateExamples.js && xdg-open docs/jquery.html","lib":"babel ./src --out-dir ./lib","demo":"SINGLE_DEMO=true DEV_PORT=8000 NODE_OPTIONS=--openssl-legacy-provider gulp server","lint":"eslint src","test":"jest","start":"NODE_OPTIONS=--openssl-legacy-provider gulp server","compile":"NODE_OPTIONS=--openssl-legacy-provider npm run lib && NODE_OPTIONS=--openssl-legacy-provider npm run es && NODE_OPTIONS=--openssl-legacy-provider gulp dist","test-ct":"npm run prepare-playwright && playwright test -c playwright-ct.config.js","build-dev":"gulp clean && gulp copy && webpack","precommit":"lint-staged","clear-jest":"jest --clearCache","test-clear":"jest --clearCache && rm -rf ./playwright/.cache","test-watch":"jest --watch","prepublishOnly":"npm run compile && np --no-cleanup --no-publish","prepare-playwright":"rm -rf ./src-jsx && gulp prepare-playwright"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"overrides":{"@types/minimatch":"5.1.2"},"collective":{"url":"https://opencollective.com/react-slick","logo":"https://opencollective.com/opencollective/logo.txt","type":"opencollective"},"npmFileMap":[{"files":["*.js"],"basePath":"/dist/"}],"repository":{"url":"git+https://github.com/ant-design/react-slick.git","type":"git"},"_npmVersion":"11.6.0","description":" React port of slick carousel","directories":{},"lint-staged":{"*.{js,json,md}":["prettier --write","git add"]},"_nodeVersion":"22.8.0","dependencies":{"clsx":"^2.1.1","json2mq":"^0.2.0","@babel/runtime":"^7.28.4","throttle-debounce":"^5.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"np":"^8.0.4","del":"^2.2.2","opn":"^5.4.0","raf":"^3.4.0","gulp":"^4.0.0","jest":"^28.1.3","husky":"^0.14.3","react":"^19.0.0","sinon":"^2.1.0","eslint":"^8.4.1","jquery":"^3.7.1","express":"^4.14.0","webpack":"^4.21.0","es5-shim":"^4.5.9","prettier":"^2.1.2","deepmerge":"^1.1.0","react-dom":"^19.0.0","@babel/cli":"^7.0.0","babel-core":"^7.0.0-bridge.0","babel-jest":"^24.8.0","css-loader":"^5.0.0","typescript":"^5.5.4","@babel/core":"^7.16.0","@types/node":"^22.10.2","gulp-rename":"^2.0.0","js-beautify":"^1.7.5","json-loader":"^0.5.4","lint-staged":"^12.1.2","webpack-cli":"^3.1.2","@types/react":"^19.2.7","autoprefixer":"^7.1.2","babel-loader":"^8.0.4","style-loader":"^0.16.1","postcss-loader":"^1.3.3","slick-carousel":"^1.8.1","@babel/polyfill":"^7.0.0","foundation-apps":"^1.2.0","@babel/preset-env":"^7.1.0","webpack-dev-server":"^3.1.9","why-did-you-update":"^0.1.1","@babel/preset-react":"^7.0.0","babel-preset-airbnb":"^5.0.0","eslint-plugin-react":"^7.27.1","regenerator-runtime":"^0.14.1","@babel/eslint-parser":"^7.16.3","@testing-library/dom":"^10.4.1","eslint-plugin-import":"^2.25.3","@testing-library/react":"^16.1.0","jest-environment-jsdom":"^28.1.3","uglifyjs-webpack-plugin":"^2.0.1","@testing-library/jest-dom":"^5.16.4","@testing-library/user-event":"^14.3.0","@babel/plugin-transform-runtime":"^7.10.4","@playwright/experimental-ct-react":"^1.49.1","@babel/plugin-proposal-class-properties":"^7.1.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"},"_npmOperationalInternal":{"tmp":"tmp/react-slick_2.0.0_1764863171375_0.711720264391267","host":"s3://npm-registry-packages-npm-production"},"readme":"### @ant-design/react-slick\n\n---\n\n[![NPM version][npm-image]][npm-url]\n[![npm download][download-image]][download-url]\n[![build status][github-actions-image]][github-actions-url]\n[![Codecov][codecov-image]][codecov-url]\n[![bundle size][bundlephobia-image]][bundlephobia-url]\n\n[npm-image]: http://img.shields.io/npm/v/@ant-design/react-slick.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@ant-design/react-slick\n[github-actions-image]: https://github.com/ant-design/react-slick/actions/workflows/ci.yml/badge.svg\n[github-actions-url]: https://github.com/ant-design/react-slick/actions/workflows/ci.yml\n[codecov-image]: https://img.shields.io/codecov/c/github/ant-design/react-slick/master.svg?style=flat-square\n[codecov-url]: https://app.codecov.io/gh/ant-design/react-slick\n[download-image]: https://img.shields.io/npm/dm/@ant-design/react-slick.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@ant-design/react-slick\n[bundlephobia-url]: https://bundlephobia.com/package/@ant-design/react-slick\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@ant-design/react-slick\n[dumi-url]: https://github.com/umijs/dumi\n[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square\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 @ant-design/react-slick --save\n```\n\n**yarn**\n\n```bash\nyarn add @ant-design/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 \"@ant-design/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/ant-design/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":1764863171576,"_cnpm_publish_time":1764863171576,"dist-tags":{"latest":"2.0.0"}}