@smakss/react-scroll-direction 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +8 -0
- package/package.json +3 -3
package/Readme.md
CHANGED
|
@@ -72,3 +72,11 @@ const scrollDir = useDetectScroll({ axis: "x" });
|
|
|
72
72
|
|
|
73
73
|
// Returns: "left", "right", or "still"
|
|
74
74
|
```
|
|
75
|
+
|
|
76
|
+
## Contributing
|
|
77
|
+
|
|
78
|
+
Interested in making contributions to this project? Please see [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines and details.
|
|
79
|
+
|
|
80
|
+
## Code of Conduct
|
|
81
|
+
|
|
82
|
+
We value and prioritize the well-being of all our contributors and users. To ensure that this project remains a welcoming space for everyone, please refer to our [Code of Conduct](./CODE_OF_CONDUCT.md).
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
15
15
|
"@typescript-eslint/parser": "^5.59.6",
|
|
16
16
|
"eslint": "^8.41.0",
|
|
17
|
-
"eslint-config-prettier": "
|
|
17
|
+
"eslint-config-prettier": "9.0.0",
|
|
18
18
|
"eslint-plugin-prettier": "^4.2.1",
|
|
19
19
|
"husky": "^8.0.3",
|
|
20
20
|
"lint-staged": "^14.0.1",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"generate": "rollup -c",
|
|
65
65
|
"lint": "eslint --cache --cache-location ./node_modules/.cache/.eslintcache --ext js,jsx,ts,tsx --max-warnings=0 .",
|
|
66
66
|
"lint:fix": "eslint src/**/*.ts --fix",
|
|
67
|
-
"
|
|
67
|
+
"setup": "yarn && husky install",
|
|
68
68
|
"typecheck": "tsc -b ."
|
|
69
69
|
},
|
|
70
70
|
"type": "module",
|
|
71
|
-
"version": "3.0.
|
|
71
|
+
"version": "3.0.2"
|
|
72
72
|
}
|