package.json 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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 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. "chai": "^4.3.4",
  85. "clean-webpack-plugin": "^4.0.0",
  86. "cross-blob": "^3.0.0",
  87. "cross-env": "^7.0.3",
  88. "cz-conventional-changelog": "^3.3.0",
  89. "eslint": "^8.4.0",
  90. "eslint-plugin-import": "^2.25.3",
  91. "eslint-plugin-jsdoc": "^37.1.0",
  92. "eslint-plugin-no-null": "^1.0.2",
  93. "eslint-plugin-node": "^11.1.0",
  94. "eslint-plugin-standard": "^4.1.0",
  95. "html-webpack-plugin": "^5.5.0",
  96. "jquery": "^3.6.0",
  97. "jsdom": "^19.0.0",
  98. "jspdf": "^2.4.0",
  99. "karma": "^6.3.9",
  100. "karma-base64-to-js-preprocessor": "^0.1.0",
  101. "karma-chai": "^0.1.0",
  102. "karma-chrome-launcher": "^3.1.0",
  103. "karma-firefox-launcher": "^2.1.2",
  104. "karma-mocha": "^2.0.1",
  105. "karma-mocha-reporter": "^2.2.5",
  106. "karma-webpack": "^5.0.0",
  107. "karma-xml2js-preprocessor": "^0.1.0",
  108. "mocha": "^9.1.3",
  109. "ncp": "^2.0.0",
  110. "npm-run-all": "^4.1.5",
  111. "pre-commit": "^1.2.2",
  112. "svg2pdf.js": "^2.2.0",
  113. "ts-loader": "^9.2.6",
  114. "typedoc": "^0.22.10",
  115. "typescript": "^4.5.2",
  116. "webpack": "^5.64.4",
  117. "webpack-cli": "^4.9.1",
  118. "webpack-dev-server": "^4.7.0",
  119. "webpack-merge": "^5.8.0",
  120. "webpack-visualizer-plugin2": "^1.0.0",
  121. "html-loader": "^1.3.0",
  122. "json5-loader": "^4.0.0",
  123. "@material/layout-grid": "^7.0.0",
  124. "@material/button": "^7.0.0",
  125. "@material/icon-button": "^7.0.0",
  126. "@material/ripple": "^7.0.0",
  127. "@material/textfield": "^7.0.0",
  128. "@material/tab-bar": "^7.0.0",
  129. "@material/slider": "^7.0.0",
  130. "handlebars": "^4.7.6",
  131. "@splidejs/splide": "^2.4.14",
  132. "@splidejs/splide-extension-grid": "^0.2.0",
  133. "uuid": "^8.3.0",
  134. "@types/uuid": "^3.4.3"
  135. },
  136. "config": {
  137. "commitizen": {
  138. "path": "./node_modules/cz-conventional-changelog"
  139. }
  140. }
  141. }