package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. "tr-prep": "npm run tr-format -- -p",
  25. "gen-readme": "npm run node-ts -- ./src/tools/gen-readme.ts",
  26. "node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm",
  27. "invisible": "node --enable-source-maps src/tools/run-invisible.mjs",
  28. "test": "npm run node-ts -- ./test.ts"
  29. },
  30. "engines": {
  31. "node": ">=18",
  32. "npm": ">=8"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "git+https://github.com/Sv443/BetterYTM.git"
  37. },
  38. "author": {
  39. "name": "Sv443",
  40. "url": "https://github.com/Sv443"
  41. },
  42. "license": "AGPL-3.0-or-later",
  43. "bugs": {
  44. "url": "https://github.com/Sv443/BetterYTM/issues"
  45. },
  46. "funding": {
  47. "type": "github",
  48. "url": "https://github.com/sponsors/Sv443"
  49. },
  50. "hosts": {
  51. "github": "https://github.com/Sv443/BetterYTM",
  52. "greasyfork": "https://greasyfork.org/en/scripts/475682-betterytm",
  53. "openuserjs": "https://openuserjs.org/scripts/Sv443/BetterYTM"
  54. },
  55. "updates": {
  56. "github": "https://github.com/Sv443/BetterYTM/releases",
  57. "greasyfork": "https://greasyfork.org/en/scripts/475682-betterytm",
  58. "openuserjs": "https://openuserjs.org/scripts/Sv443/BetterYTM"
  59. },
  60. "dependencies": {
  61. "@sv443-network/userutils": "^6.3.0",
  62. "fuse.js": "^7.0.0",
  63. "marked": "^12.0.0",
  64. "nanoevents": "^9.0.0"
  65. },
  66. "devDependencies": {
  67. "@rollup/plugin-json": "^6.0.1",
  68. "@rollup/plugin-node-resolve": "^15.2.3",
  69. "@rollup/plugin-terser": "^0.4.4",
  70. "@rollup/plugin-typescript": "^11.1.5",
  71. "@types/express": "^4.17.17",
  72. "@types/greasemonkey": "^4.0.4",
  73. "@types/node": "^20.2.4",
  74. "@typescript-eslint/eslint-plugin": "^6.7.4",
  75. "@typescript-eslint/parser": "^6.7.4",
  76. "concurrently": "^8.1.0",
  77. "dotenv": "^16.4.1",
  78. "eslint": "^8.51.0",
  79. "express": "^4.18.2",
  80. "nodemon": "^3.0.1",
  81. "rollup": "^4.6.0",
  82. "rollup-plugin-execute": "^1.1.1",
  83. "rollup-plugin-html": "^0.2.1",
  84. "rollup-plugin-import-css": "^3.3.5",
  85. "ts-node": "^10.9.1",
  86. "tslib": "^2.5.2",
  87. "typescript": "^5.0.4"
  88. },
  89. "browserslist": [
  90. "last 1 version",
  91. "> 1%",
  92. "not dead"
  93. ],
  94. "nodemonConfig": {
  95. "watch": [
  96. "src/**",
  97. "assets/**",
  98. "rollup.config.mjs",
  99. ".env",
  100. "changelog.md",
  101. "package.json"
  102. ],
  103. "ext": "ts,mts,js,jsx,mjs,json,html,css,svg,png",
  104. "ignore": [
  105. "dist/*",
  106. "dev/*"
  107. ]
  108. }
  109. }