UNPKG

@itseasy21/react-elastic-carousel

Version:

A flexible and responsive carousel component for react

152 lines (151 loc) 5.29 kB
{ "name": "@itseasy21/react-elastic-carousel", "version": "1.0.2", "description": "A flexible and responsive carousel component for react", "author": "itseasy21", "type": "module", "contributors": [ { "name": "sag1v (Sagiv Ben Giat)" } ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/itseasy21/react-elastic-carousel.git" }, "main": "dist/index.js", "module": "dist/index.es.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.es.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "jsnext:main": "dist/index.es.js", "publishConfig": { "registry": "https://registry.npmjs.org" }, "packageManager": "yarn@3.2.1", "engines": { "node": ">=16", "npm": ">=8" }, "scripts": { "set-node-options": "node -e \"process.stdout.write(process.version.startsWith('v16') ? '' : '--openssl-legacy-provider')\"", "start": "cross-env NODE_OPTIONS=\"$(yarn run --silent set-node-options)\" concurrently -r -k -s all \"docz dev\" \"yarn run lint:watch\"", "demo": "cross-env NODE_OPTIONS=\"$(yarn run --silent set-node-options) --max-old-space-size=4096\" concurrently -r -k -s all \"rollup --bundleConfigAsCjs --config rollup.config.demo.js --watch --no-watch.chokidar\" \"yarn run lint:watch\"", "lint:fix": "eslint src/* --fix", "lint:watch": "esw --watch --fix src/*", "test": "cross-env CI=1 react-scripts test --env=jsdom", "test:watch": "react-scripts test --env=jsdom", "prebuild": "yarn run lint:fix", "build": "cross-env NODE_OPTIONS=\"$(yarn run --silent set-node-options)\" yarn run prebuild && rollup --bundleConfigAsCjs -c", "build-doc": "cross-env NODE_OPTIONS=\"$(yarn run --silent set-node-options)\" docz build", "deploy-doc": "cross-env NODE_OPTIONS=\"$(yarn run --silent set-node-options)\" gh-pages -d demo" }, "lint-staged": { "*.js": "eslint src/. --fix" }, "dependencies": { "classnames": "^2.3.2", "prop-types": "^15.8.1", "react-swipeable": "^7.0.2", "resize-observer-polyfill": "^1.5.1" }, "peerDependencies": { "prop-types": "^15.5.4", "react": "16.8.3 - 19", "react-dom": "16.8.3 - 19", "styled-components": "^5.0.0 || ^6.0.0" }, "devDependencies": { "@babel/core": "^7.23.7", "@babel/plugin-external-helpers": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.3.4", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-do-expressions": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.0.0", "@babel/plugin-proposal-export-namespace-from": "^7.0.0", "@babel/plugin-proposal-function-bind": "^7.0.0", "@babel/plugin-proposal-function-sent": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-logical-assignment-operators": "^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0", "@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.0.0", "@babel/plugin-proposal-pipeline-operator": "^7.0.0", "@babel/plugin-proposal-throw-expressions": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/plugin-transform-runtime": "^7.23.7", "@babel/preset-env": "^7.23.7", "@babel/preset-react": "^7.23.3", "@babel/runtime": "^7.23.7", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^14.6.1", "babel-eslint": "^9.0.0", "concurrently": "^4.1.0", "cross-env": "^5.1.4", "docz": "^2.3.1", "eslint": "5.12.0", "eslint-config-prettier": "^3.0.1", "eslint-config-standard": "^12.0.0", "eslint-config-standard-react": "^7.0.0", "eslint-plugin-import": "^2.13.0", "eslint-plugin-node": "^7.0.1", "eslint-plugin-prettier": "^2.6.2", "eslint-plugin-promise": "^4.0.0", "eslint-plugin-react": "^7.10.0", "eslint-plugin-standard": "^3.1.0", "eslint-watch": "^4.0.2", "gatsby-plugin-google-analytics": "^2.1.34", "gh-pages": "^2.2.0", "husky": "^4.3.0", "lint-staged": "^10.5.2", "prettier": "1.14.2", "prettier-eslint": "^8.8.2", "react": "^18", "react-dom": "^18", "react-scripts": "^2.1.8", "react-test-renderer": "^16.5.2", "rollup": "^4.9.1", "rollup-plugin-alias": "^1.4.0", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-livereload": "^2.0.0", "rollup-plugin-postcss": "^4.0.2", "rollup-plugin-serve": "^1.1.0", "rollup-plugin-url": "^3.0.1", "styled-components": "^6.1.15" }, "files": [ "dist" ], "keywords": [ "itseasy21", "react", "react-carousel", "carousel", "responsive", "reactjs", "carrousel", "slides", "flexibale", "rtl", "right-to-left", "resize", "touch" ], "resolutions": { "ansi-styles": "^3.2.0" } }