package.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. {
  2. "_from": "@popperjs/core@^2.9.2",
  3. "_id": "@popperjs/core@2.9.2",
  4. "_inBundle": false,
  5. "_integrity": "sha512-VZMYa7+fXHdwIq1TDhSXoVmSPEGM/aa+6Aiq3nVVJ9bXr24zScr+NlKFKC3iPljA7ho/GAZr+d2jOf5GIRC30Q==",
  6. "_location": "/@popperjs/core",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "@popperjs/core@^2.9.2",
  12. "name": "@popperjs/core",
  13. "escapedName": "@popperjs%2fcore",
  14. "scope": "@popperjs",
  15. "rawSpec": "^2.9.2",
  16. "saveSpec": null,
  17. "fetchSpec": "^2.9.2"
  18. },
  19. "_requiredBy": [
  20. "/@vant/popperjs"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.9.2.tgz",
  23. "_shasum": "adea7b6953cbb34651766b0548468e743c6a2353",
  24. "_spec": "@popperjs/core@^2.9.2",
  25. "_where": "D:\\路涛科技\\源代码\\dccloud\\uni-app-front-second-directory\\node_modules\\@vant\\popperjs",
  26. "author": {
  27. "name": "Federico Zivolo",
  28. "email": "federico.zivolo@gmail.com"
  29. },
  30. "babel": {
  31. "extends": "./.config/babel.config"
  32. },
  33. "bugs": {
  34. "url": "https://github.com/popperjs/popper-core/issues"
  35. },
  36. "bundleDependencies": false,
  37. "deprecated": false,
  38. "description": "Tooltip and Popover Positioning Engine",
  39. "devDependencies": {
  40. "@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
  41. "@atomico/rollup-plugin-sizes": "^1.1.4",
  42. "@babel/cli": "^7.12.17",
  43. "@babel/core": "^7.12.17",
  44. "@babel/plugin-transform-flow-strip-types": "^7.12.13",
  45. "@babel/plugin-transform-runtime": "^7.12.17",
  46. "@babel/preset-env": "^7.12.17",
  47. "@fezvrasta/tsc-silent": "^1.3.0",
  48. "@khanacademy/flow-to-ts": "^0.3.0",
  49. "@rollup/plugin-babel": "^5.3.0",
  50. "@rollup/plugin-replace": "^2.3.4",
  51. "babel-eslint": "^10.0.3",
  52. "babel-jest": "^26.6.3",
  53. "babel-plugin-add-import-extension": "^1.4.4",
  54. "babel-plugin-annotate-pure-calls": "^0.4.0",
  55. "babel-plugin-dev-expression": "^0.2.2",
  56. "babel-plugin-inline-replace-variables": "^1.3.1",
  57. "babel-plugin-transform-inline-environment-variables": "^0.4.3",
  58. "concurrently": "^5.3.0",
  59. "dotenv": "^8.2.0",
  60. "eslint": "^7.20.0",
  61. "eslint-plugin-flowtype": "^5.2.2",
  62. "eslint-plugin-import": "^2.22.1",
  63. "eslint-plugin-unused-imports": "^1.1.0",
  64. "flow-bin": "^0.139.0",
  65. "flow-copy-source": "^2.0.9",
  66. "get-port-cli": "^2.0.0",
  67. "husky": "^5.0.9",
  68. "jest": "^26.6.3",
  69. "jest-environment-jsdom-sixteen": "^1.0.3",
  70. "jest-environment-puppeteer": "^4.4.0",
  71. "jest-image-snapshot": "^4.3.0",
  72. "jest-puppeteer": "^4.4.0",
  73. "pinst": "^2.1.4",
  74. "poster": "^0.0.9",
  75. "prettier": "^2.2.1",
  76. "pretty-quick": "^3.1.0",
  77. "puppeteer": "^7.1.0",
  78. "replace-in-files-cli": "^1.0.0",
  79. "rollup": "^2.39.0",
  80. "rollup-plugin-flow-entry": "^0.3.3",
  81. "rollup-plugin-license": "^2.2.0",
  82. "rollup-plugin-terser": "^7.0.2",
  83. "rollup-plugin-visualizer": "^4.2.0",
  84. "serve": "^11.3.2",
  85. "typescript": "^4.1.5"
  86. },
  87. "eslintConfig": {
  88. "extends": "./.config/eslint.config"
  89. },
  90. "files": [
  91. "index.d.ts",
  92. "/dist",
  93. "/lib"
  94. ],
  95. "funding": {
  96. "type": "opencollective",
  97. "url": "https://opencollective.com/popperjs"
  98. },
  99. "homepage": "https://github.com/popperjs/popper-core#readme",
  100. "husky": {
  101. "hooks": {
  102. "pre-commit": "pretty-quick --staged"
  103. }
  104. },
  105. "jest": {
  106. "preset": "./.config/jest.config"
  107. },
  108. "keywords": [
  109. "tooltip",
  110. "popover",
  111. "dropdown",
  112. "popup",
  113. "popper",
  114. "positioning engine"
  115. ],
  116. "license": "MIT",
  117. "main": "dist/cjs/popper.js",
  118. "main:umd": "dist/umd/popper.js",
  119. "module": "lib/index.js",
  120. "name": "@popperjs/core",
  121. "prettier": {
  122. "semi": true,
  123. "trailingComma": "es5",
  124. "singleQuote": true,
  125. "proseWrap": "always"
  126. },
  127. "repository": {
  128. "type": "git",
  129. "url": "git+https://github.com/popperjs/popper-core.git"
  130. },
  131. "scripts": {
  132. "_postinstall": "husky install .config/husky",
  133. "build": "yarn clean && yarn build:es && yarn build:esbrowser && yarn build:bundles && yarn build:flow && yarn build:typescript",
  134. "build:bundles": "rollup -c .config/rollup.config.js",
  135. "build:dev": "NODE_ENV=dev babel src -d tests/visual/dist",
  136. "build:es": "babel src -d lib --ignore '**/*.test.js','**/__mocks__'",
  137. "build:esbrowser": "BROWSER_COMPAT=true yarn build:es -d dist/esm",
  138. "build:flow": "flow-copy-source --ignore \"**/*.test.js\" src lib && replace-in-files --string=__DEV__ --replacement=false 'lib/**/*.flow'",
  139. "build:typescript": "rimraf dist/typescript; flow-to-ts \"src/**/*.js\" --write --inline-utility-types; tsc-silent --project .config/tsconfig.json --createSourceFile .config/createSourceFile.js --suppress @; rimraf \"src/**/*.ts\"",
  140. "clean": "rimraf lib && rimraf dist && rimraf test/visual/dist",
  141. "dev": "NODE_ENV=dev concurrently 'yarn serve' 'yarn build:dev --watch'",
  142. "postpublish": "pinst --enable",
  143. "prepublishOnly": "yarn build && pinst --disable",
  144. "serve": "serve -l ${DEV_PORT:-5000} tests/visual",
  145. "test": "yarn test:unit && yarn test:functional",
  146. "test:eslint": "eslint .",
  147. "test:flow": "flow",
  148. "test:functional": "DEV_PORT=`get-port` jest tests/functional",
  149. "test:typescript": "tsc --project tests/typescript/tsconfig.json",
  150. "test:unit": "jest --coverage src"
  151. },
  152. "sideEffects": false,
  153. "unpkg": "dist/umd/popper.min.js",
  154. "version": "2.9.2"
  155. }