package-vue.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "persagy-vue-doc",
  3. "version": "1.1.26",
  4. "description": "persagy vuepress 文档扩展组件",
  5. "private": false,
  6. "author": "郝洁 <haojie@persagy.com.cn>",
  7. "license": "MIT",
  8. "keywords": [
  9. "persagy",
  10. "vue",
  11. "vuepress",
  12. "doc",
  13. "git",
  14. "database"
  15. ],
  16. "main": "lib/persagy-vue-doc.umd.min.js",
  17. "scripts": {
  18. "build": "vue-cli-service build --target lib --name persagy-vue-doc --dest lib src/index.js",
  19. "build:lib": "cross-env NODE_ENV=production webpack --mode production --profile --progress --config webpack.components.config.js",
  20. "publish": "npm publish",
  21. "lint": "vue-cli-service lint"
  22. },
  23. "files": [
  24. "lib"
  25. ],
  26. "publishConfig": {
  27. "registry": "http://dev.dp.sagacloud.cn:8082/repository/npm-hosted/"
  28. },
  29. "dependencies": {
  30. "axios": "^0.20.0",
  31. "core-js": "^3.6.5",
  32. "prismjs": "^1.21.0",
  33. "vue": "^2.6.11"
  34. },
  35. "devDependencies": {
  36. "@vue/cli-plugin-babel": "~4.5.0",
  37. "@vue/cli-plugin-eslint": "~4.5.0",
  38. "@vue/cli-service": "~4.5.0",
  39. "babel-eslint": "^10.1.0",
  40. "eslint": "^6.7.2",
  41. "eslint-plugin-vue": "^6.2.2",
  42. "vue-template-compiler": "^2.6.11"
  43. },
  44. "eslintConfig": {
  45. "root": true,
  46. "env": {
  47. "node": true
  48. },
  49. "extends": [
  50. "plugin:vue/essential",
  51. "eslint:recommended"
  52. ],
  53. "parserOptions": {
  54. "parser": "babel-eslint"
  55. },
  56. "rules": {}
  57. },
  58. "browserslist": [
  59. "> 1%",
  60. "last 2 versions",
  61. "not dead"
  62. ]
  63. }