package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "vue-router",
  3. "version": "3.0.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/*.js",
  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 test examples",
  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:types": "tsc -p types/test",
  37. "docs": "vuepress dev docs",
  38. "docs:build": "vuepress build docs",
  39. "changelog": "conventional-changelog -p angular -r 1 -i CHANGELOG.md -s",
  40. "release": "bash scripts/release.sh"
  41. },
  42. "gitHooks": {
  43. "pre-commit": "lint-staged",
  44. "commit-msg": "node scripts/verifyCommitMsg.js"
  45. },
  46. "lint-staged": {
  47. "*.{js,vue}": [
  48. "eslint --fix",
  49. "git add"
  50. ]
  51. },
  52. "devDependencies": {
  53. "babel-core": "^6.24.1",
  54. "babel-eslint": "^10.0.1",
  55. "babel-loader": "^7.1.3",
  56. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  57. "babel-preset-env": "^1.6.1",
  58. "babel-preset-flow-vue": "^1.0.0",
  59. "buble": "^0.19.3",
  60. "chromedriver": "^2.35.0",
  61. "conventional-changelog-cli": "^2.0.11",
  62. "cross-spawn": "^5.0.1",
  63. "css-loader": "^0.28.10",
  64. "es6-promise": "^4.2.4",
  65. "eslint": "^4.19.1",
  66. "eslint-plugin-flowtype": "^2.46.1",
  67. "eslint-plugin-vue-libs": "^2.1.0",
  68. "express": "^4.16.2",
  69. "express-urlrewrite": "^1.2.0",
  70. "flow-bin": "^0.66.0",
  71. "jasmine": "2.8.0",
  72. "lint-staged": "^8.1.0",
  73. "nightwatch": "^0.9.20",
  74. "nightwatch-helpers": "^1.0.0",
  75. "path-to-regexp": "^1.7.0",
  76. "phantomjs-prebuilt": "^2.1.16",
  77. "rollup": "^0.56.4",
  78. "rollup-plugin-buble": "^0.19.2",
  79. "rollup-plugin-commonjs": "^9.0.0",
  80. "rollup-plugin-flow-no-whitespace": "^1.0.0",
  81. "rollup-plugin-node-resolve": "^3.0.3",
  82. "rollup-plugin-replace": "^2.0.0",
  83. "rollup-watch": "^4.0.0",
  84. "selenium-server": "^2.53.1",
  85. "terser": "^3.17.0",
  86. "typescript": "^3.3.1",
  87. "vue": "^2.5.16",
  88. "vue-loader": "^15.2.1",
  89. "vue-template-compiler": "^2.5.16",
  90. "vuepress": "^0.14.1",
  91. "vuepress-theme-vue": "^1.1.0",
  92. "webpack": "^4.9.0",
  93. "webpack-dev-middleware": "^3.1.3",
  94. "yorkie": "^2.0.0"
  95. },
  96. "bugs": {
  97. "url": "https://github.com/vuejs/vue-router/issues"
  98. },
  99. "homepage": "https://github.com/vuejs/vue-router#readme"
  100. }