UNPKG

sui-pagination

Version:

## Description Component to render a pagination, with basic logic to show or not "Next" and "Previous" page related to the current page, and a handle

104 lines (103 loc) 3 kB
{ "name": "sui-pagination", "version": "1.0.0", "main": "dist/", "contributors": [ { "name": "Daniel de la Cruz", "email": "mail@dandel.es", "url": "https://github.com/danderu" }, { "name": "David Garcia", "email": "david.garcia@scmspain.com", "url": "https://github.com/davecarter" }, { "name": "Carlos Villuendas", "email": "carlos.villuendas@scmspain.com", "url": "https://github.com/carlosvillu" }, { "name": "Joan Leon", "email": "joan.leon@infojobs.net", "url": "https://github.com/nucliweb" }, { "name": "Rubén Martín", "email": "ruben.martin@scmspain.com", "url": "https://github.com/ruben-martin-lozano" }, { "name": "Kiko Ruiz", "email": "francisco.ruiz@scmspain.com", "url": "https://github.com/kikoruiz" } ], "keywords": [ "SUI-Components", "ReactJS", "pagination", "schibstedspain" ], "scripts": { "clean:dist": "rm -Rf ./dist/*", "predist": "npm run clean:dist -s", "dist": "npm run dist:scripts && npm run dist:styles", "dist:scripts": "babel src --out-dir dist", "dist:styles": "node-sass src/index.scss dist/sui-pagination.css --importer ./scripts/importer.js", "postdist:styles": "cp dist/sui-pagination.css dist/_sui-pagination.scss", "prepublish": "npm run dist", "lint": "npm run lint:eslint && npm run lint:sass", "lint:eslint": "eslint --ext=\".js\" --ext=\".jsx\" src/", "lint:sass": "scss-lint src/", "test": "mocha --compilers js:babel/register --recursive", "test:watch": "npm run test -- -w test src --watch-extensions jsx", "dev": "npm run dev:open && npm run dev:serve", "dev:serve": "webpack-dev-server --devtool eval --progress --colors --content-base docs/", "dev:open": "opener http://localhost:8080", "predoc": "webpack --config webpack.doc.config.js", "doc": "npm run doc:build", "doc:build": "gh-pages -d docs" }, "repository": { "type": "git", "url": "git@github.com:SUI-Components/sui-pagination.git" }, "pre-commit": [ "lint", "test" ], "peerDependencies": { "react": "0.14" }, "devDependencies": { "@schibstedspain/frontend-pre-commit-rules": "6.6", "babel": "5.8.23", "babel-core": "5.8.25", "babel-eslint": "4.1.8", "babel-loader": "5.1.4", "css-loader": "0.14.5", "eslint": "1.10.3", "eslint-plugin-react": "3.11.2", "expect": "1.14.0", "gh-pages": "0.3.1", "lodash": "3.9.3", "mocha": "2.3.4", "node-libs-browser": "0.5.2", "node-sass": "3.4.2", "opener": "1.4.1", "react": "0.14", "react-addons-test-utils": "0.14", "react-dom": "0.14", "react-hot-loader": "1.2.7", "sass-loader": "1.0.2", "style-loader": "0.12.3", "webpack": "1.9.11", "webpack-dev-server": "1.9.0" }, "dependencies": { "@schibstedspain/theme-basic": "3.0", "classnames": "2.2.0" } }