package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "vue-router",
  3. "version": "3.5.4",
  4. "description": "Official router for Vue.js 2",
  5. "author": "Evan You",
  6. "license": "MIT",
  7. "main": "dist/vue-router.common.js",
  8. "module": "dist/vue-router.esm.js",
  9. "unpkg": "dist/vue-router.js",
  10. "jsdelivr": "dist/vue-router.js",
  11. "sideEffects": false,
  12. "repository": {
  13. "type": "git",
  14. "url": "https://github.com/vuejs/vue-router.git"
  15. },
  16. "typings": "types/index.d.ts",
  17. "files": [
  18. "src",
  19. "dist/*.js",
  20. "types/*.d.ts",
  21. "vetur/tags.json",
  22. "vetur/attributes.json"
  23. ],
  24. "vetur": {
  25. "tags": "vetur/tags.json",
  26. "attributes": "vetur/attributes.json"
  27. },
  28. "keywords": [
  29. "vue",
  30. "router",
  31. "routing"
  32. ],
  33. "scripts": {
  34. "dev": "node examples/server.js",
  35. "dev:dist": "rollup -wm -c build/rollup.dev.config.js",
  36. "build": "node build/build.js",
  37. "lint": "eslint src examples test",
  38. "test": "npm run lint && npm run flow && npm run test:unit && npm run test:e2e && npm run test:types",
  39. "flow": "flow check",
  40. "test:unit": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
  41. "test:e2e": "node test/e2e/runner.js",
  42. "test:e2e:ci": "node test/e2e/runner.js --local -e ie,android44 -c test/e2e/nightwatch.browserstack.js test/e2e/specs/active-links.js",
  43. "test:e2e:ff": "node test/e2e/runner.js -e firefox -c test/e2e/nightwatch.config.js",
  44. "test:e2e:ie9": "node test/e2e/runner.js --local -e ie9 -c test/e2e/nightwatch.browserstack.js --skiptags history,ie9-fail",
  45. "test:types": "tsc -p types/test",
  46. "docs": "vuepress dev docs",
  47. "docs:build": "vuepress build docs",
  48. "changelog": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s",
  49. "release": "bash scripts/release.sh",
  50. "commit": "git-cz"
  51. },
  52. "gitHooks": {
  53. "pre-commit": "lint-staged",
  54. "commit-msg": "node scripts/verifyCommitMsg.js"
  55. },
  56. "lint-staged": {
  57. "*.{js,vue}": [
  58. "eslint --fix",
  59. "git add"
  60. ]
  61. },
  62. "devDependencies": {
  63. "@rollup/plugin-commonjs": "^17.0.0",
  64. "@rollup/plugin-node-resolve": "^11.0.0",
  65. "@vuepress/plugin-pwa": "^1.5.3",
  66. "@vuepress/theme-vue": "^1.5.3",
  67. "axios": "^0.21.1",
  68. "babel-core": "^6.24.1",
  69. "babel-eslint": "^10.0.2",
  70. "babel-loader": "^7.1.3",
  71. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  72. "babel-preset-env": "^1.6.1",
  73. "babel-preset-flow-vue": "^1.0.0",
  74. "browserstack-local": "^1.4.8",
  75. "buble": "^0.19.8",
  76. "chromedriver": "^90.0.0",
  77. "conventional-changelog-cli": "^2.0.11",
  78. "cross-spawn": "^7.0.3",
  79. "css-loader": "^2.1.1",
  80. "dotenv": "^8.2.0",
  81. "es6-promise": "^4.2.8",
  82. "eslint": "^4.19.1",
  83. "eslint-plugin-flowtype": "^2.46.1",
  84. "eslint-plugin-jasmine": "^2.10.1",
  85. "eslint-plugin-vue-libs": "^2.1.0",
  86. "express": "^4.17.1",
  87. "express-urlrewrite": "^1.2.0",
  88. "flow-bin": "^0.66.0",
  89. "geckodriver": "^1.20.0",
  90. "jasmine": "2.8.0",
  91. "lint-staged": "^8.2.0",
  92. "nightwatch": "^1.3.6",
  93. "nightwatch-helpers": "^1.0.0",
  94. "path-to-regexp": "^1.8.0",
  95. "rollup": "^2.34.1",
  96. "rollup-plugin-buble": "^0.19.8",
  97. "rollup-plugin-flow-no-whitespace": "^1.0.0",
  98. "rollup-plugin-replace": "^2.0.0",
  99. "rollup-watch": "^4.0.0",
  100. "selenium-server": "^3.141.59",
  101. "terser": "^4.2.0",
  102. "typescript": "^3.5.2",
  103. "vue": "^2.6.12",
  104. "vue-loader": "^15.9.3",
  105. "vue-server-renderer": "^2.6.12",
  106. "vue-template-compiler": "^2.6.12",
  107. "vuepress": "^1.5.3",
  108. "vuepress-theme-vue": "^1.1.1",
  109. "webpack": "^4.35.2",
  110. "webpack-dev-middleware": "^3.7.0",
  111. "yorkie": "^2.0.0"
  112. },
  113. "bugs": {
  114. "url": "https://github.com/vuejs/vue-router/issues"
  115. },
  116. "homepage": "https://github.com/vuejs/vue-router#readme"
  117. }