package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. {
  2. "name": "vue-router",
  3. "version": "3.1.6",
  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. ],
  22. "keywords": [
  23. "vue",
  24. "router",
  25. "routing"
  26. ],
  27. "scripts": {
  28. "dev": "node examples/server.js",
  29. "dev:dist": "rollup -wm -c build/rollup.dev.config.js",
  30. "build": "node build/build.js",
  31. "lint": "eslint src examples test",
  32. "test": "npm run lint && npm run flow && npm run test:unit && npm run test:e2e && npm run test:types",
  33. "flow": "flow check",
  34. "test:unit": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
  35. "test:e2e": "node test/e2e/runner.js",
  36. "test:e2e:ci": "node test/e2e/runner.js --local -e ie,android44 -c test/e2e/nightwatch.browserstack.js test/e2e/specs/active-links.js",
  37. "test:e2e:ff": "node test/e2e/runner.js -e firefox -c test/e2e/nightwatch.config.js",
  38. "test:e2e:ie9": "node test/e2e/runner.js --local -e ie9 -c test/e2e/nightwatch.browserstack.js --skiptags history,ie9-fail",
  39. "test:types": "tsc -p types/test",
  40. "docs": "vuepress dev docs",
  41. "docs:build": "vuepress build docs",
  42. "changelog": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s",
  43. "release": "bash scripts/release.sh"
  44. },
  45. "gitHooks": {
  46. "pre-commit": "lint-staged",
  47. "commit-msg": "node scripts/verifyCommitMsg.js"
  48. },
  49. "lint-staged": {
  50. "*.{js,vue}": [
  51. "eslint --fix",
  52. "git add"
  53. ]
  54. },
  55. "devDependencies": {
  56. "axios": "^0.19.0",
  57. "babel-core": "^6.24.1",
  58. "babel-eslint": "^10.0.2",
  59. "babel-loader": "^7.1.3",
  60. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  61. "babel-preset-env": "^1.6.1",
  62. "babel-preset-flow-vue": "^1.0.0",
  63. "browserstack-local": "^1.4.0",
  64. "buble": "^0.19.8",
  65. "chromedriver": "^79.0.0",
  66. "conventional-changelog-cli": "^2.0.11",
  67. "cross-spawn": "^6.0.5",
  68. "css-loader": "^2.1.1",
  69. "dotenv": "^8.0.0",
  70. "es6-promise": "^4.2.8",
  71. "eslint": "^4.19.1",
  72. "eslint-plugin-flowtype": "^2.46.1",
  73. "eslint-plugin-jasmine": "^2.10.1",
  74. "eslint-plugin-vue-libs": "^2.1.0",
  75. "express": "^4.17.1",
  76. "express-urlrewrite": "^1.2.0",
  77. "flow-bin": "^0.66.0",
  78. "geckodriver": "^1.16.2",
  79. "jasmine": "2.8.0",
  80. "lint-staged": "^8.2.0",
  81. "nightwatch": "^1.1.13",
  82. "nightwatch-helpers": "^1.0.0",
  83. "path-to-regexp": "^1.7.0",
  84. "rollup": "^1.20.1",
  85. "rollup-plugin-buble": "^0.19.8",
  86. "rollup-plugin-commonjs": "^10.0.2",
  87. "rollup-plugin-flow-no-whitespace": "^1.0.0",
  88. "rollup-plugin-node-resolve": "^5.2.0",
  89. "rollup-plugin-replace": "^2.0.0",
  90. "rollup-watch": "^4.0.0",
  91. "selenium-server": "^3.141.59",
  92. "terser": "^4.2.0",
  93. "typescript": "^3.5.2",
  94. "vue": "^2.5.16",
  95. "vue-loader": "^15.2.1",
  96. "vue-template-compiler": "^2.5.16",
  97. "vuepress": "^0.14.11",
  98. "vuepress-theme-vue": "^1.1.0",
  99. "webpack": "^4.35.2",
  100. "webpack-dev-middleware": "^3.7.0",
  101. "yorkie": "^2.0.0"
  102. },
  103. "bugs": {
  104. "url": "https://github.com/vuejs/vue-router/issues"
  105. },
  106. "homepage": "https://github.com/vuejs/vue-router#readme",
  107. "__npminstall_done": "Mon May 18 2020 19:19:02 GMT+0800 (CST)",
  108. "_from": "vue-router@3.1.6",
  109. "_resolved": "https://registry.npm.taobao.org/vue-router/download/vue-router-3.1.6.tgz"
  110. }