package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "@cloudbase/node-sdk",
  3. "version": "2.4.7",
  4. "description": "tencent cloud base server sdk for node.js",
  5. "main": "lib/index.js",
  6. "scripts": {
  7. "eslint": "eslint \"./**/*.ts\"",
  8. "eslint-fix": "eslint --fix \"./**/*.ts\"",
  9. "build": "rm -rf lib/* && npm run tsc",
  10. "tsc": "tsc -p tsconfig.json",
  11. "tsc:w": "tsc -p tsconfig.json -w",
  12. "tstest": "mocha --timeout 5000 --require espower-typescript/guess test/**/*.test.ts",
  13. "test": "jest --detectOpenHandles --verbose --coverage --runInBand",
  14. "coverage": "jest --detectOpenHandles --coverage",
  15. "coveralls": "cat ./coverage/lcov.info | coveralls"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/TencentCloudBase/node-sdk"
  20. },
  21. "bugs": {
  22. "url": "https://github.com/TencentCloudBase/node-sdk/issues"
  23. },
  24. "homepage": "https://github.com/TencentCloudBase/node-sdk#readme",
  25. "keywords": [
  26. "node sdk"
  27. ],
  28. "author": "lukejyhuang",
  29. "license": "MIT",
  30. "typings": "types/index.d.ts",
  31. "dependencies": {
  32. "@cloudbase/database": "1.2.2",
  33. "@cloudbase/signature-nodejs": "1.0.0-beta.0",
  34. "@types/retry": "^0.12.0",
  35. "agentkeepalive": "^4.1.3",
  36. "is-regex": "^1.0.4",
  37. "jsonwebtoken": "^8.5.1",
  38. "lodash.merge": "^4.6.1",
  39. "request": "^2.87.0",
  40. "request-promise": "^4.2.5",
  41. "retry": "^0.12.0",
  42. "ts-node": "^8.10.2",
  43. "xml2js": "^0.4.19"
  44. },
  45. "devDependencies": {
  46. "@types/jest": "^23.1.4",
  47. "@types/mocha": "^5.2.4",
  48. "@types/node": "^10.12.12",
  49. "@typescript-eslint/eslint-plugin": "^2.16.0",
  50. "@typescript-eslint/parser": "^2.16.0",
  51. "babel-eslint": "^10.0.3",
  52. "coveralls": "^3.0.9",
  53. "dumper.js": "^1.3.0",
  54. "eslint": "^7.1.0",
  55. "eslint-config-alloy": "^3.5.0",
  56. "eslint-plugin-prettier": "^3.1.2",
  57. "husky": "^3.1.0",
  58. "jest": "^23.3.0",
  59. "lint-staged": "^9.2.5",
  60. "mocha": "^5.2.0",
  61. "power-assert": "^1.5.0",
  62. "prettier": "^1.19.1",
  63. "ts-jest": "^23.10.4",
  64. "tslib": "^1.7.1",
  65. "typescript": "3.5.3"
  66. },
  67. "engines": {
  68. "node": ">=8.6.0"
  69. },
  70. "husky": {
  71. "hooks": {
  72. "pre-commit": "npm run build && git add . && lint-staged"
  73. }
  74. },
  75. "lint-staged": {
  76. "*.ts": [
  77. "eslint --fix",
  78. "git add"
  79. ]
  80. }
  81. }