package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "react-remove-scroll-bar",
  3. "version": "2.3.5",
  4. "description": "Removes body scroll without content _shake_",
  5. "main": "dist/es5/index.js",
  6. "jsnext:main": "dist/es2015/index.js",
  7. "module": "dist/es2015/index.js",
  8. "types": "dist/es5/index.d.ts",
  9. "scripts": {
  10. "dev": "lib-builder dev",
  11. "test": "jest",
  12. "test:ci": "jest --runInBand --coverage",
  13. "build": "lib-builder build && yarn size:report",
  14. "release": "yarn build && yarn test",
  15. "size": "yarn size-limit",
  16. "size:report": "yarn --silent size-limit --json > .size.json",
  17. "lint": "lib-builder lint",
  18. "format": "lib-builder format",
  19. "update": "lib-builder update",
  20. "prepublish": "yarn build && yarn changelog",
  21. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
  22. "changelog:rewrite": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
  23. "storybook": "start-storybook -p 6006"
  24. },
  25. "keywords": [
  26. "scroll"
  27. ],
  28. "author": "Anton Korzunov <thekashey@gmail.com>",
  29. "license": "MIT",
  30. "devDependencies": {
  31. "@size-limit/preset-small-lib": "^11.0.2",
  32. "size-limit": "^11.0.2",
  33. "@storybook/react": "^6.4.22",
  34. "@testing-library/react": "^12.1.5",
  35. "@types/react": "^16.14.56",
  36. "@theuiteam/lib-builder": "^0.1.4",
  37. "react": "^16.8.6",
  38. "react-dom": "^16.8.6"
  39. },
  40. "engines": {
  41. "node": ">=10"
  42. },
  43. "peerDependencies": {
  44. "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0",
  45. "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
  46. },
  47. "peerDependenciesMeta": {
  48. "@types/react": {
  49. "optional": true
  50. }
  51. },
  52. "files": [
  53. "dist",
  54. "constants"
  55. ],
  56. "repository": "https://github.com/theKashey/react-remove-scroll-bar",
  57. "dependencies": {
  58. "react-style-singleton": "^2.2.1",
  59. "tslib": "^2.0.0"
  60. },
  61. "module:es2019": "dist/es2019/index.js",
  62. "husky": {
  63. "hooks": {
  64. "pre-commit": "lint-staged"
  65. }
  66. },
  67. "lint-staged": {
  68. "*.{ts,tsx}": [
  69. "prettier --write",
  70. "eslint --fix",
  71. "git add"
  72. ],
  73. "*.{js,css,json,md}": [
  74. "prettier --write",
  75. "git add"
  76. ]
  77. },
  78. "prettier": {
  79. "printWidth": 120,
  80. "trailingComma": "es5",
  81. "tabWidth": 2,
  82. "semi": true,
  83. "singleQuote": true
  84. }
  85. }