package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {
  2. "name": "geniurl",
  3. "version": "2.0.0",
  4. "description": "Simple JSON and XML REST API to search for song metadata, the lyrics URL and lyrics translations on genius.com",
  5. "main": "src/index.ts",
  6. "type": "module",
  7. "scripts": {
  8. "dev": "nodemon -e \"ts,d.ts,json\" -x \"pnpm start\"",
  9. "start": "tsx src/index.ts",
  10. "dev-www": "cd www && pnpm run dev",
  11. "build-www": "cd www && pnpm run build",
  12. "dev-all": "concurrently \"pnpm dev\" \"pnpm dev-www\"",
  13. "lint": "eslint . && tsc --noEmit",
  14. "test": "start-server-and-test start http://127.0.0.1:8074/v2/health run-tests",
  15. "run-tests": "jest --testLocationInResults --verbose"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/Sv443/geniURL.git"
  20. },
  21. "keywords": [
  22. "rest-api",
  23. "lyrics",
  24. "lyrics-search",
  25. "song-metadata"
  26. ],
  27. "author": {
  28. "name": "Sv443",
  29. "url": "https://github.com/Sv443",
  30. "email": "[email protected]"
  31. },
  32. "license": "MIT",
  33. "bugs": {
  34. "url": "https://github.com/Sv443/geniURL/issues"
  35. },
  36. "homepage": "https://github.com/Sv443/geniURL",
  37. "engines": {
  38. "node": ">=16",
  39. "pnpm": ">=9"
  40. },
  41. "dependencies": {
  42. "axios": "^1.7.8",
  43. "compression": "^1.7.5",
  44. "cors": "^2.8.5",
  45. "express": "^4.21.1",
  46. "helmet": "^7.2.0",
  47. "js2xmlparser": "^5.0.0",
  48. "kleur": "^4.1.5",
  49. "nanoid": "^3.3.8",
  50. "rate-limiter-flexible": "^2.4.2",
  51. "request-ip": "^3.3.0",
  52. "svcorelib": "^1.18.2",
  53. "tcp-port-used": "^1.0.2",
  54. "tsx": "^4.19.2",
  55. "typescript": "^5.7.2"
  56. },
  57. "devDependencies": {
  58. "@eslint/eslintrc": "^3.2.0",
  59. "@types/compression": "^1.7.5",
  60. "@types/cors": "^2.8.17",
  61. "@types/express": "^4.17.21",
  62. "@types/jest": "^29.5.14",
  63. "@types/node": "^20.17.9",
  64. "@types/request-ip": "^0.0.41",
  65. "@types/tcp-port-used": "^1.0.4",
  66. "@typescript-eslint/eslint-plugin": "^8.16.0",
  67. "@typescript-eslint/parser": "^8.16.0",
  68. "@typescript-eslint/utils": "^8.16.0",
  69. "@vuepress/plugin-seo": "2.0.0-rc.3",
  70. "@vuepress/plugin-sitemap": "2.0.0-rc.3",
  71. "concurrently": "^9.1.0",
  72. "dotenv": "^16.4.5",
  73. "eslint": "^9.15.0",
  74. "fast-xml-parser": "^4.5.0",
  75. "globals": "^15.12.0",
  76. "jest": "^29.7.0",
  77. "nodemon": "^3.1.7",
  78. "percentile": "^1.6.0",
  79. "pnpm": "^9.14.2",
  80. "start-server-and-test": "^2.0.8",
  81. "ts-jest": "^29.2.5",
  82. "ts-node": "^10.9.2",
  83. "tslib": "^2.8.1"
  84. },
  85. "nodemonConfig": {
  86. "watch": [
  87. "src/**",
  88. "www/**",
  89. ".env",
  90. "package.json"
  91. ],
  92. "ext": "ts,mts,js,jsx,mjs,json,html,css,svg,png",
  93. "ignore": [
  94. "*/dist/*",
  95. "*/dev/*",
  96. "*/out/*"
  97. ]
  98. }
  99. }