package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "name": "luch-request",
  3. "version": "3.1.1",
  4. "description": "基于Promise实现uni-app request 请求插件",
  5. "keywords": [
  6. "uni-app",
  7. "request",
  8. "Promise",
  9. "luch",
  10. "luch-request"
  11. ],
  12. "main": "src/lib/luch-request.js",
  13. "scripts": {
  14. "dev": "rollup -c",
  15. "watch": "rollup -c -w",
  16. "build": "rimraf DCloud && rollup -c --environment NODE_ENV:production",
  17. "zipD": "node node/zipDCloudPlugin.js && node node/zipDCloudDemo.js",
  18. "docs": "vuepress dev docs",
  19. "docs:build": "vuepress build docs",
  20. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -w -r 0",
  21. "pub": "npm publish && cnpm sync luch-request",
  22. "pub:alpha": "npm publish --tag=alpha && cnpm sync luch-request",
  23. "test": "echo \"Error: no test specified\" && exit 1"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "https://github.com/lei-mu/luch-request.git"
  28. },
  29. "author": "luch",
  30. "license": "MIT",
  31. "bugs": {
  32. "url": "https://github.com/lei-mu/luch-request/issues"
  33. },
  34. "homepage": "https://www.quanzhan.co/luch-request/",
  35. "devDependencies": {
  36. "@babel/core": "^7.9.0",
  37. "@babel/plugin-proposal-class-properties": "^7.8.3",
  38. "@babel/plugin-transform-arrow-functions": "^7.8.3",
  39. "@babel/preset-env": "^7.9.5",
  40. "@vuepress/plugin-active-header-links": "^1.5.0",
  41. "@vuepress/plugin-pwa": "^1.5.2",
  42. "archiver": "^4.0.1",
  43. "babel-eslint": "^10.1.0",
  44. "babel-preset-es2015": "^6.24.1",
  45. "commitizen": "^4.2.4",
  46. "conventional-changelog-cli": "^2.1.1",
  47. "cz-conventional-changelog": "^3.2.0",
  48. "eslint": "^6.8.0",
  49. "grunt": "^1.1.0",
  50. "grunt-babel": "^8.0.0",
  51. "load-grunt-tasks": "^5.1.0",
  52. "node-zip": "^1.1.1",
  53. "rollup": "^2.66.1",
  54. "rollup-plugin-babel": "^4.4.0",
  55. "rollup-plugin-commonjs": "^10.1.0",
  56. "rollup-plugin-copy": "^3.3.0",
  57. "rollup-plugin-eslint": "^7.0.0",
  58. "rollup-plugin-json": "^4.0.0",
  59. "rollup-plugin-live-server": "^1.0.3",
  60. "rollup-plugin-node-resolve": "^5.2.0",
  61. "rollup-plugin-replace": "^2.2.0",
  62. "rollup-plugin-uglify": "^6.0.4",
  63. "rollup-plugin-zip": "^1.0.0",
  64. "validate-commit-msg": "^2.14.0",
  65. "vuepress": "^1.4.1"
  66. },
  67. "engines": {
  68. },
  69. "config": {
  70. "commitizen": {
  71. "path": "./node_modules/cz-conventional-changelog"
  72. },
  73. "ghooks": {
  74. "commit-msg": "validate-commit-msg"
  75. },
  76. "validate-commit-msg": {
  77. "types": [
  78. "feat",
  79. "fix",
  80. "docs",
  81. "style",
  82. "refactor",
  83. "perf",
  84. "test",
  85. "build",
  86. "ci",
  87. "chore",
  88. "revert"
  89. ],
  90. "scope": {
  91. "required": false,
  92. "allowed": [
  93. "*"
  94. ],
  95. "validate": false,
  96. "multiple": false
  97. },
  98. "warnOnFail": false,
  99. "maxSubjectLength": 100,
  100. "subjectPattern": ".+",
  101. "subjectPatternErrorMsg": "subject does not match subject pattern!",
  102. "helpMessage": "",
  103. "autoFix": false
  104. }
  105. },
  106. "dependencies": {
  107. "@dcloudio/types": "^2.0.16"
  108. }
  109. }