用工小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 lines
5.3 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. {
  2. "name": "ali-oss",
  3. "version": "6.22.0",
  4. "description": "aliyun oss(object storage service) node client",
  5. "main": "./lib/client.js",
  6. "files": [
  7. "lib",
  8. "shims",
  9. "dist"
  10. ],
  11. "browser": {
  12. "./lib/client.js": "./dist/aliyun-oss-sdk.js",
  13. "mime": "mime/lite",
  14. "urllib": "./shims/xhr.js",
  15. "utility": "./shims/utility.js",
  16. "crypto": "./shims/crypto/crypto.js",
  17. "debug": "./shims/debug",
  18. "fs": false,
  19. "child_process": false,
  20. "is-type-of": "./shims/is-type-of.js"
  21. },
  22. "scripts": {
  23. "build-change-log": "standard-version",
  24. "test": "npm run tsc && mocha -t 120000 -r should -r dotenv/config test/node/*.test.js test/node/**/*.test.js",
  25. "test-cov": "npm run tsc && nyc --reporter=lcov node_modules/.bin/_mocha -t 120000 -r should test/node/*.test.js test/node/**/*.test.js",
  26. "jshint": "jshint .",
  27. "build-test": "mkdir -p ./test/browser/build && MINIFY=1 node browser-build.js > test/browser/build/aliyun-oss-sdk.min.js && node -r dotenv/config task/browser-test-build.js > test/browser/build/tests.js",
  28. "browser-test": "npm run build-test && karma start",
  29. "build-dist": "npm run tsc && node browser-build.js > dist/aliyun-oss-sdk.js && MINIFY=1 node browser-build.js > dist/aliyun-oss-sdk.min.js",
  30. "publish-to-npm": "node publish-npm-check.js && npm publish",
  31. "publish-to-cdn": "node publish.js",
  32. "snyk-protect": "snyk-protect",
  33. "lint-staged": "lint-staged",
  34. "detect-secrets": "node task/detect-secrets",
  35. "tsc": "npm run tsc:clean && npm run tsc:build",
  36. "tsc:build": "tsc -b tsconfig.json tsconfig-cjs.json",
  37. "tsc:watch": "tsc -b tsconfig.json tsconfig-cjs.json --watch",
  38. "tsc:clean": "tsc -b tsconfig.json tsconfig-cjs.json --clean ",
  39. "prepare": "husky install"
  40. },
  41. "git-pre-hooks": {
  42. "pre-release": "npm run build-dist",
  43. "post-release": [
  44. "npm run publish-to-npm",
  45. "npm run publish-to-cdn"
  46. ]
  47. },
  48. "homepage": "https://github.com/ali-sdk/ali-oss",
  49. "bugs": {
  50. "url": "https://github.com/ali-sdk/ali-oss/issues"
  51. },
  52. "publishConfig": {
  53. "registry": "https://registry.npmjs.org/",
  54. "access": "public"
  55. },
  56. "repository": {
  57. "type": "git",
  58. "url": "https://github.com/ali-sdk/ali-oss.git"
  59. },
  60. "keywords": [
  61. "oss",
  62. "client",
  63. "file",
  64. "aliyun"
  65. ],
  66. "author": "dead_horse",
  67. "license": "MIT",
  68. "engines": {
  69. "node": ">=8"
  70. },
  71. "devDependencies": {
  72. "@alicloud/openapi-client": "^0.4.10",
  73. "@alicloud/resourcemanager20200331": "^2.3.0",
  74. "@alicloud/tea-util": "^1.4.9",
  75. "@babel/core": "^7.11.6",
  76. "@babel/plugin-transform-regenerator": "^7.10.4",
  77. "@babel/plugin-transform-runtime": "^7.11.5",
  78. "@babel/preset-env": "^7.11.5",
  79. "@babel/runtime": "^7.11.2",
  80. "@commitlint/cli": "^17.6.7",
  81. "@commitlint/config-conventional": "^16.2.4",
  82. "@octokit/core": "^5.0.0",
  83. "@semantic-release/exec": "^6.0.3",
  84. "@semantic-release/git": "^10.0.1",
  85. "@semantic-release/npm": "^10.0.5",
  86. "@snyk/protect": "^1.1196.0",
  87. "@types/node": "^14.0.12",
  88. "@typescript-eslint/eslint-plugin": "^5.0.0",
  89. "@typescript-eslint/parser": "^5.0.0",
  90. "aliasify": "^2.0.0",
  91. "axios": "^0.27.2",
  92. "babelify": "^10.0.0",
  93. "beautify-benchmark": "^0.2.4",
  94. "benchmark": "^2.1.1",
  95. "bluebird": "^3.1.5",
  96. "browserify": "^17.0.0",
  97. "core-js": "^3.6.5",
  98. "crypto-js": "^4.2.0",
  99. "dotenv": "^8.2.0",
  100. "eslint": "^8.44.0",
  101. "eslint-config-airbnb": "^19.0.4",
  102. "eslint-config-ali": "^13.0.0",
  103. "eslint-config-prettier": "^8.8.0",
  104. "eslint-plugin-import": "^2.21.1",
  105. "eslint-plugin-jsx-a11y": "^6.0.3",
  106. "eslint-plugin-prettier": "^4.2.1",
  107. "filereader": "^0.10.3",
  108. "form-data": "^4.0.0",
  109. "git-pre-hooks": "^1.2.0",
  110. "husky": "^7.0.4",
  111. "immediate": "^3.3.0",
  112. "karma": "^6.3.4",
  113. "karma-browserify": "^8.1.0",
  114. "karma-chrome-launcher": "^2.2.0",
  115. "karma-firefox-launcher": "^1.0.1",
  116. "karma-ie-launcher": "^1.0.0",
  117. "karma-mocha": "^2.0.1",
  118. "karma-safari-launcher": "^1.0.0",
  119. "lint-staged": "^12.4.1",
  120. "mm": "^2.0.0",
  121. "mocha": "^9.1.2",
  122. "nise": "5.1.4",
  123. "nyc": "^15.1.0",
  124. "prettier": "^3.0.0",
  125. "promise-polyfill": "^6.0.2",
  126. "puppeteer": "19.0.0",
  127. "semantic-release": "^21.1.1",
  128. "should": "^11.0.0",
  129. "sinon": "^15.2.0",
  130. "standard-version": "^9.3.1",
  131. "stream-equal": "^1.1.0",
  132. "timemachine": "^0.3.0",
  133. "typescript": "^3.9.5",
  134. "uglify-js": "^3.14.2",
  135. "watchify": "^4.0.0"
  136. },
  137. "dependencies": {
  138. "address": "^1.2.2",
  139. "agentkeepalive": "^3.4.1",
  140. "bowser": "^1.6.0",
  141. "copy-to": "^2.0.1",
  142. "dateformat": "^2.0.0",
  143. "debug": "^4.3.4",
  144. "destroy": "^1.0.4",
  145. "end-or-error": "^1.0.1",
  146. "get-ready": "^1.0.0",
  147. "humanize-ms": "^1.2.0",
  148. "is-type-of": "^1.4.0",
  149. "js-base64": "^2.5.2",
  150. "jstoxml": "^2.0.0",
  151. "lodash": "^4.17.21",
  152. "merge-descriptors": "^1.0.1",
  153. "mime": "^2.4.5",
  154. "platform": "^1.3.1",
  155. "pump": "^3.0.0",
  156. "qs": "^6.4.0",
  157. "sdk-base": "^2.0.1",
  158. "stream-http": "2.8.2",
  159. "stream-wormhole": "^1.0.4",
  160. "urllib": "^2.44.0",
  161. "utility": "^1.18.0",
  162. "xml2js": "^0.6.2"
  163. },
  164. "snyk": true,
  165. "lint-staged": {
  166. "**/!(dist)/*": [
  167. "npm run detect-secrets --"
  168. ],
  169. "**/*.{js,ts}": [
  170. "eslint --cache --fix --ext .js,.ts",
  171. "prettier --write",
  172. "git add"
  173. ]
  174. }
  175. }