|
@@ -3,11 +3,13 @@
|
|
"version": "2.0.0",
|
|
"version": "2.0.0",
|
|
"description": "Simple JSON and XML REST API to search for song metadata, the lyrics URL and lyrics translations on genius.com",
|
|
"description": "Simple JSON and XML REST API to search for song metadata, the lyrics URL and lyrics translations on genius.com",
|
|
"main": "src/index.ts",
|
|
"main": "src/index.ts",
|
|
|
|
+ "type": "module",
|
|
"scripts": {
|
|
"scripts": {
|
|
- "start": "tsc && node --enable-source-maps out/src/index.js",
|
|
|
|
"dev": "nodemon -e \"ts,d.ts\" -x \"pnpm start\"",
|
|
"dev": "nodemon -e \"ts,d.ts\" -x \"pnpm start\"",
|
|
- "www-dev": "cd www && pnpm run dev",
|
|
|
|
- "www-build": "cd www && pnpm run build",
|
|
|
|
|
|
+ "start": "tsc && node --enable-source-maps out/src/index.js",
|
|
|
|
+ "dev-www": "cd www && pnpm run dev",
|
|
|
|
+ "build-www": "cd www && pnpm run build",
|
|
|
|
+ "dev-all": "concurrently \"pnpm dev\" \"pnpm dev-www\"",
|
|
"lint": "eslint . && tsc --noEmit",
|
|
"lint": "eslint . && tsc --noEmit",
|
|
"test": "start-server-and-test start http://localhost:8074 jest"
|
|
"test": "start-server-and-test start http://localhost:8074 jest"
|
|
},
|
|
},
|
|
@@ -36,37 +38,39 @@
|
|
"pnpm": ">=9"
|
|
"pnpm": ">=9"
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
- "axios": "^1.7.7",
|
|
|
|
|
|
+ "axios": "^1.7.8",
|
|
"compression": "^1.7.5",
|
|
"compression": "^1.7.5",
|
|
"cors": "^2.8.5",
|
|
"cors": "^2.8.5",
|
|
"express": "^4.21.1",
|
|
"express": "^4.21.1",
|
|
"helmet": "^7.2.0",
|
|
"helmet": "^7.2.0",
|
|
"js2xmlparser": "^5.0.0",
|
|
"js2xmlparser": "^5.0.0",
|
|
"kleur": "^4.1.5",
|
|
"kleur": "^4.1.5",
|
|
- "nanoid": "^3.3.7",
|
|
|
|
|
|
+ "nanoid": "^3.3.8",
|
|
"rate-limiter-flexible": "^2.4.2",
|
|
"rate-limiter-flexible": "^2.4.2",
|
|
"request-ip": "^3.3.0",
|
|
"request-ip": "^3.3.0",
|
|
"svcorelib": "^1.18.2",
|
|
"svcorelib": "^1.18.2",
|
|
- "tcp-port-used": "^1.0.2"
|
|
|
|
|
|
+ "tcp-port-used": "^1.0.2",
|
|
|
|
+ "typescript": "^5.7.2"
|
|
},
|
|
},
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
"@types/compression": "^1.7.5",
|
|
"@types/compression": "^1.7.5",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^4.17.21",
|
|
"@types/express": "^4.17.21",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/jest": "^29.5.14",
|
|
- "@types/node": "^20.17.6",
|
|
|
|
|
|
+ "@types/node": "^20.17.9",
|
|
"@types/request-ip": "^0.0.41",
|
|
"@types/request-ip": "^0.0.41",
|
|
"@types/tcp-port-used": "^1.0.4",
|
|
"@types/tcp-port-used": "^1.0.4",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"@vuepress/plugin-seo": "2.0.0-rc.3",
|
|
"@vuepress/plugin-seo": "2.0.0-rc.3",
|
|
"@vuepress/plugin-sitemap": "2.0.0-rc.3",
|
|
"@vuepress/plugin-sitemap": "2.0.0-rc.3",
|
|
|
|
+ "concurrently": "^9.1.0",
|
|
"dotenv": "^16.4.5",
|
|
"dotenv": "^16.4.5",
|
|
"eslint": "^8.57.1",
|
|
"eslint": "^8.57.1",
|
|
"jest": "^29.7.0",
|
|
"jest": "^29.7.0",
|
|
"nodemon": "^3.1.7",
|
|
"nodemon": "^3.1.7",
|
|
"percentile": "^1.6.0",
|
|
"percentile": "^1.6.0",
|
|
- "pnpm": "^9.13.2",
|
|
|
|
|
|
+ "pnpm": "^9.14.2",
|
|
"start-server-and-test": "^2.0.8",
|
|
"start-server-and-test": "^2.0.8",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"ts-node": "^10.9.2",
|