Skip to content

Commit 69e6326

Browse files
author
Justin Schrader
authored
Merge pull request #10 from icd2k3/cleanup
Cleanup, dep upgrades, and version bump
2 parents 2b38d1b + f067c65 commit 69e6326

File tree

6 files changed

+191
-177
lines changed

6 files changed

+191
-177
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-breadcrumbs-hoc",
3-
"version": "1.0.7",
3+
"version": "1.1.0",
44
"description": "Just a tiny, flexible, higher order component for rendering breadcrumbs with react-router 4.x",
55
"repository": "icd2k3/react-router-breadcrumbs-hoc",
66
"keywords": [
@@ -53,7 +53,6 @@
5353
"prepublishOnly": "npm run build",
5454
"build": "rollup -c",
5555
"test": "NODE_ENV=test jest",
56-
"test:watch": "npm run test -- --watch",
5756
"travis": "jest && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
5857
"lint": "eslint ./src/**"
5958
}

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const pkg = require('./package.json');
77
const external = Object.keys(pkg.peerDependencies);
88

99
const config = {
10-
input: 'src/index.jsx',
10+
input: 'src/index.js',
1111
globals: {
1212
react: 'React',
1313
'react-router': 'ReactRouter',
@@ -29,7 +29,7 @@ const config = {
2929
{
3030
file: pkg.main,
3131
format: 'umd',
32-
name: 'BreadCrumbs',
32+
name: 'react-router-breadcrumbs-hoc',
3333
sourcemap: true,
3434
},
3535
{
File renamed without changes.
File renamed without changes.

src/index.test.jsx renamed to src/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable react/no-array-index-key */
2-
// ^ used in matchOptions test in which case 2 breadcrumbs have same path
2+
/* eslint-disable react/jsx-filename-extension */
33
import React from 'react';
44
import PropTypes from 'prop-types';
55
import { mount } from 'enzyme';

0 commit comments

Comments
 (0)