package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 jest"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "git+https://github.com/Sv443/geniURL.git"
  19. },
  20. "keywords": [
  21. "rest-api",
  22. "lyrics",
  23. "lyrics-search",
  24. "song-metadata"
  25. ],
  26. "author": {
  27. "name": "Sv443",
  28. "url": "https://github.com/Sv443",
  29. "email": "[email protected]"
  30. },
  31. "license": "MIT",
  32. "bugs": {
  33. "url": "https://github.com/Sv443/geniURL/issues"
  34. },
  35. "homepage": "https://github.com/Sv443/geniURL",
  36. "engines": {
  37. "node": ">=16",
  38. "pnpm": ">=9"
  39. },
  40. "dependencies": {
  41. "axios": "^1.7.8",
  42. "compression": "^1.7.5",
  43. "cors": "^2.8.5",
  44. "express": "^4.21.1",
  45. "helmet": "^7.2.0",
  46. "js2xmlparser": "^5.0.0",
  47. "kleur": "^4.1.5",
  48. "nanoid": "^3.3.8",
  49. "rate-limiter-flexible": "^2.4.2",
  50. "request-ip": "^3.3.0",
  51. "svcorelib": "^1.18.2",
  52. "tcp-port-used": "^1.0.2",
  53. "tsx": "^4.19.2",
  54. "typescript": "^5.7.2"
  55. },
  56. "devDependencies": {
  57. "@types/compression": "^1.7.5",
  58. "@types/cors": "^2.8.17",
  59. "@types/express": "^4.17.21",
  60. "@types/jest": "^29.5.14",
  61. "@types/node": "^20.17.9",
  62. "@types/request-ip": "^0.0.41",
  63. "@types/tcp-port-used": "^1.0.4",
  64. "@typescript-eslint/eslint-plugin": "^6.21.0",
  65. "@typescript-eslint/parser": "^6.21.0",
  66. "@vuepress/plugin-seo": "2.0.0-rc.3",
  67. "@vuepress/plugin-sitemap": "2.0.0-rc.3",
  68. "concurrently": "^9.1.0",
  69. "dotenv": "^16.4.5",
  70. "eslint": "^8.57.1",
  71. "jest": "^29.7.0",
  72. "nodemon": "^3.1.7",
  73. "percentile": "^1.6.0",
  74. "pnpm": "^9.14.2",
  75. "start-server-and-test": "^2.0.8",
  76. "ts-jest": "^29.2.5",
  77. "ts-node": "^10.9.2",
  78. "tslib": "^2.8.1"
  79. },
  80. "nodemonConfig": {
  81. "watch": [
  82. "src/**",
  83. "www/**",
  84. ".env",
  85. "package.json"
  86. ],
  87. "ext": "ts,mts,js,jsx,mjs,json,html,css,svg,png",
  88. "ignore": [
  89. "*/dist/*",
  90. "*/dev/*",
  91. "*/out/*"
  92. ]
  93. }
  94. }