update master to V7
This commit is contained in:
174
package.json
174
package.json
@@ -14,15 +14,16 @@
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint --ext js,html,md .",
|
||||
"lint-arg": "eslint --ext js,html,md",
|
||||
"test": "run-s cypress:instrument test-only",
|
||||
"test": "run-s cypress:instrument cypress:test",
|
||||
"cypress:instrument": "rimraf instrumented && cp-cli src instrumented && nyc instrument --compact=false src instrumented",
|
||||
"cypress:test": "start-server-and-test start http://localhost:8000/instrumented/editor/index.html cypress:run",
|
||||
"cypress:run": "run-s -n -c cypress:run-no-badge report-summary-mocha-full",
|
||||
"build": "rollup -c",
|
||||
"build:watch": "rollup -c --watch",
|
||||
"start": "echo \"Open file, e.g., to http://localhost:8000/src/editor\" && es-dev-server",
|
||||
"start:watch": "es-dev-server --watch",
|
||||
"start": "web-dev-server --node-resolve",
|
||||
"start:watch": "web-dev-server --node-resolve --watch",
|
||||
"cypress:open": "run-p start cypress:open-no-start",
|
||||
"cypress:open-no-start": "cypress open",
|
||||
"cypress:instrument": "rimraf instrumented && cp-cli src instrumented && nyc instrument --compact=false src instrumented",
|
||||
"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",
|
||||
@@ -39,20 +40,10 @@
|
||||
"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/src/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/src/editor/svg-editor.html",
|
||||
"open-compiled": "run-p start open-compiled-no-start",
|
||||
"open-no-start": "open-cli http://localhost:8000/src/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",
|
||||
"report": "run-s report-no-mochawesome mochawesome-cli",
|
||||
"report-summary": "run-s report-text-summary mochawesome-cli-dot",
|
||||
"license-badge": "license-badger --corrections --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",
|
||||
"imageoptim": "imageoptim",
|
||||
"compress-images": "imageoptim \"src/editor/extensions/*.png\" \"src/editor/spinbtn/*.png\" \"src/editor/jgraduate/images/*.{png,gif}\" \"src/editor/images/*.png\"",
|
||||
@@ -63,43 +54,16 @@
|
||||
"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 -q",
|
||||
"cypress:run-no-badge": "run-s -c cypress:run-only cypress:merge",
|
||||
"cypress:run": "run-s -n -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-only-no-report": "run-p start cypress:run-only",
|
||||
"test-no-cov-no-core-rollup": "run-s eslint prep-no-core-rollup test-only",
|
||||
"test-no-cov": "run-s prep test-only",
|
||||
"test-no-core-rollup": "run-s eslint cypress:instrument test-no-cov-no-core-rollup"
|
||||
},
|
||||
"lint-staged": {
|
||||
".eslintignore": "npm run lint",
|
||||
".eslintrc.js": "npm run lint",
|
||||
"src/**/*.{js,md,html}": "npm run lint-arg --",
|
||||
"src/editor/images/*.png": "npm run imageoptim --"
|
||||
},
|
||||
"run-if-changed": {
|
||||
"src": "npm run prep-no-eslint",
|
||||
".babelrc.json": "npm run prep-no-eslint",
|
||||
"rollup.config.js": "npm run prep-no-eslint",
|
||||
"rollup-config.config.js": "npm run prep-no-eslint",
|
||||
"build": "npm run build-html",
|
||||
"docs": "npm run build-docs",
|
||||
"licenseInfo.json": "npm run license-badges",
|
||||
"package-lock.json": "run-s install-offline license-badges copy prep-no-eslint build-docs"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"post-commit": "run-if-changed",
|
||||
"post-checkout": "run-if-changed",
|
||||
"post-merge": "run-if-changed",
|
||||
"post-rewrite": "run-if-changed",
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/SVG-Edit/svgedit.git"
|
||||
@@ -117,7 +81,8 @@
|
||||
"Vidar Hokstad",
|
||||
"Alexis Deveria",
|
||||
"Brett Zamir",
|
||||
"Fabien Jacq"
|
||||
"Fabien Jacq",
|
||||
"OptimistikSAS"
|
||||
],
|
||||
"license": "(MIT AND Apache-2.0 AND ISC AND LGPL-3.0-or-later AND X11)",
|
||||
"bugs": {
|
||||
@@ -130,104 +95,107 @@
|
||||
"not IE < 12",
|
||||
"not Chrome < 75",
|
||||
"not FireFox < 68",
|
||||
"not Safari < 10",
|
||||
"not ios_saf < 10"
|
||||
"not Safari < 11",
|
||||
"not ios_saf < 10",
|
||||
"not android < 5",
|
||||
"not op_mini all",
|
||||
"not Edge < 18",
|
||||
"not dead"
|
||||
],
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "7.12.1",
|
||||
"@web/dev-server-rollup": "0.3.3",
|
||||
"canvg": "3.0.7",
|
||||
"core-js": "3.7.0",
|
||||
"jspdf": "2.1.1",
|
||||
"core-js": "3.11.1",
|
||||
"deparam": "^1.0.5",
|
||||
"elix": "^15.0.0",
|
||||
"i18next": "^20.2.2",
|
||||
"jspdf": "2.3.1",
|
||||
"pathseg": "1.2.0",
|
||||
"regenerator-runtime": "0.13.7",
|
||||
"svg2pdf.js": "2.0.0"
|
||||
"rollup-plugin-polyfill-node": "^0.6.2",
|
||||
"svg2pdf.js": "2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.12.3",
|
||||
"@babel/preset-env": "7.12.1",
|
||||
"@babel/register": "7.12.1",
|
||||
"@babel/runtime-corejs3": "7.12.5",
|
||||
"@cypress/code-coverage": "3.8.3",
|
||||
"@cypress/fiddle": "1.18.4",
|
||||
"@fintechstudios/eslint-plugin-chai-as-promised": "3.0.2",
|
||||
"@babel/core": "7.14.0",
|
||||
"@babel/preset-env": "7.14.0",
|
||||
"@babel/register": "7.13.16",
|
||||
"@babel/runtime-corejs3": "7.14.0",
|
||||
"@cypress/code-coverage": "3.9.5",
|
||||
"@cypress/fiddle": "1.19.2",
|
||||
"@fintechstudios/eslint-plugin-chai-as-promised": "3.1.0",
|
||||
"@hkdobrev/run-if-changed": "0.3.1",
|
||||
"@mysticatea/eslint-plugin": "13.0.0",
|
||||
"@rollup/plugin-babel": "5.2.1",
|
||||
"@rollup/plugin-commonjs": "15.1.0",
|
||||
"@rollup/plugin-dynamic-import-vars": "1.1.0",
|
||||
"@rollup/plugin-node-resolve": "9.0.0",
|
||||
"@rollup/plugin-replace": "2.3.4",
|
||||
"@rollup/plugin-url": "5.0.1",
|
||||
"axe-core": "4.0.2",
|
||||
"@rollup/plugin-babel": "5.3.0",
|
||||
"@rollup/plugin-commonjs": "18.0.0",
|
||||
"@rollup/plugin-dynamic-import-vars": "1.1.1",
|
||||
"@rollup/plugin-node-resolve": "11.2.1",
|
||||
"@rollup/plugin-replace": "2.4.2",
|
||||
"@rollup/plugin-url": "6.0.0",
|
||||
"@web/dev-server": "^0.1.17",
|
||||
"axe-core": "4.2.0",
|
||||
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
|
||||
"copyfiles": "2.4.0",
|
||||
"core-js-bundle": "3.7.0",
|
||||
"copyfiles": "2.4.1",
|
||||
"core-js-bundle": "3.11.1",
|
||||
"coveradge": "0.6.0",
|
||||
"cp-cli": "2.0.0",
|
||||
"cross-var": "1.1.0",
|
||||
"cypress": "5.5.0",
|
||||
"cypress-axe": "0.10.0",
|
||||
"cypress-multi-reporters": "1.4.0",
|
||||
"cypress": "7.2.0",
|
||||
"cypress-axe": "0.12.2",
|
||||
"cypress-multi-reporters": "1.5.0",
|
||||
"cypress-plugin-snapshots": "1.4.4",
|
||||
"deparam": "git+https://github.com/brettz9/deparam.git#updates",
|
||||
"es-dev-commonjs-transformer": "0.2.0",
|
||||
"es-dev-server": "1.57.8",
|
||||
"es-dev-server-rollup": "0.0.8",
|
||||
"eslint": "7.13.0",
|
||||
"eslint-config-ash-nazg": "22.10.0",
|
||||
"eslint-config-standard": "16.0.1",
|
||||
"eslint": "^7.25.0",
|
||||
"eslint-config-standard": "16.0.2",
|
||||
"eslint-plugin-array-func": "3.1.7",
|
||||
"eslint-plugin-chai-expect": "2.2.0",
|
||||
"eslint-plugin-chai-expect-keywords": "2.0.1",
|
||||
"eslint-plugin-chai-expect-keywords": "2.1.0",
|
||||
"eslint-plugin-chai-friendly": "0.6.0",
|
||||
"eslint-plugin-compat": "3.8.0",
|
||||
"eslint-plugin-compat": "^3.9.0",
|
||||
"eslint-plugin-cypress": "2.11.2",
|
||||
"eslint-plugin-eslint-comments": "3.2.0",
|
||||
"eslint-plugin-html": "6.1.0",
|
||||
"eslint-plugin-import": "2.22.1",
|
||||
"eslint-plugin-jsdoc": "30.7.7",
|
||||
"eslint-plugin-markdown": "1.0.2",
|
||||
"eslint-plugin-mocha": "8.0.0",
|
||||
"eslint-plugin-html": "^6.1.2",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jsdoc": "^33.0.0",
|
||||
"eslint-plugin-markdown": "^2.1.0",
|
||||
"eslint-plugin-mocha": "8.1.0",
|
||||
"eslint-plugin-mocha-cleanup": "1.9.1",
|
||||
"eslint-plugin-no-unsanitized": "3.1.4",
|
||||
"eslint-plugin-no-unsanitized": "^3.1.5",
|
||||
"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.2",
|
||||
"eslint-plugin-unicorn": "23.0.0",
|
||||
"husky": "4.3.0",
|
||||
"eslint-plugin-promise": "^5.1.0",
|
||||
"eslint-plugin-sonarjs": "^0.7.0",
|
||||
"eslint-plugin-standard": "4.1.0",
|
||||
"eslint-plugin-unicorn": "31.0.0",
|
||||
"imageoptim-cli": "3.0.2",
|
||||
"jamilih": "0.53.2",
|
||||
"jamilih": "0.54.0",
|
||||
"jsdoc": "3.6.6",
|
||||
"license-badger": "0.18.0",
|
||||
"lint-staged": "10.5.1",
|
||||
"mocha": "8.2.1",
|
||||
"mocha": "8.3.2",
|
||||
"mocha-badge-generator": "0.9.0",
|
||||
"mochawesome": "6.2.1",
|
||||
"mochawesome": "6.2.2",
|
||||
"mochawesome-merge": "4.2.0",
|
||||
"mochawesome-report-generator": "5.1.0",
|
||||
"mochawesome-report-generator": "5.2.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",
|
||||
"qr-manipulation": "^0.7.0",
|
||||
"query-result": "^1.0.5",
|
||||
"remark-cli": "9.0.0",
|
||||
"remark-lint-ordered-list-marker-value": "2.0.1",
|
||||
"requirejs": "2.3.6",
|
||||
"rimraf": "3.0.2",
|
||||
"rollup": "2.33.1",
|
||||
"rollup-plugin-copy": "3.3.0",
|
||||
"rollup-plugin-filesize": "9.0.2",
|
||||
"rollup": "2.46.0",
|
||||
"rollup-plugin-copy": "3.4.0",
|
||||
"rollup-plugin-filesize": "9.1.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",
|
||||
"stackblur-canvas": "2.4.0",
|
||||
"systemjs": "6.7.1",
|
||||
"typescript": "4.0.5",
|
||||
"underscore": "1.11.0"
|
||||
"stackblur-canvas": "2.5.0",
|
||||
"start-server-and-test": "^1.12.1",
|
||||
"systemjs": "6.8.3",
|
||||
"typescript": "4.2.4",
|
||||
"underscore": "1.13.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user