Update dep (#988)
* update and adapt code to latest dependencies -> need testIsolation to False with the latest Cypress * need this for CI (bug https://github.com/npm/cli/issues/4828) * run instrument before test * fix test * v7.3.4
This commit is contained in:
46
package.json
46
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svgedit",
|
||||
"version": "7.3.3",
|
||||
"version": "7.3.4",
|
||||
"description": "Powerful SVG-Editor for your browser ",
|
||||
"main": "dist/editor/Editor.js",
|
||||
"module": "dist/editor/Editor.js",
|
||||
@@ -10,7 +10,7 @@
|
||||
"test": "test"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=20"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/svgcanvas",
|
||||
@@ -18,6 +18,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "standard .",
|
||||
"pretest": "run-s lint cypress:instrument",
|
||||
"test": "NODE_ENV=test start-server-and-test start http://localhost:8000/src/editor/index.html cypress:run",
|
||||
"prebuild": "npm run build --workspace=packages/svgcanvas --workspace=packages/react-test",
|
||||
"build": "rollup -c",
|
||||
@@ -25,8 +26,9 @@
|
||||
"start": "web-dev-server --app-index src/editor/index.html --node-resolve",
|
||||
"prestart": "echo svgedit is available at http://localhost:8000/src/editor/index.html",
|
||||
"start:iife": "web-dev-server --app-index dist/editor/iife-index.html --esbuild-target auto --open",
|
||||
"cypress:run": "rimraf \".nyc_output/*\" && cypress run -q --headless --browser electron && 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'",
|
||||
"cypress:run": "rimraf \".nyc_output/*\" && cypress run -q && nyc report --headless --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.json",
|
||||
"cypress:test": "start-server-and-test start http://localhost:8000/instrumented/editor/index.html cypress:run",
|
||||
"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/\"",
|
||||
@@ -83,12 +85,12 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@svgedit/svgcanvas": "7.2.2",
|
||||
"@svgedit/svgcanvas": "7.2.3",
|
||||
"browser-fs-access": "0.35.0",
|
||||
"core-js": "3.37.1",
|
||||
"core-js": "3.38.0",
|
||||
"elix": "15.0.1",
|
||||
"html2canvas": "1.4.1",
|
||||
"i18next": "23.11.5",
|
||||
"i18next": "23.13.0",
|
||||
"jspdf": "2.5.1",
|
||||
"pathseg": "1.2.1",
|
||||
"regenerator-runtime": "0.14.1",
|
||||
@@ -96,26 +98,27 @@
|
||||
"svg2pdf.js": "2.2.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.24.7",
|
||||
"@babel/preset-env": "7.24.7",
|
||||
"@babel/core": "7.25.2",
|
||||
"@babel/preset-env": "7.25.3",
|
||||
"@babel/register": "7.24.6",
|
||||
"@babel/runtime-corejs3": "7.24.7",
|
||||
"@cypress/code-coverage": "3.12.40",
|
||||
"@rollup/plugin-babel": "^6.0.4",
|
||||
"@rollup/plugin-commonjs": "26.0.1",
|
||||
"@babel/runtime-corejs3": "7.25.0",
|
||||
"@cypress/code-coverage": "3.12.45",
|
||||
"@rollup/plugin-babel": "6.0.4",
|
||||
"@rollup/plugin-commonjs": "^26",
|
||||
"@rollup/plugin-dynamic-import-vars": "2.1.2",
|
||||
"@rollup/plugin-node-resolve": "15.2.3",
|
||||
"@rollup/plugin-replace": "5.0.7",
|
||||
"@rollup/plugin-url": "8.0.2",
|
||||
"@rollup/plugin-terser": "0.4.4",
|
||||
"@web/dev-server": "0.4.6",
|
||||
"@web/dev-server-esbuild": "^1.0.2",
|
||||
"@web/dev-server-rollup": "0.6.4",
|
||||
"babel-plugin-istanbul": "^6.1.1",
|
||||
"babel-plugin-istanbul": "7.0.0",
|
||||
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
|
||||
"core-js-bundle": "3.37.1",
|
||||
"core-js-bundle": "3.38.0",
|
||||
"cp-cli": "2.0.0",
|
||||
"cypress": "13.13.0",
|
||||
"cypress": "13.13.3",
|
||||
"cypress-multi-reporters": "1.6.4",
|
||||
"jamilih": "0.59.2",
|
||||
"jsdoc": "4.0.3",
|
||||
"node-static": "0.7.11",
|
||||
"npm-run-all": "4.1.5",
|
||||
@@ -126,14 +129,17 @@
|
||||
"query-result": "1.0.5",
|
||||
"remark-cli": "12.0.1",
|
||||
"remark-lint-ordered-list-marker-value": "4.0.0",
|
||||
"rimraf": "5.0.7",
|
||||
"rollup": "4.18.0",
|
||||
"rimraf": "6.0.1",
|
||||
"rollup": "4.21.0",
|
||||
"rollup-plugin-copy": "3.5.0",
|
||||
"rollup-plugin-filesize": "10.0.0",
|
||||
"rollup-plugin-html": "0.2.1",
|
||||
"rollup-plugin-progress": "1.1.2",
|
||||
"rollup-plugin-re": "1.0.7",
|
||||
"standard": "17.1.0",
|
||||
"start-server-and-test": "2.0.4"
|
||||
"start-server-and-test": "2.0.5"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-linux-x64-gnu": "4.21.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user