UNPKG

react-multi-carousel

Version:

Production-ready, lightweight fully customizable React carousel component that rocks supports multiple items and SSR(Server-side rendering) with typescript.

139 lines (138 loc) 3.82 kB
{ "name": "react-multi-carousel", "private": false, "version": "2.8.6", "description": "Production-ready, lightweight fully customizable React carousel component that rocks supports multiple items and SSR(Server-side rendering) with typescript.", "main": "index.js", "types": "./lib/types.d.ts", "scripts": { "build": "rm -rf ./lib && tsc && npm run after-build", "test": "jest", "test:watch": "jest --watch", "storybook": "start-storybook -p 6006", "export": "build-storybook -c .storybook -o .out", "build-storybook": "build-storybook", "dev": "cd dev && npm run dev", "after-build": "cd src && copyfiles -f assets/* ../lib && npm run minify", "publish-ssr": "cd examples/ssr && vercel && vercel alias react-multi-carousel.now.sh", "prettier": "prettier --write {examples,src,stories,test}/**/*.{js,ts,tsx}", "lint-staged": "lint-staged", "lint": "eslint src/**/*{.ts,.tsx}", "lint:fix": "eslint --fix src/**/*{.ts,.tsx}", "minify": "node minify.js", "auto-changelog": "auto-changelog" }, "repository": { "type": "git", "url": "https://github.com/YIZHUANG/react-multi-carousel.git" }, "bugs": { "url": "https://github.com/YIZHUANG/react-multi-carousel/issues" }, "keywords": [ "react", "typescript", "carousel", "react-component", "server-side rendering", "ssr", "image-gallery", "video-gallery", "slide-show", "swipe", "drag", "touch", "multiple items", "gallery", "slider", "responsive", "mobile-friendly", "tablet-friendly", "breakpoint" ], "engines": { "node": ">=8" }, "author": { "name": "YI ZHUANG", "url": "https://github.com/YIZHUANG" }, "license": "MIT", "homepage": "https://www.junia.ai/react-multi-carousel", "jest": { "testEnvironment": "jsdom", "verbose": true, "testURL": "http://localhost", "collectCoverage": true, "globals": { "__LINK_PREFIX__": "", "__PREFIX_LINKS__": "", "ts-jest": { "diagnostics": false } }, "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "^.+\\.(ts|tsx)$": "ts-jest" }, "testMatch": [ "**/*spec.(ts|tsx)" ] }, "husky": { "hooks": { "pre-commit": "npm run lint:fix && git add ." } }, "devDependencies": { "@babel/core": "^7.3.4", "@material-ui/core": "^3.9.2", "@smartive/tslint-config": "^6.0.0", "@storybook/addon-actions": "^4.1.13", "@storybook/addon-links": "^4.1.13", "@storybook/addon-viewport": "^4.1.13", "@storybook/addons": "^4.1.13", "@storybook/react": "^4.1.13", "@types/enzyme": "^3.9.0", "@types/enzyme-adapter-react-16": "^1.0.5", "@types/jest": "^24.0.9", "@types/react": "^16.8.13", "@types/react-dom": "^16.8.2", "@typescript-eslint/eslint-plugin": "^2.3.2", "@typescript-eslint/parser": "^2.3.2", "auto-changelog": "^1.16.2", "awesome-typescript-loader": "^5.2.1", "babel-loader": "^8.0.5", "classnames": "^2.2.6", "copyfiles": "^2.1.0", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.10.0", "enzyme-to-json": "^3.3.5", "eslint": "^6.5.1", "eslint-config-prettier": "^6.4.0", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-react": "^7.16.0", "faker": "^4.1.0", "husky": "^3.0.8", "jest": "^24.1.0", "lint-staged": "^8.1.5", "prettier": "^1.18.2", "react": "^16.8.3", "react-dom": "^16.8.3", "react-ga": "^2.5.7", "storybook-addon-jsx": "^6.0.0", "ts-jest": "^24.0.2", "typescript": "^3.4.3", "uglify-js": "^3.5.11", "uglifycss": "0.0.29" }, "dependencies": { "core-js": "^3.32.2", "install": "^0.13.0", "npm": "^10.1.0" } }