package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name": "osmd-extended",
  3. "version": "1.4.5",
  4. "description": "Private / sponsor exclusive OSMD mirror/audio player.",
  5. "main": "build/opensheetmusicdisplay.min.js",
  6. "types": "build/dist/src/index.d.ts",
  7. "scripts": {
  8. "docs": "typedoc --out ./build/docs --name OpenSheetMusicDisplay ./src",
  9. "eslint": "eslint -c .eslintrc.js --ext .ts .",
  10. "lint": "npm run eslint",
  11. "test": "karma start --single-run --no-auto-watch",
  12. "test:watch": "karma start --no-single-run --auto-watch --browsers ChromeNoSecurity",
  13. "prebuild": "npm-run-all prebuildVexflow prebuildKarma",
  14. "prebuildVexflow": "ncp src/VexFlowPatch/src/ node_modules/vexflow/src/",
  15. "prebuildKarma": "ncp src/KarmaWebpackPatch/lib/ node_modules/karma-webpack/lib/",
  16. "prepare": "npm run build",
  17. "build": "npm-run-all lint build:webpack",
  18. "build:webpack": "webpack --progress --config webpack.prod.js",
  19. "build:webpack-dev": "webpack --progress --config webpack.dev.js",
  20. "build:webpack-sourcemap": "webpack --progress --config webpack.sourcemap.js",
  21. "start": "webpack-dev-server --progress --config webpack.dev.js",
  22. "start:local": "webpack-dev-server --progress --config webpack.local.js",
  23. "generatePNG": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 allSmall --osmdtesting",
  24. "generateSVG": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export/svg svg 0 0 allSmall --osmdtesting",
  25. "generatePNG:debug": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 allSmall --debugosmdtesting",
  26. "generatePNG:single": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 ^Beethoven",
  27. "generatePNG:legacyslow": "node ./test/Util/generateDiffImagesPuppeteerLocalhost.js ./test/data ./export png 0 0 all",
  28. "generatePNG:paged": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 210 297 allSmall",
  29. "generatePNG:paged:debug": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 210 297 all --debug 5000",
  30. "generatePNG:paged:single": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 ^Beethoven",
  31. "generate:current": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 allSmall --osmdtesting",
  32. "generate:current:debug": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 allSmall --debugosmdtesting",
  33. "generate:current:singletest": "node test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 ^Beethoven --osmdtestingsingle",
  34. "generate:blessed": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/blessed png 0 0 allSmall --osmdtesting",
  35. "test:visual": "bash ./test/Util/visual_regression.sh ./visual_regression",
  36. "test:visual:build": "npm-run-all prebuild build:webpack generate:current test:visual",
  37. "test:visual:singletest": "sh ./test/Util/visual_regression.sh ./visual_regression Beethoven",
  38. "fix-memory-limit": "cross-env NODE_OPTIONS=--max_old_space_size=4096"
  39. },
  40. "pre-commit": [
  41. "lint"
  42. ],
  43. "files": [
  44. "build/dist/src",
  45. "build/opensheetmusicdisplay.min.js",
  46. "AUTHORS",
  47. "CHANGELOG.md",
  48. "README.md",
  49. "external"
  50. ],
  51. "repository": {
  52. "type": "git",
  53. "url": "https://github.com/opensheetmusicdisplay/opensheetmusicdisplay"
  54. },
  55. "keywords": [
  56. "sheet",
  57. "music",
  58. "vexflow",
  59. "musicxml"
  60. ],
  61. "author": "PhonicScore",
  62. "license": "UNLICENSED",
  63. "bugs": {
  64. "url": "https://github.com/opensheetmusicdisplay/opensheetmusicdisplay/issues"
  65. },
  66. "homepage": "http://opensheetmusicdisplay.org",
  67. "dependencies": {
  68. "@types/vexflow": "^1.2.37",
  69. "d-path-parser": "^1.0.0",
  70. "jszip": "3.7.1",
  71. "loglevel": "^1.8.0",
  72. "soundfont-player": "^0.12.0",
  73. "standardized-audio-context": "^25.1.5",
  74. "typescript-collections": "^1.3.3",
  75. "vexflow": "^1.2.93"
  76. },
  77. "devDependencies": {
  78. "@types/chai": "^4.2.22",
  79. "@types/mocha": "^9.0.0",
  80. "@types/node": "^16.11.11",
  81. "@types/resize-observer-browser": "^0.1.5",
  82. "@typescript-eslint/eslint-plugin": "^5.5.0",
  83. "@typescript-eslint/parser": "^5.5.0",
  84. "canvas": "^2.8.0",
  85. "chai": "^4.3.4",
  86. "clean-webpack-plugin": "^4.0.0",
  87. "cross-blob": "^3.0.0",
  88. "cross-env": "^7.0.3",
  89. "cz-conventional-changelog": "^3.3.0",
  90. "eslint": "^8.4.0",
  91. "eslint-plugin-import": "^2.25.3",
  92. "eslint-plugin-jsdoc": "^37.1.0",
  93. "eslint-plugin-no-null": "^1.0.2",
  94. "eslint-plugin-node": "^11.1.0",
  95. "eslint-plugin-standard": "^4.1.0",
  96. "html-webpack-plugin": "^5.5.0",
  97. "jquery": "^3.6.0",
  98. "jsdom": "^19.0.0",
  99. "jspdf": "^2.4.0",
  100. "karma": "^6.3.9",
  101. "karma-base64-to-js-preprocessor": "^0.1.0",
  102. "karma-chai": "^0.1.0",
  103. "karma-chrome-launcher": "^3.1.0",
  104. "karma-firefox-launcher": "^2.1.2",
  105. "karma-mocha": "^2.0.1",
  106. "karma-mocha-reporter": "^2.2.5",
  107. "karma-webpack": "^5.0.0",
  108. "karma-xml2js-preprocessor": "^0.1.0",
  109. "mocha": "^9.1.3",
  110. "ncp": "^2.0.0",
  111. "npm-run-all": "^4.1.5",
  112. "pre-commit": "^1.2.2",
  113. "svg2pdf.js": "^2.2.0",
  114. "ts-loader": "^9.2.6",
  115. "typedoc": "^0.22.10",
  116. "typescript": "^4.5.2",
  117. "webpack": "^5.64.4",
  118. "webpack-cli": "^4.9.1",
  119. "webpack-dev-server": "^4.7.0",
  120. "webpack-merge": "^5.8.0",
  121. "webpack-visualizer-plugin2": "^1.0.0",
  122. "html-loader": "^1.3.0",
  123. "json5-loader": "^4.0.0",
  124. "@material/layout-grid": "^7.0.0",
  125. "@material/button": "^7.0.0",
  126. "@material/icon-button": "^7.0.0",
  127. "@material/ripple": "^7.0.0",
  128. "@material/textfield": "^7.0.0",
  129. "@material/tab-bar": "^7.0.0",
  130. "@material/slider": "^7.0.0",
  131. "handlebars": "^4.7.6",
  132. "@splidejs/splide": "^2.4.14",
  133. "@splidejs/splide-extension-grid": "^0.2.0",
  134. "uuid": "^8.3.0",
  135. "@types/uuid": "^3.4.3"
  136. },
  137. "config": {
  138. "commitizen": {
  139. "path": "./node_modules/cz-conventional-changelog"
  140. }
  141. }
  142. }