forked from SVG-Edit/svgedit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
192 lines (192 loc) · 8.96 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "svgedit",
"version": "5.1.0",
"description": "Powerful SVG-Editor for your browser ",
"main": "dist/index-umd.js",
"module": "dist/index-es.js",
"directories": {
"doc": "docs",
"example": "examples",
"test": "test"
},
"engines": {
"node": ">=8.5.0"
},
"scripts": {
"prepublishOnly": "npm run prep",
"open-allext-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html?extensions=ext-arrows.js,ext-closepath.js,ext-foreignobject.js,ext-helloworld.js,ext-mathjax.js,ext-php_savefile.js,ext-server_moinsave.js,ext-server_opensave.js,ext-webappfind.js,ext-xdomain-messaging.js",
"open-allext": "run-p start open-allext-no-start",
"open-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html",
"open": "run-p start open-no-start",
"build-docs-remove": "rimraf \"docs/jsdoc/*\"",
"build-docs-create": "jsdoc --pedantic -c docs/jsdoc-config.js editor",
"build-docs": "run-s -c build-docs-remove build-docs-create",
"open-docs-no-start": "open-cli http://localhost:8000/docs/jsdoc/",
"open-docs": "run-p start open-docs-no-start",
"build-html": "npx babel-node --plugins @babel/plugin-transform-modules-commonjs build/build-html.js",
"compress-images": "imageoptim \"editor/extensions/*.png\" \"editor/spinbtn/*.png\" \"editor/jgraduate/images/*.{png,gif}\" \"editor/images/*.png\"",
"copy": "copyfiles -f node_modules/load-stylesheets/dist/index-es.js editor/external/load-stylesheets && copyfiles -f node_modules/jamilih/dist/jml-es.js editor/external/jamilih && copyfiles -f node_modules/query-result/esm/index.js editor/external/query-result/esm && copyfiles -f node_modules/qr-manipulation/dist/index-es.js editor/external/qr-manipulation/dist && copyfiles -f node_modules/stackblur-canvas/dist/stackblur-es.js editor/external/stackblur-canvas/dist && copyfiles -f node_modules/regenerator-runtime/runtime.js editor/external/regenerator-runtime && copyfiles -f \"node_modules/core-js-bundle//minified*\" editor/external/core-js-bundle && copyfiles -f \"node_modules/underscore/underscore-*\" editor/jspdf && copyfiles -f \"node_modules/deparam/dist/deparam.esm.js\" editor/external/deparam",
"remark": "remark -q -f .",
"eslint-fix": "eslint --fix --ext js,md,html .",
"eslint": "eslint --ext js,md,html .",
"rollup": "rollup -c",
"start-allow-origin": "static -p 8001 -H '{\"Access-Control-Allow-Origin\": \"*\"}'",
"start-embedded": "echo \"Open file to http://localhost:8000/editor/embedapi.html\" && run-p start start-allow-origin",
"start": "echo \"Open file, e.g., to http://localhost:8000/editor/svg-editor-es.html\" && static -p 8000",
"cypress:open": "cypress open",
"cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && node build/testing-badge.js",
"cypress:run-only": "rimraf \"cypress/results/mochaw*.json\" && rimraf \".nyc_output/*\" && cypress run",
"cypress:run-no-badge": "run-s -c cypress:run-only cypress:merge",
"cypress:run": "run-s -c cypress:run-no-badge coverage-badge",
"open-report-no-start": "open-cli http://localhost:8000/coverage/",
"open-report": "run-p start open-report-no-start",
"start-open-report": "run-p start open-report",
"instrument:replace-html": "frs-replace \"../svgedit-config-es.js\" \"svgedit-config-es.js\" -i instrumented/svg-editor-es.html -o instrumented/svg-editor-es.html",
"instrument:replace-js": "frs-replace \"editor/svg-editor.js\" \"svg-editor.js\" -i svgedit-config-es.js -o instrumented/svgedit-config-es.js",
"instrument:copy-excluded": "node cypress/support/copy.js",
"copy-instrumented": "copyfiles -e \"**/*.js\" -u 1 \"editor/**/*\" instrumented && npm run instrument:replace-html && npm run instrument:replace-js && npm run instrument:copy-excluded",
"instrument": "rimraf instrumented && npx nyc instrument editor instrumented && npm run copy-instrumented",
"license-badge": "license-badger --uncategorizedLicenseTemplate \"\\${license} (\\${name} (\\${version}))\" --filteredTypes=nonempty --textTemplate \"License types\n(project, deps, and bundled devDeps)\" --packageJson --production badges/licenses-badge.svg",
"license-badge-dev": "license-badger --corrections --filteredTypes=nonempty --textTemplate \"License types\n(all devDeps)\" --allDevelopment badges/licenses-badge-dev.svg",
"coverage-badge": "coveradge badges/coverage-badge",
"open-cov": "npm-run-all instrument --parallel --race start cypress:open",
"open-tests": "run-p start cypress:open",
"report": "npx nyc report",
"report-summary": "npx nyc report --reporter=text-summary",
"build-by-config": "rollup -c rollup-config.config.js",
"test-cov-prereport": "npm-run-all instrument --parallel --race start cypress:run",
"test-cov": "run-s -c test-cov-prereport report-summary",
"test-cov-open": "npm-run-all instrument --parallel --race start cypress:run",
"test-no-build": "run-s eslint build-html build-by-config && npm test",
"prep": "run-s eslint build-html rollup build-by-config",
"test": "run-p start cypress:run"
},
"nyc": {
"exclude": [
"editor/external/**",
"editor/jquery.min.js",
"editor/jquery-ui/**",
"editor/js-hotkeys/**",
"editor/jspdf/jspdf.min.js",
"editor/jspdf/underscore-min.js",
"editor/spinbtn/**"
],
"reporter": [
"json-summary",
"text",
"html"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/SVG-Edit/svgedit.git"
},
"keywords": [
"svg-editor",
"javascript",
"svg-edit",
"svg"
],
"author": "Narendra Sisodiya",
"contributors": [
"Pavol Rusnak",
"Jeff Schiller",
"Vidar Hokstad",
"Alexis Deveria",
"Brett Zamir",
"Fabien Jacq"
],
"license": "(MIT AND Apache-2.0 AND CC-BY-SA-2.0 AND ISC AND LGPL-3.0-or-later AND X11)",
"bugs": {
"url": "https://github.com/SVG-Edit/svgedit/issues"
},
"homepage": "https://github.com/SVG-Edit/svgedit#readme",
"browserslist": [
"cover 100%",
"last 3 Chrome versions",
"last 3 Firefox versions",
"last 3 Edge versions",
"last 3 Safari versions",
"last 3 ios_saf versions",
"last 3 Android versions",
"last 3 Opera versions",
"last 3 IE versions",
"last 3 op_mini versions",
"last 3 bb versions",
"last 3 op_mob versions",
"last 3 and_chr versions",
"last 3 and_ff versions",
"last 3 ie_mob versions",
"last 3 and_uc versions",
"last 3 Samsung versions"
],
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.8.0",
"@babel/node": "^7.8.0",
"@babel/plugin-transform-modules-commonjs": "^7.8.0",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.8.0",
"@babel/preset-env": "^7.8.2",
"@cypress/code-coverage": "^1.10.4",
"@cypress/fiddle": "^1.4.0",
"@mysticatea/eslint-plugin": "^13.0.0",
"axe-core": "^3.4.1",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"coffeescript": "^2.5.0",
"copyfiles": "^2.1.1",
"core-js-bundle": "^3.6.3",
"coveradge": "^0.2.0",
"cypress": "^3.8.2",
"cypress-axe": "^0.5.3",
"cypress-multi-reporters": "^1.2.3",
"deparam": "git+https://github.com/brettz9/deparam.git#updates",
"eslint": "^6.8.0",
"eslint-config-ash-nazg": "^16.5.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-array-func": "^3.1.3",
"eslint-plugin-compat": "^3.3.0",
"eslint-plugin-cypress": "^2.8.1",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-html": "^6.0.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsdoc": "^20.3.0",
"eslint-plugin-markdown": "^1.0.1",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-no-use-extend-native": "^0.4.1",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-sonarjs": "^0.5.0",
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-unicorn": "^15.0.1",
"frs-replace": "^2.0.1",
"gh-badges": "^2.2.1",
"imageoptim-cli": "^3.0.2",
"jamilih": "^0.47.0",
"jsdoc": "^3.6.3",
"license-badger": "^0.9.3",
"load-stylesheets": "^0.9.0",
"mocha": "^7.0.0",
"mocha-badge-generator": "https://github.com/brettz9/mocha-badge-generator#updated-badge-up",
"mochawesome": "^4.1.0",
"mochawesome-merge": "^4.0.0",
"mochawesome-report-generator": "^4.1.0",
"node-static": "^0.7.11",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"open-cli": "^5.0.0",
"promise-fs": "^2.1.1",
"qr-manipulation": "https://github.com/brettz9/qr-manipulation",
"query-result": "https://github.com/WebReflection/query-result",
"regenerator-runtime": "^0.13.3",
"remark-cli": "^7.0.1",
"remark-lint-ordered-list-marker-value": "^1.0.4",
"rimraf": "^3.0.0",
"rollup": "1.29.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-re": "^1.0.7",
"rollup-plugin-terser": "^5.2.0",
"stackblur-canvas": "^2.2.0",
"typescript": "^3.7.4",
"underscore": "^1.6.0"
}
}