package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "name": "betterytm",
  3. "userscriptName": "BetterYTM",
  4. "version": "1.1.1",
  5. "description": "Lots of configurable layout and user experience improvements for YouTube Music™",
  6. "homepage": "https://github.com/Sv443/BetterYTM",
  7. "main": "./src/index.ts",
  8. "type": "module",
  9. "scripts": {
  10. "dev": "concurrently \"nodemon --exec npm run build-watch\" \"npm run serve\"",
  11. "serve": "npm run node-ts -- ./src/tools/serve.ts",
  12. "lint": "tsc --noEmit && eslint .",
  13. "build": "rollup -c",
  14. "build-watch": "rollup -c --config-mode development --config-host github --config-branch develop --config-assetSource=local",
  15. "build-develop": "rollup -c --config-mode development --config-host github --config-branch develop",
  16. "build-prod": "npm run build-prod-gh && npm run build-prod-gf && npm run build-prod-oujs",
  17. "build-prod-base": "rollup -c --config-mode production --config-branch main",
  18. "build-prod-gh": "npm run build-prod-base -- --config-host github",
  19. "build-prod-gf": "npm run build-prod-base -- --config-host greasyfork --config-suffix _gf",
  20. "build-prod-oujs": "npm run build-prod-base -- --config-host openuserjs --config-suffix _oujs",
  21. "post-build": "npm run node-ts -- ./src/tools/post-build.ts",
  22. "tr-progress": "npm run node-ts -- ./src/tools/tr-progress.ts",
  23. "tr-format": "npm run node-ts -- ./src/tools/tr-format.ts",
  24. "gen-readme": "npm run node-ts -- ./src/tools/gen-readme.ts",
  25. "node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm",
  26. "invisible": "node --enable-source-maps src/tools/run-invisible.mjs",
  27. "test": "npm run node-ts -- ./test.ts"
  28. },
  29. "engines": {
  30. "node": ">=18",
  31. "npm": ">=8"
  32. },
  33. "repository": {
  34. "type": "git",
  35. "url": "git+https://github.com/Sv443/BetterYTM.git"
  36. },
  37. "author": {
  38. "name": "Sv443",
  39. "url": "https://github.com/Sv443"
  40. },
  41. "license": "AGPL-3.0-only",
  42. "bugs": {
  43. "url": "https://github.com/Sv443/BetterYTM/issues"
  44. },
  45. "funding": {
  46. "type": "github",
  47. "url": "https://github.com/sponsors/Sv443"
  48. },
  49. "hosts": {
  50. "github": "https://github.com/Sv443/BetterYTM",
  51. "greasyfork": "https://greasyfork.org/en/scripts/475682-betterytm",
  52. "openuserjs": "https://openuserjs.org/scripts/Sv443/BetterYTM"
  53. },
  54. "updates": {
  55. "github": "https://github.com/Sv443/BetterYTM/releases",
  56. "greasyfork": "https://greasyfork.org/en/scripts/475682-betterytm",
  57. "openuserjs": "https://openuserjs.org/scripts/Sv443/BetterYTM"
  58. },
  59. "dependencies": {
  60. "@sv443-network/userutils": "^6.0.1",
  61. "fuse.js": "^7.0.0",
  62. "marked": "^12.0.0",
  63. "nanoevents": "^9.0.0"
  64. },
  65. "devDependencies": {
  66. "@rollup/plugin-json": "^6.0.1",
  67. "@rollup/plugin-node-resolve": "^15.2.3",
  68. "@rollup/plugin-terser": "^0.4.4",
  69. "@rollup/plugin-typescript": "^11.1.5",
  70. "@types/express": "^4.17.17",
  71. "@types/greasemonkey": "^4.0.4",
  72. "@types/node": "^20.2.4",
  73. "@typescript-eslint/eslint-plugin": "^6.7.4",
  74. "@typescript-eslint/parser": "^6.7.4",
  75. "concurrently": "^8.1.0",
  76. "dotenv": "^16.4.1",
  77. "eslint": "^8.51.0",
  78. "express": "^4.18.2",
  79. "nodemon": "^3.0.1",
  80. "rollup": "^4.6.0",
  81. "rollup-plugin-execute": "^1.1.1",
  82. "rollup-plugin-html": "^0.2.1",
  83. "rollup-plugin-import-css": "^3.3.5",
  84. "ts-node": "^10.9.1",
  85. "tslib": "^2.5.2",
  86. "typescript": "^5.0.4"
  87. },
  88. "browserslist": [
  89. "last 1 version",
  90. "> 1%",
  91. "not dead"
  92. ],
  93. "nodemonConfig": {
  94. "watch": [
  95. "src/**",
  96. "assets/**",
  97. "rollup.config.mjs",
  98. ".env",
  99. "changelog.md",
  100. "package.json"
  101. ],
  102. "ext": "ts,mts,js,jsx,mjs,json,html,css,svg,png",
  103. "ignore": [
  104. "dist/*",
  105. "dev/*"
  106. ]
  107. }
  108. }