143 lines
4.5 KiB
JSON
143 lines
4.5 KiB
JSON
{
|
|
"name": "svgedit",
|
|
"version": "7.0.2",
|
|
"description": "Powerful SVG-Editor for your browser ",
|
|
"main": "dist/Editor.js",
|
|
"module": "dist/Editor.js",
|
|
"directories": {
|
|
"doc": "docs",
|
|
"example": "examples",
|
|
"test": "test"
|
|
},
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"scripts": {
|
|
"lint": "standard .",
|
|
"test": "run-s cypress:instrument cypress:test",
|
|
"build": "rollup -c",
|
|
"build:watch": "rollup -c --watch",
|
|
"start": "web-dev-server --app-index src/editor/index.html --open --node-resolve",
|
|
"start:test": "web-dev-server --app-index src/editor/index.html --node-resolve",
|
|
"start:iife": "web-dev-server --app-index dist/editor/iife-index.html --esbuild-target auto --open",
|
|
"cypress:open": "run-p start cypress:open-no-start",
|
|
"cypress:open-no-start": "cypress open",
|
|
"cypress:run": "rimraf \".nyc_output/*\" && cypress run -q && nyc report --reporter=text-summary",
|
|
"cypress:instrument": "rimraf instrumented && cp-cli src instrumented && nyc instrument --compact=false src instrumented",
|
|
"cypress:test": "start-server-and-test start:test http://localhost:8000/instrumented/editor/index.html cypress:run",
|
|
"start-allow-origin": "static -p 8001 -H '{\"Access-Control-Allow-Origin\": \"*\"}'",
|
|
"start-embedded": "run-p start start-allow-origin",
|
|
"open-docs-no-start": "open-cli http://localhost:8000/docs/jsdoc/",
|
|
"open-docs": "run-p start open-docs-no-start",
|
|
"build-docs-remove": "rimraf \"docs/jsdoc/*\"",
|
|
"build-docs-create": "jsdoc --pedantic -c docs/jsdoc-config.js src",
|
|
"build-docs": "run-s -c build-docs-remove build-docs-create",
|
|
"build-and-open-docs-no-start": "run-s build-docs open-docs-no-start",
|
|
"build-and-open-docs": "run-s build-docs open-docs",
|
|
"remark": "remark -q -f .",
|
|
"prepublishOnly": "run-s build-docs build"
|
|
},
|
|
"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",
|
|
"OptimistikSAS"
|
|
],
|
|
"license": "(MIT AND Apache-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": [
|
|
"defaults",
|
|
"not IE 11",
|
|
"not OperaMini all"
|
|
],
|
|
"standard": {
|
|
"ignore": [
|
|
"archive/"
|
|
],
|
|
"globals": [
|
|
"cy",
|
|
"assert"
|
|
],
|
|
"env": [
|
|
"mocha",
|
|
"browser"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@babel/polyfill": "7.12.1",
|
|
"browser-fs-access": "0.23.0",
|
|
"canvg": "3.0.9",
|
|
"core-js": "3.20.1",
|
|
"elix": "15.0.1",
|
|
"html2canvas": "1.3.3",
|
|
"i18next": "21.6.4",
|
|
"jspdf": "2.5.0",
|
|
"pathseg": "1.2.1",
|
|
"regenerator-runtime": "0.13.9",
|
|
"rollup-plugin-polyfill-node": "0.8.0",
|
|
"svg2pdf.js": "2.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "7.16.5",
|
|
"@babel/preset-env": "7.16.5",
|
|
"@babel/register": "7.16.5",
|
|
"@babel/runtime-corejs3": "7.16.5",
|
|
"@cypress/code-coverage": "3.9.12",
|
|
"@cypress/fiddle": "1.19.3",
|
|
"@rollup/plugin-babel": "5.3.0",
|
|
"@rollup/plugin-commonjs": "^18",
|
|
"@rollup/plugin-dynamic-import-vars": "1.4.1",
|
|
"@rollup/plugin-node-resolve": "13.1.1",
|
|
"@rollup/plugin-replace": "3.0.0",
|
|
"@rollup/plugin-url": "6.1.0",
|
|
"@web/dev-server": "0.1.28",
|
|
"@web/dev-server-rollup": "0.3.13",
|
|
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
|
|
"copyfiles": "2.4.1",
|
|
"core-js-bundle": "3.20.1",
|
|
"cp-cli": "2.0.0",
|
|
"cypress": "9.2.0",
|
|
"cypress-multi-reporters": "1.5.0",
|
|
"cypress-plugin-snapshots": "1.4.4",
|
|
"jamilih": "0.54.0",
|
|
"jsdoc": "3.6.7",
|
|
"node-static": "0.7.11",
|
|
"npm-run-all": "4.1.5",
|
|
"nyc": "15.1.0",
|
|
"open-cli": "7.0.1",
|
|
"promise-fs": "2.1.1",
|
|
"qr-manipulation": "0.7.0",
|
|
"query-result": "1.0.5",
|
|
"remark-cli": "10.0.1",
|
|
"remark-lint-ordered-list-marker-value": "3.1.1",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "2.62.0",
|
|
"rollup-plugin-copy": "3.4.0",
|
|
"rollup-plugin-filesize": "9.1.1",
|
|
"rollup-plugin-html": "^0.2.1",
|
|
"rollup-plugin-node-polyfills": "0.2.1",
|
|
"rollup-plugin-progress": "1.1.2",
|
|
"rollup-plugin-re": "1.0.7",
|
|
"rollup-plugin-terser": "7.0.2",
|
|
"standard": "16.0.4",
|
|
"start-server-and-test": "1.14.0"
|
|
}
|
|
}
|