package.json 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. {
  2. "name": "@the-convocation/twitter-scraper",
  3. "description": "A port of n0madic/twitter-scraper to Node.js.",
  4. "keywords": [
  5. "x",
  6. "twitter",
  7. "scraper",
  8. "crawler"
  9. ],
  10. "version": "0.15.1",
  11. "main": "dist/default/cjs/index.js",
  12. "types": "./dist/types/index.d.ts",
  13. "exports": {
  14. "types": "./dist/types/index.d.ts",
  15. "node": {
  16. "import": "./dist/node/esm/index.mjs",
  17. "require": "./dist/node/cjs/index.cjs"
  18. },
  19. "default": {
  20. "import": "./dist/default/esm/index.mjs",
  21. "require": "./dist/default/cjs/index.js"
  22. }
  23. },
  24. "repository": "https://github.com/the-convocation/twitter-scraper.git",
  25. "author": "karashiiro <49822414+karashiiro@users.noreply.github.com>",
  26. "license": "MIT",
  27. "engines": {
  28. "node": ">=16"
  29. },
  30. "packageManager": "yarn@1.22.19",
  31. "scripts": {
  32. "build": "rimraf dist && rollup -c",
  33. "commit": "cz",
  34. "docs:generate": "typedoc --options typedoc.json",
  35. "docs:deploy": "yarn docs:generate && gh-pages -d docs",
  36. "format": "prettier --write src/**/*.ts",
  37. "prepare": "husky install",
  38. "test": "jest"
  39. },
  40. "dependencies": {
  41. "@sinclair/typebox": "^0.32.20",
  42. "cross-fetch": "^4.0.0-alpha.5",
  43. "headers-polyfill": "^3.1.2",
  44. "json-stable-stringify": "^1.0.2",
  45. "otpauth": "^9.2.2",
  46. "set-cookie-parser": "^2.6.0",
  47. "tough-cookie": "^4.1.2",
  48. "tslib": "^2.5.2"
  49. },
  50. "devDependencies": {
  51. "@commitlint/cli": "^17.6.3",
  52. "@commitlint/config-conventional": "^17.6.3",
  53. "@tsconfig/node16": "^16.1.0",
  54. "@types/jest": "^29.5.1",
  55. "@types/json-stable-stringify": "^1.0.34",
  56. "@types/set-cookie-parser": "^2.4.2",
  57. "@types/tough-cookie": "^4.0.2",
  58. "@typescript-eslint/eslint-plugin": "^5.59.7",
  59. "@typescript-eslint/parser": "^5.59.7",
  60. "cz-conventional-changelog": "^3.3.0",
  61. "dotenv": "^16.3.1",
  62. "esbuild": "^0.21.5",
  63. "eslint": "^8.41.0",
  64. "eslint-config-prettier": "^8.8.0",
  65. "eslint-plugin-prettier": "^4.2.1",
  66. "gh-pages": "^5.0.0",
  67. "https-proxy-agent": "^7.0.2",
  68. "husky": "^8.0.3",
  69. "jest": "^29.5.0",
  70. "lint-staged": "^13.2.2",
  71. "prettier": "^2.8.8",
  72. "rimraf": "^5.0.7",
  73. "rollup": "^4.18.0",
  74. "rollup-plugin-dts": "^6.1.1",
  75. "rollup-plugin-esbuild": "^6.1.1",
  76. "ts-jest": "^29.1.0",
  77. "typedoc": "^0.27.6",
  78. "typescript": "^5.0.4"
  79. },
  80. "config": {
  81. "commitizen": {
  82. "path": "./node_modules/cz-conventional-changelog"
  83. }
  84. },
  85. "lint-staged": {
  86. "*.{js,ts}": [
  87. "eslint --cache --fix",
  88. "prettier --write"
  89. ]
  90. }
  91. }