UNPKG

react-snaplist-carousel

Version:

A light, pure React, no dependencies and flexible carousel. A modern way to do a classic thing.

113 lines (112 loc) 2.87 kB
{ "name": "react-snaplist-carousel", "version": "4.6.0", "description": "A light, pure React, no dependencies and flexible carousel. A modern way to do a classic thing.", "author": "luispuig", "license": "MIT", "repository": "luispuig/react-snaplist-carousel", "keywords": [ "react", "carousel", "slider", "Image slider", "snaplist", "scroll-snap", "react-component", "light", "< 3Kb(gzip)", "no wrapper", "typescript" ], "main": "dist/index.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "test": "cross-env CI=1 react-scripts-ts test --env=jsdom", "test:watch": "react-scripts-ts test --env=jsdom", "build": "rollup -c", "start": "rollup -c -w", "prepare": "npm run build", "predeploy": "cd example && npm install && npm run build", "deploy": "gh-pages -d example/build", "linter": "tsc --project ./tsconfig.json && eslint './src/**/*.{ts,tsx,.js,.jsx}'", "precommit": "lint-staged" }, "dependencies": {}, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@svgr/rollup": "^2.4.1", "@types/jest": "^23.1.5", "@types/react": "^16.3.13", "@types/react-dom": "^16.0.5", "@typescript-eslint/eslint-plugin": "^2.19.2", "@typescript-eslint/parser": "^2.19.2", "babel-core": "^6.26.3", "babel-eslint": "^10.0.3", "babel-runtime": "^6.26.0", "cross-env": "^5.1.4", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.0", "eslint-config-react-app": "^5.2.0", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.18.3", "eslint-plugin-react-hooks": "^2.3.0", "gh-pages": "^1.2.0", "husky": "^4.2.2", "lint-staged": "^10.0.7", "prettier": "^1.19.1", "prettier-eslint": "^9.0.1", "react": "^16.4.1", "react-dom": "^16.4.1", "react-scripts-ts": "^2.16.0", "rollup": "^0.62.0", "rollup-plugin-babel": "^3.0.7", "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-peer-deps-external": "^2.2.0", "rollup-plugin-postcss": "^1.6.2", "rollup-plugin-typescript2": "^0.17.0", "rollup-plugin-url": "^1.4.0", "typescript": "^3.7.5" }, "files": [ "dist" ], "prettier": { "printWidth": 120, "singleQuote": true, "trailingComma": "all", "overrides": [ { "files": "*.md", "options": { "printWidth": 80 } } ] }, "eslintConfig": { "extends": "react-app" }, "lint-staged": { "**/*.+(js|jsx|ts|tsx)": [ "eslint", "git add" ] }, "husky": { "hooks": { "pre-commit": "npm run precommit" } }, "volta": { "node": "16.20.2" } }