@aboutbits/pagination
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -0,1 +1,4 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.calculatePagination = void 0; | ||
var calculateVisiblePages = function (page, total, maxPages) { | ||
@@ -58,2 +61,2 @@ var range = Math.floor(maxPages / 2); | ||
}; | ||
export { calculatePagination }; | ||
exports.calculatePagination = calculatePagination; |
{ | ||
"name": "@aboutbits/pagination", | ||
"version": "0.1.14", | ||
"version": "0.1.15", | ||
"description": "Pagination", | ||
@@ -14,5 +14,8 @@ "keywords": [ | ||
"main": "dist/index.js", | ||
"module": "dist/esm/index.js", | ||
"typings": "dist/index.d.ts", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "npm run build:node && npm run build:esm", | ||
"build:node": "tsc", | ||
"build:esm": "tsc --project tsconfig.esnext.json", | ||
"lint": "eslint --ext js,ts,tsx src", | ||
@@ -19,0 +22,0 @@ "lint:fix": "npm run lint -- --fix", |
9279
7
149