package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. {
  2. "_from": "vue-router@4.0.16",
  3. "_id": "vue-router@4.0.16",
  4. "_inBundle": false,
  5. "_integrity": "sha512-JcO7cb8QJLBWE+DfxGUL3xUDOae/8nhM1KVdnudadTAORbuxIC/xAydC5Zr/VLHUDQi1ppuTF5/rjBGzgzrJNA==",
  6. "_location": "/vue-router",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "version",
  10. "registry": true,
  11. "raw": "vue-router@4.0.16",
  12. "name": "vue-router",
  13. "escapedName": "vue-router",
  14. "rawSpec": "4.0.16",
  15. "saveSpec": null,
  16. "fetchSpec": "4.0.16"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.0.16.tgz",
  23. "_shasum": "9477beeeef36e80e04d041a1738801a55e6e862e",
  24. "_spec": "vue-router@4.0.16",
  25. "_where": "/Users/wc/Desktop/HBuilder/vue3_cesium",
  26. "bugs": {
  27. "url": "https://github.com/vuejs/router/issues"
  28. },
  29. "bundleDependencies": false,
  30. "dependencies": {
  31. "@vue/devtools-api": "^6.0.0"
  32. },
  33. "deprecated": false,
  34. "description": "> This is the repository for Vue Router 4 (for Vue 3)",
  35. "devDependencies": {
  36. "@microsoft/api-extractor": "^7.18.11",
  37. "@rollup/plugin-alias": "^3.1.4",
  38. "@rollup/plugin-commonjs": "^21.0.2",
  39. "@rollup/plugin-node-resolve": "^13.0.5",
  40. "@rollup/plugin-replace": "^4.0.0",
  41. "@sucrase/jest-plugin": "^2.1.1",
  42. "@types/jest": "^27.4.1",
  43. "@types/jsdom": "^16.2.13",
  44. "@types/webpack": "^5.28.0",
  45. "@types/webpack-env": "^1.16.2",
  46. "@vitejs/plugin-vue": "^2.2.2",
  47. "@vue/compiler-sfc": "^3.2.31",
  48. "@vue/server-renderer": "^3.2.31",
  49. "@vue/test-utils": "^2.0.0-rc.3",
  50. "axios": "^0.26.0",
  51. "brotli": "^1.3.2",
  52. "browserstack-local": "^1.4.5",
  53. "chalk": "^4.1.0",
  54. "chromedriver": "^97.0.4",
  55. "connect-history-api-fallback": "^1.6.0",
  56. "conventional-changelog-cli": "^2.1.1",
  57. "css-loader": "^6.3.0",
  58. "dotenv": "^16.0.0",
  59. "faked-promise": "^2.2.2",
  60. "html-webpack-plugin": "^5.3.2",
  61. "jest": "^27.5.1",
  62. "jest-mock-warn": "^1.1.0",
  63. "lint-staged": "^12.3.4",
  64. "nightwatch": "^1.7.11",
  65. "nightwatch-helpers": "^1.2.0",
  66. "prettier": "^2.4.1",
  67. "rollup": "^2.68.0",
  68. "rollup-plugin-analyzer": "^4.0.0",
  69. "rollup-plugin-terser": "^7.0.2",
  70. "rollup-plugin-typescript2": "^0.31.0",
  71. "selenium-server": "^3.141.59",
  72. "serve-handler": "^6.1.3",
  73. "typescript": "~4.4.3",
  74. "vite": "~2.8.4",
  75. "vitepress": "^0.20.0",
  76. "vue": "^3.2.31",
  77. "vue-tsc": "^0.32.0",
  78. "yorkie": "^2.0.0"
  79. },
  80. "files": [
  81. "dist/*.js",
  82. "dist/vue-router.d.ts",
  83. "vetur/tags.json",
  84. "vetur/attributes.json",
  85. "README.md"
  86. ],
  87. "funding": "https://github.com/sponsors/posva",
  88. "gitHooks": {
  89. "pre-commit": "lint-staged",
  90. "commit-msg": "node scripts/verifyCommit.js"
  91. },
  92. "homepage": "https://github.com/vuejs/router#readme",
  93. "jsdelivr": "dist/vue-router.global.js",
  94. "license": "MIT",
  95. "lint-staged": {
  96. "*.js": [
  97. "prettier --write"
  98. ],
  99. "*.ts?(x)": [
  100. "prettier --parser=typescript --write"
  101. ]
  102. },
  103. "main": "dist/vue-router.cjs.js",
  104. "module": "dist/vue-router.esm-bundler.js",
  105. "name": "vue-router",
  106. "peerDependencies": {
  107. "vue": "^3.2.0"
  108. },
  109. "repository": {
  110. "type": "git",
  111. "url": "git+https://github.com/vuejs/router.git"
  112. },
  113. "scripts": {
  114. "build": "rollup -c rollup.config.js",
  115. "build:dts": "api-extractor run --local --verbose && tail -n +7 src/globalExtensions.ts >> dist/vue-router.d.ts",
  116. "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.js",
  117. "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.js",
  118. "build:size": "yarn run build && rollup -c size-checks/rollup.config.js",
  119. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
  120. "dev": "vite --config playground/vite.config.js",
  121. "dev:e2e": "vite --config e2e/vite.config.js",
  122. "docs": "vitepress dev docs",
  123. "docs:build": "vitepress build docs",
  124. "lint": "yarn run lint:script && yarn run lint:html",
  125. "lint:fix": "yarn run lint:script --write && yarn run lint:html --write",
  126. "lint:html": "prettier -c --parser html \"{playground,e2e}/**/*.html\"",
  127. "lint:script": "prettier -c --parser typescript \"{src,__tests__,e2e,playground}/**/*.[jt]s?(x)\"",
  128. "release": "bash scripts/release.sh",
  129. "test": "yarn run test:types && yarn run test:unit && yarn run build && yarn run build:dts && yarn run test:e2e",
  130. "test:dts": "tsc -p ./test-dts/tsconfig.json",
  131. "test:e2e": "yarn run test:e2e:headless && yarn run test:e2e:native",
  132. "test:e2e:bs": "node e2e/runner.js --local -e edge_pre_chrome,android44 -c e2e/nightwatch.browserstack.js --tag browserstack",
  133. "test:e2e:ci": "node e2e/runner.js -e firefox --retries 2",
  134. "test:e2e:headless": "node e2e/runner.js -e chrome-headless --skiptags no-headless",
  135. "test:e2e:native": "node e2e/runner.js -e chrome --tag no-headless",
  136. "test:types": "tsc --build tsconfig.json",
  137. "test:unit": "jest --coverage"
  138. },
  139. "sideEffects": false,
  140. "types": "dist/vue-router.d.ts",
  141. "unpkg": "dist/vue-router.global.js",
  142. "version": "4.0.16",
  143. "vetur": {
  144. "tags": "vetur/tags.json",
  145. "attributes": "vetur/attributes.json"
  146. }
  147. }