package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "vod-js-sdk-v6",
  3. "version": "1.4.12",
  4. "description": "tencent cloud vod js sdk v6",
  5. "main": "lib/src/tc_vod.js",
  6. "unpkg": "dist/vod-js-sdk-v6.js",
  7. "typings": "lib/src/tc_vod.d.ts",
  8. "scripts": {
  9. "test": "cross-env NODE_ENV=test mocha -r espower-typescript/guess -r jsdom-global/register -r test/env test/**/*.test.ts",
  10. "cover": "cross-env NODE_ENV=test nyc mocha -r espower-typescript/guess -r jsdom-global/register -r test/env test/**/*.test.ts",
  11. "dev": "webpack --config webpack.dev.config.js --watch",
  12. "dist": "webpack --config webpack.config.js",
  13. "build": "npm run test && npm run dist && npm run compile",
  14. "compile": "tsc -p tsconfig.json",
  15. "prepublish": "npm run build",
  16. "lint": "tsc --noEmit && eslint 'src/**/*.{js,ts,tsx}' --quiet --fix"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git+https://github.com/tencentyun/vod-js-sdk-v6.git"
  21. },
  22. "keywords": [
  23. "tencentcloud",
  24. "sdk",
  25. "vod"
  26. ],
  27. "author": "alsotang <alsotang@gmail.com>",
  28. "license": "MIT",
  29. "bugs": {
  30. "url": "https://github.com/tencentyun/vod-js-sdk-v6/issues"
  31. },
  32. "homepage": "https://github.com/tencentyun/vod-js-sdk-v6#readme",
  33. "dependencies": {
  34. "axios": "^0.21.1",
  35. "cos-js-sdk-v5": "0.5.27",
  36. "eventemitter3": "^4.0.7",
  37. "js-sha1": "^0.6.0",
  38. "uuid": "^3.3.2"
  39. },
  40. "devDependencies": {
  41. "@types/mocha": "^5.2.5",
  42. "@types/semver": "^6.0.0",
  43. "@types/sha1": "^1.1.1",
  44. "@types/uuid": "^3.4.4",
  45. "@typescript-eslint/eslint-plugin": "^1.9.0",
  46. "@typescript-eslint/parser": "^1.9.0",
  47. "cross-env": "^6.0.3",
  48. "eslint": "^5.16.0",
  49. "eslint-config-prettier": "^4.3.0",
  50. "eslint-plugin-prettier": "^3.1.0",
  51. "espower-typescript": "^9.0.1",
  52. "jsdom": "^13.1.0",
  53. "jsdom-global": "^3.0.2",
  54. "mm": "^2.4.1",
  55. "mocha": "^5.2.0",
  56. "nyc": "^13.1.0",
  57. "power-assert": "^1.6.1",
  58. "prettier": "^1.17.1",
  59. "semver": "^6.1.1",
  60. "ts-loader": "^5.3.3",
  61. "typescript": "^3.5.3",
  62. "webpack": "^4.28.1",
  63. "webpack-cli": "^3.2.1"
  64. },
  65. "nyc": {
  66. "extension": [
  67. ".ts",
  68. ".tsx"
  69. ],
  70. "include": [
  71. "src"
  72. ],
  73. "reporter": [
  74. "html"
  75. ],
  76. "all": true
  77. }
  78. }