forked from opensheetmusicdisplay/opensheetmusicdisplay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 6.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"name": "opensheetmusicdisplay",
"version": "1.7.0",
"description": "An open source JavaScript engine for displaying MusicXML based on VexFlow.",
"main": "build/opensheetmusicdisplay.min.js",
"types": "build/dist/src/index.d.ts",
"scripts": {
"docs": "typedoc --out ./build/docs --name OpenSheetMusicDisplay ./src",
"eslint": "eslint -c .eslintrc.js --ext .ts .",
"lint": "npm run eslint",
"test": "karma start --single-run --no-auto-watch",
"test:watch": "karma start --no-single-run --auto-watch --browsers ChromeNoSecurity",
"prebuild": "npm-run-all prebuildVexflow prebuildKarma",
"prebuildVexflow": "ncp src/VexFlowPatch/src/ node_modules/vexflow/src/",
"prebuildKarma": "ncp src/KarmaWebpackPatch/lib/ node_modules/karma-webpack/lib/",
"prepare": "npm run build",
"build": "npm-run-all lint build:webpack",
"build:webpack": "webpack --progress --config webpack.prod.js",
"build:webpack-dev": "webpack --progress --config webpack.dev.js",
"build:webpack-sourcemap": "webpack --progress --config webpack.sourcemap.js",
"start": "webpack-dev-server --progress --config webpack.dev.js",
"start:local": "webpack-dev-server --progress --config webpack.local.js",
"generatePNG": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 allSmall --osmdtesting",
"generateSVG": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export/svg svg 0 0 allSmall --osmdtesting",
"generatePNG:debug": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 allSmall --debugosmdtesting",
"generatePNG:single": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 ^Beethoven",
"generatePNG:legacyslow": "node ./test/Util/generateDiffImagesPuppeteerLocalhost.js ./test/data ./export png 0 0 all",
"generatePNG:paged": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 210 297 allSmall",
"generatePNG:paged:debug": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 210 297 all --debug 5000",
"generatePNG:paged:single": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./export png 0 0 ^Beethoven",
"generate:current": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 allSmall --osmdtesting",
"generate:current:batch": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 allSmall --osmdtesting 0 --batch",
"generate:current:webgl": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 allSmall --osmdtesting 0 --webgl",
"generate:current:debug": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 allSmall --debugosmdtesting",
"generate:current:singletest": "node test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/current png 0 0 ^Beethoven --osmdtestingsingle",
"generate:blessed": "node ./test/Util/generateImages_browserless.mjs ../../build ./test/data ./visual_regression/blessed png 0 0 allSmall --osmdtesting",
"test:visual": "bash ./test/Util/visual_regression.sh ./visual_regression",
"test:visual:build": "npm-run-all prebuild build:webpack generate:current test:visual",
"test:visual:build:batch": "npm-run-all prebuild build:webpack generate:current:batch test:visual",
"test:visual:build:webgl": "npm-run-all prebuild build:webpack generate:current:webgl test:visual",
"test:visual:singletest": "sh ./test/Util/visual_regression.sh ./visual_regression Beethoven",
"fix-memory-limit": "cross-env NODE_OPTIONS=--max_old_space_size=4096"
},
"pre-commit": [
"lint"
],
"files": [
"build/dist/src",
"build/opensheetmusicdisplay.min.js",
"AUTHORS",
"CHANGELOG.md",
"README.md",
"external"
],
"repository": {
"type": "git",
"url": "https://github.com/opensheetmusicdisplay/opensheetmusicdisplay"
},
"keywords": [
"sheet",
"music",
"vexflow",
"musicxml"
],
"author": "PhonicScore",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/opensheetmusicdisplay/opensheetmusicdisplay/issues"
},
"homepage": "http://opensheetmusicdisplay.org",
"dependencies": {
"@types/vexflow": "^1.2.38",
"jszip": "3.7.1",
"loglevel": "^1.8.0",
"typescript-collections": "^1.3.3",
"vexflow": "1.2.93"
},
"devDependencies": {
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"canvas": "^2.8.0",
"chai": "^4.3.4",
"clean-webpack-plugin": "^4.0.0",
"cross-blob": "^3.0.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.4.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsdoc": "^37.1.0",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-standard": "^4.1.0",
"html-webpack-plugin": "^5.5.0",
"jquery": "^3.6.0",
"jsdom": "^19.0.0",
"jspdf": "^2.4.0",
"karma": "^6.3.9",
"karma-base64-to-js-preprocessor": "^0.1.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-webpack": "^5.0.0",
"karma-xml2js-preprocessor": "^0.1.0",
"mocha": "^9.1.3",
"ncp": "^2.0.0",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"svg2pdf.js": "^2.2.0",
"ts-loader": "^9.2.6",
"typedoc": "^0.22.10",
"typescript": "^4.5.2",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.0",
"webpack-merge": "^5.8.0",
"webpack-visualizer-plugin2": "^1.0.0"
},
"optionalDependencies": {
"gl": "^5.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}