Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-paginate

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-paginate - npm Package Compare versions

Comparing version 0.1.27 to 0.1.28

dist/PageView.js

14

__tests__/PaginationBoxView-test.js
/** @jsx React.DOM */
jest.dontMock('./../react_components/index.js');
jest.dontMock('./../react_components/PaginationBoxView.jsx');
jest.dontMock('./../react_components/PaginationListView.jsx');
jest.dontMock('./../react_components/PageView.jsx');
jest.dontMock('./../react_components/react-paginate');
jest.dontMock('./../react_components/PaginationBoxView');
jest.dontMock('./../react_components/PaginationListView');
jest.dontMock('./../react_components/PageView');
var React = require('react/addons');
var PaginationBoxView = require('./../react_components/PaginationBoxView.jsx');
var PaginationListView = require('./../react_components/PaginationListView.jsx');
var PageView = require('./../react_components/PageView.jsx');
var PaginationBoxView = require('./../react_components/PaginationBoxView');
var PaginationListView = require('./../react_components/PaginationListView');
var PageView = require('./../react_components/PageView');
var TestUtils = React.addons.TestUtils;

@@ -12,0 +12,0 @@

@@ -13,2 +13,4 @@ 'use strict';

var nodemon = require('gulp-nodemon');
var concat = require('gulp-concat');
var babel = require('gulp-babel');

@@ -46,16 +48,6 @@ var CONFIG = {

gulp.task('watch', function() {
gulp.watch('./react_components/*.jsx', ['app', 'sample']);
gulp.watch('./react_components/*.js', ['dist', 'sample']);
gulp.watch('./sample/sample.jsx', ['sample']);
});
gulp.task('app', function() {
return browserify('./react_components/index.js')
.transform(reactify)
.bundle()
.pipe(source('react-paginate.js'))
.pipe(buffer())
.pipe(uglify())
.pipe(gulp.dest('./build'));
});
gulp.task('sample', function() {

@@ -70,2 +62,8 @@ return browserify('./sample/sample.jsx')

gulp.task('dist', function() {
return gulp.src('./react_components/*.js')
.pipe(babel())
.pipe(gulp.dest('./dist/'));
});
gulp.task('server:watch', function () {

@@ -77,7 +75,7 @@ nodemon({script: 'server.js'})

gulp.task('server:reload', function() {
gulp.watch('./react_components/*.jsx', ['app', 'sample']);
gulp.watch('./react_components/*.js', ['dist', 'sample']);
gulp.watch('./sample/sample.jsx', ['sample']);
});
gulp.task('serve', ['app', 'sample', 'generate:data', 'server:watch']);
gulp.task('default', ['app', 'sample']);
gulp.task('serve', ['dist', 'sample', 'generate:data', 'server:watch']);
gulp.task('default', ['dist', 'sample']);
{
"name": "react-paginate",
"version": "0.1.27",
"version": "0.1.28",
"description": "A ReactJS component that creates a pagination.",
"main": "./react_components/index.js",
"main": "./dist/react-paginate.js",
"repository": {

@@ -31,2 +31,4 @@ "type": "git",

"gulp": "~3.8.8",
"gulp-babel": "^5.1.0",
"gulp-concat": "^2.5.2",
"gulp-nodemon": "^1.0.5",

@@ -33,0 +35,0 @@ "gulp-uglify": "^1.1.0",

@@ -5,3 +5,3 @@ /** @jsx React.DOM */

var React = require('react');
var ReactPaginate = require('./../react_components');
var ReactPaginate = require('./../react_components/react-paginate');
var $ = require('jquery');

@@ -8,0 +8,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc