package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "@cloudbase/node-sdk",
  3. "version": "2.9.1",
  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.4.1",
  33. "@cloudbase/signature-nodejs": "1.0.0-beta.0",
  34. "@types/retry": "^0.12.0",
  35. "agentkeepalive": "^4.1.3",
  36. "axios": "^0.21.1",
  37. "is-regex": "^1.0.4",
  38. "jsonwebtoken": "^8.5.1",
  39. "lodash.merge": "^4.6.1",
  40. "request": "^2.87.0",
  41. "request-promise": "^4.2.5",
  42. "retry": "^0.12.0",
  43. "ts-node": "^8.10.2",
  44. "xml2js": "^0.4.19"
  45. },
  46. "devDependencies": {
  47. "@types/jest": "^23.1.4",
  48. "@types/mocha": "^5.2.4",
  49. "@types/node": "^10.12.12",
  50. "@typescript-eslint/eslint-plugin": "^2.16.0",
  51. "@typescript-eslint/parser": "^2.16.0",
  52. "babel-eslint": "^10.0.3",
  53. "coveralls": "^3.0.9",
  54. "dumper.js": "^1.3.0",
  55. "eslint": "^7.1.0",
  56. "eslint-config-alloy": "^3.5.0",
  57. "eslint-plugin-prettier": "^3.1.2",
  58. "husky": "^3.1.0",
  59. "jest": "^23.3.0",
  60. "lint-staged": "^9.2.5",
  61. "mocha": "^5.2.0",
  62. "power-assert": "^1.5.0",
  63. "prettier": "^1.19.1",
  64. "ts-jest": "^23.10.4",
  65. "tslib": "^1.7.1",
  66. "typescript": "3.5.3"
  67. },
  68. "engines": {
  69. "node": ">=8.6.0"
  70. },
  71. "husky": {
  72. "hooks": {
  73. "pre-commit": "npm run build && git add . && lint-staged"
  74. }
  75. },
  76. "lint-staged": {
  77. "*.ts": [
  78. "eslint --fix",
  79. "git add"
  80. ]
  81. }
  82. }