|
1 | 1 | {
|
2 | 2 | "name": "use-react-router-breadcrumbs",
|
3 |
| - "version": "2.0.0", |
| 3 | + "version": "2.0.1", |
4 | 4 | "description": "A hook for displaying and setting breadcrumbs for react router",
|
5 | 5 | "main": "dist/cjs/index.js",
|
6 | 6 | "module": "dist/es/index.js",
|
7 | 7 | "umd": "dist/umd/index.js",
|
8 | 8 | "repository": "[email protected]:icd2k3/use-react-router-breadcrumbs.git",
|
9 | 9 | "author": "Justin Schrader <[email protected]>",
|
10 | 10 | "license": "MIT",
|
11 |
| - "private": false, |
12 | 11 | "types": "dist/index.d.ts",
|
13 | 12 | "peerDependencies": {
|
14 | 13 | "react": ">=16.8",
|
15 | 14 | "react-router": ">=5.1.0"
|
16 | 15 | },
|
17 | 16 | "scripts": {
|
18 |
| - "prepublishOnly": "npm run build", |
| 17 | + "prepublishOnly": "yarn build && pinst --disable", |
19 | 18 | "build": "rollup -c",
|
20 | 19 | "test": "jest",
|
21 | 20 | "test-build": "sh ./scripts/test-build.sh",
|
22 | 21 | "types": "tsc -p tsconfig.json",
|
23 |
| - "lint": "eslint ./src/**" |
24 |
| - }, |
25 |
| - "husky": { |
26 |
| - "hooks": { |
27 |
| - "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
28 |
| - "pre-commit": "yarn build && yarn lint && yarn test", |
29 |
| - "pre-push": "yarn build && yarn types && yarn lint && yarn test-build" |
30 |
| - } |
| 22 | + "lint": "eslint ./src/**", |
| 23 | + "postpublish": "pinst --enable", |
| 24 | + "prepare": "husky install" |
31 | 25 | },
|
32 | 26 | "devDependencies": {
|
33 |
| - "@babel/cli": "^7.8.4", |
34 |
| - "@babel/core": "^7.8.7", |
35 |
| - "@babel/preset-env": "^7.8.7", |
36 |
| - "@babel/preset-react": "^7.8.3", |
37 |
| - "@babel/preset-typescript": "^7.8.3", |
38 |
| - "@commitlint/cli": "^11.0.0", |
39 |
| - "@commitlint/config-conventional": "^11.0.0", |
40 |
| - "@rollup/plugin-commonjs": "^17.0.0", |
41 |
| - "@rollup/plugin-node-resolve": "^11.0.1", |
42 |
| - "@types/react": "^17.0.0", |
43 |
| - "@types/react-dom": "^17.0.0", |
44 |
| - "@types/react-router": "^5.1.4", |
45 |
| - "@typescript-eslint/eslint-plugin": "^4.10.0", |
46 |
| - "@typescript-eslint/parser": "^4.10.0", |
47 |
| - "@wojtekmaj/enzyme-adapter-react-17": "^0.4.1", |
| 27 | + "@babel/cli": "^7.14.3", |
| 28 | + "@babel/core": "^7.14.3", |
| 29 | + "@babel/plugin-transform-runtime": "^7.14.3", |
| 30 | + "@babel/preset-env": "^7.14.4", |
| 31 | + "@babel/preset-react": "^7.13.13", |
| 32 | + "@babel/preset-typescript": "^7.13.0", |
| 33 | + "@commitlint/cli": "^12.1.4", |
| 34 | + "@commitlint/config-conventional": "^12.1.4", |
| 35 | + "@rollup/plugin-babel": "^5.3.0", |
| 36 | + "@rollup/plugin-typescript": "^8.2.1", |
| 37 | + "@types/react": "^17.0.11", |
| 38 | + "@types/react-dom": "^17.0.7", |
| 39 | + "@types/react-router": "^5.1.15", |
| 40 | + "@typescript-eslint/eslint-plugin": "^4.26.1", |
| 41 | + "@typescript-eslint/parser": "^4.26.1", |
| 42 | + "@wojtekmaj/enzyme-adapter-react-17": "^0.6.1", |
48 | 43 | "babel-eslint": "^10.1.0",
|
49 |
| - "babel-jest": "^26.6.3", |
50 |
| - "coveralls": "^3.0.9", |
51 | 44 | "enzyme": "^3.11.0",
|
52 |
| - "eslint": "^7.16.0", |
53 |
| - "eslint-config-airbnb": "^18.1.0", |
54 |
| - "eslint-config-prettier": "^7.1.0", |
55 |
| - "eslint-plugin-import": "^2.20.1", |
56 |
| - "eslint-plugin-jsx-a11y": "^6.2.3", |
57 |
| - "eslint-plugin-prettier": "^3.1.3", |
58 |
| - "eslint-plugin-react": "^7.19.0", |
| 45 | + "eslint": "^7.28.0", |
| 46 | + "eslint-config-airbnb": "^18.2.1", |
| 47 | + "eslint-plugin-import": "^2.23.4", |
| 48 | + "eslint-plugin-jsx-a11y": "^6.4.1", |
| 49 | + "eslint-plugin-react": "^7.24.0", |
59 | 50 | "eslint-plugin-react-hooks": "^4.2.0",
|
60 |
| - "husky": "^4.2.1", |
61 |
| - "jest": "^26.6.3", |
62 |
| - "js-yaml": "^3.13.1", |
63 |
| - "prettier": "^2.0.5", |
| 51 | + "husky": "^6.0.0", |
| 52 | + "jest": "^27.0.4", |
| 53 | + "jsdom-global": "^3.0.2", |
| 54 | + "pinst": "^2.1.6", |
64 | 55 | "prop-types": "^15.7.2",
|
65 |
| - "react": "^17.0.1", |
66 |
| - "react-dom": "^17.0.1", |
67 |
| - "react-router": "^5.1.2", |
68 |
| - "rollup": "^2.1.0", |
69 |
| - "rollup-plugin-babel": "^4.4.0", |
| 56 | + "react": "^17.0.2", |
| 57 | + "react-dom": "^17.0.2", |
| 58 | + "react-router": "^5.2.0", |
| 59 | + "rollup": "^2.51.1", |
| 60 | + "rollup-plugin-size": "^0.2.2", |
70 | 61 | "rollup-plugin-terser": "^7.0.2",
|
71 |
| - "rollup-plugin-typescript2": "^0.29.0", |
72 |
| - "typescript": "^4.1.3" |
| 62 | + "typescript": "^4.3.2" |
73 | 63 | },
|
74 | 64 | "keywords": [
|
75 | 65 | "react",
|
|
0 commit comments