package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "_args": [
  3. [
  4. "compute-scroll-into-view@1.0.20",
  5. "E:\\2023\\5\\myjadmin"
  6. ]
  7. ],
  8. "_from": "compute-scroll-into-view@1.0.20",
  9. "_id": "compute-scroll-into-view@1.0.20",
  10. "_inBundle": false,
  11. "_integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==",
  12. "_location": "/compute-scroll-into-view",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "compute-scroll-into-view@1.0.20",
  18. "name": "compute-scroll-into-view",
  19. "escapedName": "compute-scroll-into-view",
  20. "rawSpec": "1.0.20",
  21. "saveSpec": null,
  22. "fetchSpec": "1.0.20"
  23. },
  24. "_requiredBy": [
  25. "/scroll-into-view-if-needed"
  26. ],
  27. "_resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz",
  28. "_spec": "1.0.20",
  29. "_where": "E:\\2023\\5\\myjadmin",
  30. "author": {
  31. "name": "Cody Olsen"
  32. },
  33. "browserify": {
  34. "transform": [
  35. "loose-envify"
  36. ]
  37. },
  38. "bugs": {
  39. "url": "https://github.com/scroll-into-view/compute-scroll-into-view/issues"
  40. },
  41. "bundlesize": [
  42. {
  43. "path": "./umd/compute-scroll-into-view.min.js",
  44. "maxSize": "3 kB",
  45. "compression": "none"
  46. }
  47. ],
  48. "description": "The engine that powers scroll-into-view-if-needed",
  49. "devDependencies": {
  50. "@sanity/semantic-release-preset": "^2.0.2",
  51. "husky": "^8.0.2",
  52. "jest": "^29.3.1",
  53. "jest-junit": "^15.0.0",
  54. "jest-puppeteer": "^6.1.1",
  55. "lint-staged": "^13.0.4",
  56. "microbundle": "^0.15.1",
  57. "prettier": "^2.8.0",
  58. "prettier-plugin-packagejson": "^2.3.0",
  59. "puppeteer": "^19.3.0",
  60. "rimraf": "^3.0.2",
  61. "serve": "^14.1.2",
  62. "typescript": "^4.9.3"
  63. },
  64. "exports": {
  65. ".": {
  66. "types": "./typings/index.d.ts",
  67. "source": "./src/index.ts",
  68. "import": "./dist/index.mjs",
  69. "require": "./dist/index.js",
  70. "default": "./dist/index.mjs"
  71. },
  72. "./package.json": "./package.json"
  73. },
  74. "files": [
  75. "dist",
  76. "typings",
  77. "umd/compute-scroll-into-view.min.js",
  78. "umd/compute-scroll-into-view.min.js.map"
  79. ],
  80. "homepage": "https://scroll-into-view.dev",
  81. "husky": {
  82. "hooks": {
  83. "pre-commit": "lint-staged"
  84. }
  85. },
  86. "keywords": [
  87. "if-needed",
  88. "scroll",
  89. "scroll-into-view",
  90. "scroll-into-view-if-needed",
  91. "scrollIntoView",
  92. "scrollIntoViewIfNeeded",
  93. "scrollMode",
  94. "typescript"
  95. ],
  96. "license": "MIT",
  97. "lint-staged": {
  98. "*.{js,ts,tsx,json,md}": "prettier --write"
  99. },
  100. "main": "dist/index.js",
  101. "module": "dist/index.mjs",
  102. "name": "compute-scroll-into-view",
  103. "prettier": {
  104. "semi": false,
  105. "singleQuote": true
  106. },
  107. "repository": {
  108. "type": "git",
  109. "url": "git+https://github.com/scroll-into-view/compute-scroll-into-view.git"
  110. },
  111. "scripts": {
  112. "build": "npm run build:dist && npm run build:umd",
  113. "build:dist": "microbundle -f cjs,es",
  114. "build:umd": "microbundle -f umd -o umd",
  115. "prebuild": "rimraf 'dist' 'umd'",
  116. "prepublishOnly": "npm run build",
  117. "test": "jest -c integration/jest.config.js",
  118. "typecheck": "tsc --noEmit"
  119. },
  120. "sideEffects": false,
  121. "source": "src/index.ts",
  122. "typings": "typings/index.d.ts",
  123. "umd:main": "umd/compute-scroll-into-view.min.js",
  124. "version": "1.0.20"
  125. }