|
5 | 5 | },
|
6 | 6 | "description": "Enhance your React apps with advanced scroll detection using @smakss/react-scroll-direction. This powerful hook not only detects scroll direction but also provides scroll position information. Ideal for React, Remix, Next.js, and Gatsby projects, it comes with adjustable sensitivity and supports ES Modules.",
|
7 | 7 | "devDependencies": {
|
8 |
| - "@commitlint/cli": "^19.2.1", |
9 |
| - "@commitlint/config-conventional": "^19.1.0", |
| 8 | + "@commitlint/cli": "^19.3.0", |
| 9 | + "@commitlint/config-conventional": "^19.2.2", |
10 | 10 | "@rollup/plugin-node-resolve": "^15.2.3",
|
11 | 11 | "@rollup/plugin-typescript": "^11.1.6",
|
12 |
| - "@types/react": "^18.2.74", |
13 |
| - "@typescript-eslint/eslint-plugin": "^7.5.0", |
14 |
| - "@typescript-eslint/parser": "^7.5.0", |
15 |
| - "eslint": "^8.57.0", |
| 12 | + "@types/react": "^18.3.3", |
| 13 | + "@typescript-eslint/eslint-plugin": "^7.17.0", |
| 14 | + "@typescript-eslint/parser": "^7.17.0", |
| 15 | + "eslint": "^9.8.0", |
16 | 16 | "eslint-config-prettier": "^9.1.0",
|
17 |
| - "eslint-plugin-prettier": "^5.1.3", |
18 |
| - "eslint-plugin-react-hooks": "^4.6.0", |
19 |
| - "husky": "^9.0.11", |
20 |
| - "lint-staged": "^15.2.2", |
21 |
| - "prettier": "^3.2.5", |
22 |
| - "rollup": "^4.14.0", |
23 |
| - "typescript": "^5.4.4" |
| 17 | + "eslint-plugin-prettier": "^5.2.1", |
| 18 | + "eslint-plugin-react-hooks": "^4.6.2", |
| 19 | + "husky": "^9.1.3", |
| 20 | + "lint-staged": "^15.2.7", |
| 21 | + "prettier": "^3.3.3", |
| 22 | + "rollup": "^4.19.1", |
| 23 | + "typescript": "^5.5.4" |
24 | 24 | },
|
25 | 25 | "engines": {
|
26 | 26 | "node": ">=18.0.0"
|
|
72 | 72 | "format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|gql|graphql|mdx)\"",
|
73 | 73 | "format:check": "prettier -l \"**/*.+(js|jsx|json|yml|yaml|css|ts|tsx|md|gql|graphql|mdx)\"",
|
74 | 74 | "generate": "rollup -c",
|
75 |
| - "lint": "eslint --cache --cache-location ./node_modules/.cache/.eslintcache --ext js,jsx,ts,tsx --max-warnings=0 .", |
76 |
| - "lint:fix": "eslint src/**/*.ts --fix", |
| 75 | + "lint": "npx eslint --cache --cache-location ./node_modules/.cache/.eslintcache --max-warnings=0 .", |
| 76 | + "lint:fix": "npx eslint --fix .", |
77 | 77 | "setup": "yarn && husky install",
|
78 | 78 | "typecheck": "tsc -b .",
|
79 |
| - "update:deps": "rm -rf node_modules yarn.lock && ncu -u && yarn" |
| 79 | + "update:deps": "rm -rf node_modules yarn.lock && npx npm-check-updates -u && yarn" |
80 | 80 | },
|
81 | 81 | "type": "module",
|
82 | 82 | "types": "./dist/index.d.ts",
|
83 |
| - "version": "4.2.0" |
| 83 | + "version": "4.2.0-beta.3" |
84 | 84 | }
|
0 commit comments