package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "vue-router-tab",
  3. "version": "0.1.9",
  4. "description": "Vue.js tab components, based on Vue Router",
  5. "keywords": [
  6. "vue",
  7. "router",
  8. "tab"
  9. ],
  10. "author": "碧海幽虹 <bihaiyouhong12@126.com> (https://bhuh.net)",
  11. "private": false,
  12. "license": "MIT",
  13. "repository": {
  14. "type": "git",
  15. "url": "git+https://github.com/bhuh12/vue-router-tab.git"
  16. },
  17. "bugs": {
  18. "url": "https://github.com/bhuh12/vue-router-tab/issues"
  19. },
  20. "main": "dist/lib/vue-router-tab.umd.min.js",
  21. "scripts": {
  22. "demo:dev": "vue-cli-service serve --open demo/main.js",
  23. "demo:build": "vue-cli-service build demo/main.js",
  24. "docs:dev": "vuepress dev docs --open",
  25. "docs:build": "vuepress build docs",
  26. "lib:build": "vue-cli-service build --target lib src/index.js",
  27. "lib:build:report": "vue-cli-service build --report --target lib src/index.js",
  28. "lib:publish": "npm run lib:build && npm publish",
  29. "lint": "vue-cli-service lint",
  30. "lint:fix": "vue-cli-service lint --fix",
  31. "commit": "git-cz"
  32. },
  33. "dependencies": {
  34. "vue": "^2.5.22",
  35. "vue-router": "^3.0.1"
  36. },
  37. "devDependencies": {
  38. "@vue/cli-plugin-babel": "^3.4.0",
  39. "@vue/cli-plugin-eslint": "^3.4.0",
  40. "@vue/cli-service": "^3.4.0",
  41. "@vue/eslint-config-standard": "^4.0.0",
  42. "@vuepress/plugin-back-to-top": "^1.0.0-alpha.42",
  43. "@vuepress/plugin-pwa": "^1.0.0-alpha.43",
  44. "babel-eslint": "^10.0.1",
  45. "cz-conventional-changelog": "^2.1.0",
  46. "eslint": "^5.8.0",
  47. "eslint-plugin-vue": "^5.0.0",
  48. "lint-staged": "^8.1.0",
  49. "node-sass": "^4.9.0",
  50. "sass-loader": "^7.1.0",
  51. "vue-template-compiler": "^2.5.22",
  52. "vuepress": "^1.0.0-alpha.47",
  53. "yorkie": "^2.0.0"
  54. },
  55. "eslintConfig": {
  56. "root": true,
  57. "env": {
  58. "node": true
  59. },
  60. "extends": [
  61. "plugin:vue/recommended",
  62. "@vue/standard"
  63. ],
  64. "rules": {
  65. "vue/require-default-prop": false
  66. },
  67. "parserOptions": {
  68. "parser": "babel-eslint"
  69. }
  70. },
  71. "eslintIgnore": [
  72. "dist"
  73. ],
  74. "postcss": {
  75. "plugins": {
  76. "autoprefixer": {}
  77. }
  78. },
  79. "browserslist": [
  80. "> 1%",
  81. "last 2 versions",
  82. "not ie <= 8"
  83. ],
  84. "gitHooks": {
  85. "pre-commit": "lint-staged",
  86. "commit-msg": "node scripts/verify-commit-msg.js"
  87. },
  88. "lint-staged": {
  89. "*.js": [
  90. "vue-cli-service lint",
  91. "git add"
  92. ],
  93. "*.vue": [
  94. "vue-cli-service lint",
  95. "git add"
  96. ]
  97. },
  98. "config": {
  99. "commitizen": {
  100. "path": "./node_modules/cz-conventional-changelog"
  101. }
  102. }
  103. }