{ "name": "svgedit", "version": "6.0.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": { "add-release": "git submodule add --depth=1 -b \"release-v$npm_config_release\" -- https://github.com/SVG-Edit/svgedit.git \"releases/svg-edit-$npm_config_release\"", "add-new-release": "cross-var npm run add-release --release=$npm_package_version && cross-var git config --file=.gitmodules submodule.releases/latest.branch \"release-v$npm_package_version\"", "remove-release": "git submodule deinit -f \"releases/svg-edit-$npm_config_release\" && rm -rf .git/modules/releases/svg-edit-$npm_config_release && git rm -f releases/svg-edit-$npm_config_release", "submodules": "run-s submodules-init submodules-update", "submodules-init": "echo \"Performing non-recursive init as don't want submodules to have their own releases!\" && git submodule update --init", "submodules-update": "echo \"Performing non-recursive fetch as don't want submodules to have their own releases!\" && git submodule foreach git fetch && git submodule update --remote && git submodule foreach git merge origin master", "start-allow-origin": "static -p 8001 -H '{\"Access-Control-Allow-Origin\": \"*\"}'", "start-embedded": "run-p start start-allow-origin", "start": "echo \"Open file, e.g., to http://localhost:8000/editor/svg-editor-es.html\" && static -p 8000", "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 editor", "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", "open-embedded-no-start": "open-cli http://localhost:8000/editor/embedapi.html", "open-embedded": "run-p start-embedded open-embedded-no-start", "open-all-ext-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-all-ext": "run-p start open-all-ext-no-start", "open-compiled-no-start": "open-cli http://localhost:8000/editor/svg-editor.html", "open-compiled": "run-p start open-compiled-no-start", "open-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html", "open": "run-p start open-no-start", "open-cov-no-start": "open-cli http://localhost:8000/coverage/", "open-cov": "run-p start open-cov-no-start", "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 && nyc instrument editor instrumented && npm run copy-instrumented", "report": "run-s report-no-mochawesome mochawesome-cli", "report-summary": "run-s report-text-summary mochawesome-cli-dot", "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", "license-badges": "run-s license-badge license-badge-dev", "coverage-badge": "coveradge badges/coverage-badge", "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 .", "build-html": "babel-node --plugins @babel/plugin-transform-modules-commonjs build/build-html.js", "eslint-fix": "eslint --cache --fix --ext js,md,html .", "eslint": "eslint --max-warnings 0 --cache --ext js,md,html .", "rollup": "rollup -c", "build-by-config": "rollup -c rollup-config.config.js", "prep-no-core-rollup": "run-s eslint build-html build-by-config", "prep": "run-s prep-no-core-rollup rollup", "prepublishOnly": "run-s license-badges copy prep build-docs", "cypress:open-no-start": "cypress open", "cypress:open": "run-p start cypress:open-no-start", "open-tests": "run-s instrument cypress:open", "cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && mbg --file ./mochawesome.json --badge_output badges/tests-badge.svg", "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 report-summary-mocha-full coverage-badge", "mochawesome-cli": "node tools/mochawesome-cli.js", "mochawesome-cli-dot": "npm run mochawesome-cli -- --dot", "report-no-mochawesome": "nyc report", "report-text-summary": "nyc report --reporter=text-summary", "report-summary-mocha-full": "run-s report-text-summary mochawesome-cli", "test-only-no-report": "run-p start cypress:run", "test-only": "run-s -c test-only-no-report report", "test-no-cov-no-core-rollup": "run-s prep-no-core-rollup test-only", "test-no-cov": "run-s prep test-only", "test-no-core-rollup": "run-s instrument test-no-cov-no-core-rollup", "test": "run-s instrument test-no-cov" }, "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 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.10.4", "@babel/node": "^7.10.4", "@babel/plugin-transform-modules-commonjs": "^7.10.4", "@babel/plugin-transform-named-capturing-groups-regex": "^7.10.4", "@babel/preset-env": "^7.10.4", "@babel/register": "^7.10.4", "@cypress/code-coverage": "^3.8.1", "@cypress/fiddle": "^1.18.2", "@fintechstudios/eslint-plugin-chai-as-promised": "^3.0.2", "@mysticatea/eslint-plugin": "^13.0.0", "@rollup/plugin-babel": "^5.0.4", "babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3", "coffeescript": "^2.5.1", "copyfiles": "^2.3.0", "core-js-bundle": "^3.6.5", "coveradge": "^0.6.0", "cross-var": "^1.1.0", "cypress": "^4.9.0", "cypress-axe": "^0.8.1", "cypress-multi-reporters": "^1.4.0", "deparam": "git+https://github.com/brettz9/deparam.git#updates", "eslint": "^7.4.0", "eslint-config-ash-nazg": "^22.5.1", "eslint-config-standard": "^14.1.1", "eslint-plugin-array-func": "^3.1.6", "eslint-plugin-chai-expect": "^2.1.0", "eslint-plugin-chai-expect-keywords": "^2.0.1", "eslint-plugin-chai-friendly": "^0.6.0", "eslint-plugin-compat": "^3.8.0", "eslint-plugin-cypress": "^2.11.1", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-html": "^6.0.2", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jsdoc": "^28.6.1", "eslint-plugin-markdown": "^1.0.2", "eslint-plugin-mocha": "^7.0.1", "eslint-plugin-mocha-cleanup": "^1.8.0", "eslint-plugin-no-unsanitized": "^3.1.2", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-sonarjs": "^0.5.0", "eslint-plugin-standard": "^4.0.1", "eslint-plugin-unicorn": "^20.1.0", "frs-replace": "^2.0.1", "imageoptim-cli": "^3.0.2", "jamilih": "^0.53.2", "jsdoc": "^3.6.4", "license-badger": "^0.17.0", "load-stylesheets": "^0.9.0", "mocha": "^8.0.1", "mocha-badge-generator": "^0.8.0", "mochawesome": "^6.1.1", "mochawesome-merge": "^4.1.0", "mochawesome-report-generator": "^5.1.0", "node-static": "^0.7.11", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "open-cli": "^6.0.1", "promise-fs": "^2.1.1", "qr-manipulation": "git+https://github.com/brettz9/qr-manipulation.git", "query-result": "git+https://github.com/WebReflection/query-result.git", "react": "^16.13.1", "react-dom": "^16.13.1", "regenerator-runtime": "^0.13.5", "remark-cli": "^8.0.0", "remark-lint-ordered-list-marker-value": "^2.0.1", "rimraf": "^3.0.2", "rollup": "2.19.0", "rollup-plugin-re": "^1.0.7", "rollup-plugin-terser": "^6.1.0", "stackblur-canvas": "^2.3.0", "typescript": "^3.9.6", "underscore": "^1.10.2" } }