package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. {
  2. "_args": [
  3. [
  4. "scroll-into-view-if-needed@2.2.31",
  5. "E:\\2023\\5\\myjadmin"
  6. ]
  7. ],
  8. "_from": "scroll-into-view-if-needed@2.2.31",
  9. "_id": "scroll-into-view-if-needed@2.2.31",
  10. "_inBundle": false,
  11. "_integrity": "sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==",
  12. "_location": "/scroll-into-view-if-needed",
  13. "_phantomChildren": {},
  14. "_requested": {
  15. "type": "version",
  16. "registry": true,
  17. "raw": "scroll-into-view-if-needed@2.2.31",
  18. "name": "scroll-into-view-if-needed",
  19. "escapedName": "scroll-into-view-if-needed",
  20. "rawSpec": "2.2.31",
  21. "saveSpec": null,
  22. "fetchSpec": "2.2.31"
  23. },
  24. "_requiredBy": [
  25. "/@wangeditor/core"
  26. ],
  27. "_resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz",
  28. "_spec": "2.2.31",
  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/scroll-into-view-if-needed/issues"
  40. },
  41. "bundlesize": [
  42. {
  43. "path": "./umd/scroll-into-view-if-needed.min.js",
  44. "maxSize": "3.3 kB",
  45. "compression": "none"
  46. }
  47. ],
  48. "dependencies": {
  49. "compute-scroll-into-view": "^1.0.20"
  50. },
  51. "description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
  52. "devDependencies": {
  53. "@babel/cli": "^7.19.3",
  54. "@babel/core": "^7.20.5",
  55. "@babel/plugin-external-helpers": "^7.18.6",
  56. "@babel/preset-env": "^7.20.2",
  57. "@babel/preset-typescript": "^7.18.6",
  58. "@sanity/semantic-release-preset": "^2.0.2",
  59. "babel-eslint": "^10.1.0",
  60. "babel-plugin-add-module-exports": "^1.0.4",
  61. "babel-plugin-dev-expression": "^0.2.3",
  62. "concurrently": "^7.6.0",
  63. "cross-env": "^7.0.3",
  64. "eslint": "^8.28.0",
  65. "eslint-config-prettier": "^8.5.0",
  66. "eslint-plugin-import": "^2.26.0",
  67. "eslint-plugin-react": "^7.31.11",
  68. "flowgen": "^1.20.1",
  69. "husky": "^7.0.4",
  70. "lint-staged": "^12.5.0",
  71. "prettier": "^2.8.0",
  72. "prettier-plugin-packagejson": "^2.3.0",
  73. "rimraf": "^3.0.2",
  74. "rollup": "^2.79.1",
  75. "rollup-plugin-babel": "^4.4.0",
  76. "rollup-plugin-commonjs": "^10.1.0",
  77. "rollup-plugin-node-resolve": "^5.2.0",
  78. "rollup-plugin-replace": "^2.2.0",
  79. "rollup-plugin-terser": "^7.0.2",
  80. "tslint": "^5.20.1",
  81. "tslint-config-prettier": "^1.18.0",
  82. "typescript": "^4.9.3"
  83. },
  84. "exports": {
  85. ".": {
  86. "types": "./typings/index.d.ts",
  87. "source": "./src/index.ts",
  88. "import": "./es/index.js",
  89. "require": "./index.js",
  90. "default": "./es/index.js"
  91. },
  92. "./package.json": "./package.json"
  93. },
  94. "files": [
  95. "es",
  96. "typings",
  97. "umd"
  98. ],
  99. "homepage": "https://scroll-into-view.dev",
  100. "keywords": [
  101. "behavior-smooth",
  102. "if-needed",
  103. "polyfill",
  104. "ponyfill",
  105. "scroll",
  106. "scroll-into-view",
  107. "scrollIntoView",
  108. "scrollIntoViewIfNeeded",
  109. "scrollMode",
  110. "smooth",
  111. "smoothscroll",
  112. "typescript"
  113. ],
  114. "license": "MIT",
  115. "main": "index.js",
  116. "module": "es/index.js",
  117. "name": "scroll-into-view-if-needed",
  118. "prettier": {
  119. "semi": false,
  120. "singleQuote": true,
  121. "overrides": [
  122. {
  123. "files": ".babelrc",
  124. "options": {
  125. "parser": "json"
  126. }
  127. }
  128. ]
  129. },
  130. "repository": {
  131. "type": "git",
  132. "url": "git+https://github.com/scroll-into-view/scroll-into-view-if-needed.git"
  133. },
  134. "scripts": {
  135. "build": "npm run build:d.ts && npm run build:cjs && npm run build:es && npm run build:umd && npm run build:umd.min",
  136. "build:cjs": "cross-env BABEL_ENV=cjs babel src -d . --extensions '.ts'",
  137. "build:d.ts": "tsc --emitDeclarationOnly",
  138. "build:es": "cross-env BABEL_ENV=es babel src -d es --extensions '.ts'",
  139. "build:umd": "cross-env BABEL_ENV=umd NODE_ENV=development rollup -c -f umd -o umd/scroll-into-view-if-needed.js",
  140. "build:umd.min": "cross-env BABEL_ENV=umd NODE_ENV=production rollup -c -f umd -o umd/scroll-into-view-if-needed.min.js",
  141. "clean": "rimraf 'umd' 'es' 'typings'",
  142. "dev": "concurrently 'tsc --noEmit --watch' 'tsc --noEmit -p tests/typescript --watch' 'npm run build:cjs --watch' 'npm run build:es --watch' 'npm run build:umd --watch' 'npm run build:umd.min --watch'",
  143. "lint": "eslint ./integration-examples",
  144. "prebuild": "npm run clean",
  145. "precommit": "lint-staged",
  146. "prepublishOnly": "npm run build",
  147. "typecheck": "tsc --noEmit && tsc --noEmit -p tests/typescript"
  148. },
  149. "sideEffects": false,
  150. "typings": "typings/index.d.ts",
  151. "version": "2.2.31"
  152. }