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.

121 lines (120 loc) 3.31 kB
{ "name": "react-multi-carousel", "private": false, "version": "1.4.5", "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", "after-build": "cd src && copyfiles -f assets/* ../lib && npm run minify", "publish-ssr": "cd examples/ssr && now && now alias react-multi-carousel.now.sh", "prettier": "prettier --write {examples,src,stories,test}/**/*.{js,ts,tsx}", "lint-staged": "lint-staged", "lint": "tslint --fix \"src/**/*.ts\" \"src/**/*.tsx\" \"src/**/*.js\"", "minify": "node minify.js" }, "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://yizhuang.fi/" }, "license": "MIT", "homepage": "https://w3js.com/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)" ] }, "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", "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", "faker": "^4.1.0", "husky": "^1.3.1", "jest": "^24.1.0", "lint-staged": "^8.1.5", "prettier": "^1.16.4", "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", "tslint": "^5.16.0", "typescript": "^3.4.3", "uglify-js": "^3.5.11", "uglifycss": "0.0.29" }, "dependencies": {} }