117 lines
3.3 KiB
JSON
117 lines
3.3 KiB
JSON
{
|
|
"name": "svgedit",
|
|
"version": "7.3.8",
|
|
"description": "Powerful SVG-Editor for your browser ",
|
|
"main": "dist/editor/Editor.js",
|
|
"module": "dist/editor/Editor.js",
|
|
"directories": {
|
|
"doc": "docs",
|
|
"example": "examples",
|
|
"test": "test"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"workspaces": [
|
|
"packages/svgcanvas",
|
|
"packages/react-test"
|
|
],
|
|
"scripts": {
|
|
"lint": "standard .",
|
|
"pretest": "npm run lint",
|
|
"test": "npm run test:unit && npm run test:e2e",
|
|
"test:unit": "vitest run --coverage",
|
|
"prebuild": "npm run build --workspace=packages/svgcanvas --workspace=packages/react-test",
|
|
"build": "vite build",
|
|
"postbuild": "node scripts/copy-static.mjs && node scripts/build-extensions.mjs",
|
|
"start": "vite dev --host --port 8000 --strictPort",
|
|
"prestart": "echo svgedit is available at http://localhost:8000/src/editor/index.html",
|
|
"start:iife": "npm run build && vite preview --host --port 8000 --strictPort --outDir dist/editor --open /iife-index.html",
|
|
"start:e2e": "npm run build && vite preview --host --port 8000 --strictPort --outDir dist/editor",
|
|
"test:e2e": "node scripts/run-e2e.mjs",
|
|
"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": [
|
|
"assert",
|
|
"expect"
|
|
],
|
|
"env": [
|
|
"mocha",
|
|
"browser"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@svgedit/svgcanvas": "workspace:*",
|
|
"browser-fs-access": "0.38.0",
|
|
"elix": "15.0.1",
|
|
"i18next": "25.7.1",
|
|
"jspdf": "3.0.4",
|
|
"pathseg": "1.2.1",
|
|
"svg2pdf.js": "2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.57.0",
|
|
"@rollup/plugin-dynamic-import-vars": "2.1.5",
|
|
"@vitest/coverage-v8": "^4.0.15",
|
|
"jamilih": "0.63.1",
|
|
"jsdoc": "4.0.5",
|
|
"jsdom": "^27.2.0",
|
|
"npm-run-all": "4.1.5",
|
|
"nyc": "17.1.0",
|
|
"open-cli": "8.0.0",
|
|
"remark-cli": "12.0.1",
|
|
"remark-lint-ordered-list-marker-value": "4.0.1",
|
|
"rimraf": "6.1.2",
|
|
"standard": "17.1.2",
|
|
"vite": "^7.2.6",
|
|
"vite-plugin-istanbul": "^7.2.1",
|
|
"vite-plugin-string": "^1.2.3",
|
|
"vitest": "^4.0.15"
|
|
},
|
|
"optionalDependencies": {
|
|
"@rollup/rollup-linux-x64-gnu": "4.53.3"
|
|
}
|
|
}
|