|
1 | 1 | {
|
2 | 2 | "name": "use-react-router-breadcrumbs",
|
3 |
| - "version": "2.0.1", |
| 3 | + "version": "2.0.2", |
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",
|
|
15 | 15 | },
|
16 | 16 | "scripts": {
|
17 | 17 | "prepublishOnly": "yarn build && pinst --disable",
|
18 |
| - "build": "rollup -c", |
| 18 | + "build": "rollup -c && yarn types", |
19 | 19 | "test": "jest",
|
20 | 20 | "test-build": "sh ./scripts/test-build.sh",
|
21 |
| - "types": "tsc -p tsconfig.json", |
| 21 | + "types": "tsc -p tsconfig.json --declaration --emitDeclarationOnly", |
22 | 22 | "lint": "eslint ./src/**",
|
23 | 23 | "postpublish": "pinst --enable",
|
24 | 24 | "prepare": "husky install"
|
25 | 25 | },
|
26 | 26 | "devDependencies": {
|
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", |
| 27 | + "@babel/cli": "^7.14.5", |
| 28 | + "@babel/core": "^7.14.5", |
| 29 | + "@babel/plugin-transform-runtime": "^7.14.5", |
| 30 | + "@babel/preset-env": "^7.14.5", |
| 31 | + "@babel/preset-react": "^7.14.5", |
| 32 | + "@babel/preset-typescript": "^7.14.5", |
33 | 33 | "@commitlint/cli": "^12.1.4",
|
34 | 34 | "@commitlint/config-conventional": "^12.1.4",
|
35 | 35 | "@rollup/plugin-babel": "^5.3.0",
|
|
0 commit comments