Update packages and remove the instrument step (#854)

* several updates
* avoid the instrumented step in tests
This commit is contained in:
JFH
2022-11-27 23:01:27 +01:00
committed by GitHub
parent c0d0db4d7e
commit 00a7d61122
68 changed files with 1472 additions and 765 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "svgedit",
"version": "7.2.0",
"version": "7.3.0",
"description": "Powerful SVG-Editor for your browser ",
"main": "dist/Editor.js",
"module": "dist/Editor.js",
@@ -17,14 +17,13 @@
],
"scripts": {
"lint": "standard .",
"test": "run-s cypress:instrument cypress:test",
"test": "NODE_ENV=test start-server-and-test start http://localhost:8000/src/editor/index.html cypress:run",
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"start": "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:run": "rimraf \".nyc_output/*\" && cypress run -q && nyc report --reporter text-summary --reporter json-summary",
"cypress:instrument": "nyc instrument --delete --compact=false src instrumented && nyc instrument --compact=false packages instrumented && replace-in-file --configFile=cypress/replace-in-file.config.js",
"cypress:test": "start-server-and-test start http://localhost:8000/instrumented/editor/index.html cypress:run",
"cypress:run": "rimraf \".nyc_output/*\" && cypress run -q --headless && nyc report --reporter text-summary --reporter json-summary",
"cypress:open": "NODE_ENV=test start-server-and-test start http://localhost:8000/src/editor/index.html 'cypress open'",
"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/*\"",
@@ -81,39 +80,41 @@
]
},
"dependencies": {
"@svgedit/svgcanvas": "7.1.6",
"@svgedit/svgcanvas": "7.2.0",
"browser-fs-access": "0.31.1",
"core-js": "3.25.5",
"core-js": "3.26.1",
"elix": "15.0.1",
"html2canvas": "1.4.1",
"i18next": "21.10.0",
"i18next": "22.0.6",
"jspdf": "2.5.1",
"pathseg": "1.2.1",
"regenerator-runtime": "0.13.10",
"regenerator-runtime": "0.13.11",
"replace-in-file": "^6.3.5",
"svg2pdf.js": "2.2.1"
},
"devDependencies": {
"@babel/core": "7.19.3",
"@babel/preset-env": "7.19.4",
"@babel/core": "7.20.2",
"@babel/preset-env": "7.20.2",
"@babel/register": "7.18.9",
"@babel/runtime-corejs3": "7.19.4",
"@babel/runtime-corejs3": "7.20.1",
"@cypress/code-coverage": "3.10.0",
"@rollup/plugin-babel": "6.0.0",
"@rollup/plugin-commonjs": "^21",
"@rollup/plugin-dynamic-import-vars": "2.0.0",
"@rollup/plugin-node-resolve": "15.0.0",
"@rollup/plugin-replace": "5.0.0",
"@rollup/plugin-url": "8.0.0",
"@web/dev-server": "0.1.34",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^23",
"@rollup/plugin-dynamic-import-vars": "2.0.1",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-replace": "5.0.1",
"@rollup/plugin-url": "8.0.1",
"@web/dev-server": "0.1.35",
"@web/dev-server-esbuild": "^0.3.3",
"@web/dev-server-rollup": "0.3.19",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"core-js-bundle": "3.25.5",
"core-js-bundle": "3.26.1",
"cp-cli": "2.0.0",
"cypress": "10.10.0",
"cypress": "11.2.0",
"cypress-multi-reporters": "1.6.1",
"jamilih": "0.54.0",
"jsdoc": "3.6.11",
"jsdoc": "4.0.0",
"node-static": "0.7.11",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
@@ -124,7 +125,7 @@
"remark-cli": "11.0.0",
"remark-lint-ordered-list-marker-value": "3.1.1",
"rimraf": "3.0.2",
"rollup": "^2",
"rollup": "3.5.0",
"rollup-plugin-copy": "3.4.0",
"rollup-plugin-filesize": "9.1.2",
"rollup-plugin-html": "0.2.1",