- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
{
|
|
|
|
"name": "svgedit",
|
2019-11-16 02:52:24 +00:00
|
|
|
"version": "5.1.0",
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
"description": "Powerful SVG-Editor for your browser ",
|
2018-05-29 13:30:34 +00:00
|
|
|
"main": "dist/index-umd.js",
|
|
|
|
"module": "dist/index-es.js",
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
"directories": {
|
|
|
|
"doc": "docs",
|
|
|
|
"example": "examples",
|
|
|
|
"test": "test"
|
|
|
|
},
|
2018-11-07 06:51:50 +00:00
|
|
|
"engines": {
|
2019-04-18 13:13:48 +00:00
|
|
|
"node": ">= 8.5.0"
|
2018-11-07 06:51:50 +00:00
|
|
|
},
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
"scripts": {
|
2019-12-25 08:33:01 +00:00
|
|
|
"prepublishOnly": "npm run prep",
|
2019-12-27 03:37:44 +00:00
|
|
|
"open-allext-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-allext": "run-p start open-allext-no-start",
|
2019-12-27 03:35:25 +00:00
|
|
|
"open-no-start": "open-cli http://localhost:8000/editor/svg-editor-es.html",
|
|
|
|
"open": "run-p start open-no-start",
|
2019-12-26 23:32:39 +00:00
|
|
|
"build-docs-remove": "rimraf \"docs/jsdoc/*\"",
|
2019-12-24 02:42:30 +00:00
|
|
|
"build-docs-create": "jsdoc --pedantic -c docs/jsdoc-config.js editor",
|
|
|
|
"build-docs": "run-s -c build-docs-remove build-docs-create",
|
2019-12-27 03:35:25 +00:00
|
|
|
"open-docs-no-start": "open-cli http://localhost:8000/docs/jsdoc/",
|
|
|
|
"open-docs": "run-p start open-docs-no-start",
|
2019-12-21 07:35:19 +00:00
|
|
|
"build-html": "npx babel-node --plugins @babel/plugin-transform-modules-commonjs build/build-html.js",
|
2020-01-07 01:57:25 +00:00
|
|
|
"compress-images": "imageoptim \"editor/extensions/*.png\" \"editor/spinbtn/*.png\" \"editor/jgraduate/images/*.{png,gif}\" \"editor/images/*.png\"",
|
2020-01-05 09:58:50 +00:00
|
|
|
"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",
|
2018-10-19 07:19:18 +00:00
|
|
|
"remark": "remark -q -f .",
|
2019-10-01 09:33:36 +00:00
|
|
|
"eslint-fix": "eslint --fix --ext js,md,html .",
|
2019-07-02 04:21:21 +00:00
|
|
|
"eslint": "eslint --ext js,md,html .",
|
2018-05-29 12:31:24 +00:00
|
|
|
"rollup": "rollup -c",
|
2019-12-26 23:32:39 +00:00
|
|
|
"start-allow-origin": "static -p 8001 -H '{\"Access-Control-Allow-Origin\": \"*\"}'",
|
|
|
|
"start-embedded": "echo \"Open file to http://localhost:8000/editor/embedapi.html\" && run-p start start-allow-origin",
|
2019-11-30 03:41:01 +00:00
|
|
|
"start": "echo \"Open file, e.g., to http://localhost:8000/editor/svg-editor-es.html\" && static -p 8000",
|
2019-11-23 13:02:51 +00:00
|
|
|
"cypress:open": "cypress open",
|
2020-01-06 06:45:53 +00:00
|
|
|
"cypress:merge": "mochawesome-merge \"cypress/results/mochaw*.json\" > mochawesome.json && marge mochawesome.json && node build/testing-badge.js",
|
|
|
|
"cypress:run-only": "rimraf \"cypress/results/mochaw*.json\" && rimraf \".nyc_output/*\" && cypress run",
|
2019-12-21 07:35:19 +00:00
|
|
|
"cypress:run-no-badge": "run-s -c cypress:run-only cypress:merge",
|
2020-01-06 05:51:25 +00:00
|
|
|
"cypress:run": "run-s -c cypress:run-no-badge coverage-badge",
|
2019-12-27 03:35:25 +00:00
|
|
|
"open-report-no-start": "open-cli http://localhost:8000/coverage/",
|
|
|
|
"open-report": "run-p start open-report-no-start",
|
2019-11-23 13:02:51 +00:00
|
|
|
"start-open-report": "run-p start open-report",
|
2019-11-24 09:14:53 +00:00
|
|
|
"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",
|
2019-11-23 15:50:56 +00:00
|
|
|
"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",
|
2019-12-24 02:15:39 +00:00
|
|
|
"instrument": "rimraf instrumented && npx nyc instrument editor instrumented && npm run copy-instrumented",
|
2019-12-21 03:04:07 +00:00
|
|
|
"coverage-badge": "coveradge badges/coverage-badge",
|
2019-11-23 13:02:51 +00:00
|
|
|
"open-cov": "npm-run-all instrument --parallel --race start cypress:open",
|
2019-12-25 08:06:44 +00:00
|
|
|
"open-tests": "run-p start cypress:open",
|
2019-11-23 13:02:51 +00:00
|
|
|
"report": "npx nyc report",
|
|
|
|
"report-summary": "npx nyc report --reporter=text-summary",
|
2019-12-31 05:14:33 +00:00
|
|
|
"build-by-config": "rollup -c rollup-config.config.js",
|
2019-12-24 02:42:30 +00:00
|
|
|
"test-cov-prereport": "npm-run-all instrument --parallel --race start cypress:run",
|
|
|
|
"test-cov": "run-s -c test-cov-prereport report-summary",
|
2019-11-23 13:02:51 +00:00
|
|
|
"test-cov-open": "npm-run-all instrument --parallel --race start cypress:run",
|
2019-12-27 03:35:25 +00:00
|
|
|
"test-no-build": "run-s eslint build-html build-by-config && npm test",
|
|
|
|
"prep": "run-s eslint build-html rollup build-by-config",
|
2019-11-30 03:41:01 +00:00
|
|
|
"test": "run-p start cypress:run"
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
},
|
2019-11-23 13:58:24 +00:00
|
|
|
"nyc": {
|
2019-11-23 15:50:56 +00:00
|
|
|
"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/**"
|
|
|
|
],
|
2019-11-23 13:58:24 +00:00
|
|
|
"reporter": [
|
2019-11-25 00:40:37 +00:00
|
|
|
"json-summary",
|
2019-11-23 13:58:24 +00:00
|
|
|
"text",
|
|
|
|
"html"
|
|
|
|
]
|
|
|
|
},
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
"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",
|
2018-05-29 08:45:45 +00:00
|
|
|
"Brett Zamir",
|
|
|
|
"Fabien Jacq"
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
],
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/SVG-Edit/svgedit/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/SVG-Edit/svgedit#readme",
|
2018-10-29 00:46:34 +00:00
|
|
|
"browserslist": [
|
2018-11-04 07:14:53 +00:00
|
|
|
"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"
|
2018-10-29 00:46:34 +00:00
|
|
|
],
|
- Breaking change: Rename config file to `svgedit-config-iife.js` (or for the module version, `svgedit-config-es.js`);
also expect one directory higher; incorporates #207 (@iuyiuy)
- Breaking change: Separate `extIconsPath` from `extPath` (not copying over icons)
- Breaking change: Don't reference `custom.css` in HTML; can instead be referenced in JavaScript through
the config file (provided in `svgedit-config-sample-iife.js`/`svgedit-config-sample-es.js` as `svgedit-custom.css` for
better namespacing); incorporates #207 (@iuyiuy)
- Breaking change: Remove minified jgraduate/spinbtn files (minified within Rollup routine)
- Fix: Zoom when scrolled; incorporates #169 (@AndrolGenhald), adapting for conventions; also allow avoidance when shift key pressed
- Fix: Update Atom feed reference in HTML
- Fixes related to recent commits: Some path and method name fixes needed, function order, missing methods, variable scope declaration, no need for DOMContentLoaded listeners in modules, switch back to non-default export, avoid trimming nullish, deal with mock tests, fix `math.matrixMultiply`, use jquery-svg where needed for array/SVG attributes; add babel-polyfill and defer script to imagelib; other misc. fixes
- Enhancement: Move config-sample.js out of `editor` directory
- Enhancement: For `callback`-style extensions, also provide config object; add following
to that object: buildCanvgCallback, canvg, decode64, encode64, executeAfterLoads, getTypeMap, isChrome, ieIE, NS, text2xml
- Enhancement: Complete ES6 modules work (extensions, locales, tests), along with Babel;
make Node build routine for converting modular source to non-modular,
use `loadStylesheets` for modular stylehsheet defining (but parallel loading);
- Enhancement: Add `stylesheets` config for modular but parallel stylesheet loading with `@default` option for simple inclusion/exclusion of defaults (if not going with default).
- Refactoring: Clean up `svg-editor.html`: consistent indents; avoid extra lbs, avoid long lines
- Refactoring: Avoid embedded API adding inline JavaScript listener
- Refactoring: Move layers and context code to `draw.js`
- Refactoring: Move `pathActions` from `svgcanvas.js` (though preserve aliases to these methods on `canvas`) and `convertPath` from `svgutils.js` to `path.js`
- Refactoring: Move `getStrokedBBox` from `svgcanvas.js` (while keeping an alias) to `svgutils.js` (as `getStrokedBBoxDefaultVisible` to avoid conflict with existing)
- Docs: Remove "dependencies" comments in code except where summarizing role of jQuery or a non-obvious dependency
- Refactoring/Linting: Enfore `no-extra-semi` and `quote-props` rules
- Refactoring: Further avoidance of quotes on properties (as possible)
- Refactoring: Use `class` in place of functions where intended as classes
- Refactoring: Consistency and granularity in extensions imports
- Testing: Update QUnit to 2.6.1 (node_modules) and Sinon to 5.0.8 (and add sinon-test at 2.1.3) and enforce eslint-plugin-qunit linting rules; update custom extensions
- Testing: Add node-static for automating (and accessing out-of-directory contents)
- Testing: Avoid HTML attributes for styling
- Testing: Add npm `test` script
- Testing: Comment out unused jQuery SVG test
- Testing: Add test1 and svgutils_performance_test to all tests page
- Testing: Due apparently to Path having not been a formal class, the test was calling it without `new`; refactored now with sufficient mock data to take into account it is a class
- npm: Update devDeps
- npm: Add html modules and config build to test script
2018-05-22 10:03:16 +00:00
|
|
|
"dependencies": {},
|
2018-05-13 03:03:45 +00:00
|
|
|
"devDependencies": {
|
2019-12-19 08:59:45 +00:00
|
|
|
"@babel/core": "^7.7.7",
|
|
|
|
"@babel/node": "^7.7.7",
|
2019-12-07 11:46:55 +00:00
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.7.5",
|
2019-11-23 11:17:32 +00:00
|
|
|
"@babel/plugin-transform-named-capturing-groups-regex": "^7.7.4",
|
2019-12-19 08:59:45 +00:00
|
|
|
"@babel/preset-env": "^7.7.7",
|
2019-12-17 13:16:47 +00:00
|
|
|
"@cypress/code-coverage": "^1.10.4",
|
2019-11-23 13:02:51 +00:00
|
|
|
"@cypress/fiddle": "^1.4.0",
|
2019-11-12 14:11:46 +00:00
|
|
|
"@mysticatea/eslint-plugin": "^13.0.0",
|
2019-12-19 00:25:23 +00:00
|
|
|
"axe-core": "^3.4.1",
|
2018-09-26 13:14:12 +00:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
|
2020-01-02 07:17:37 +00:00
|
|
|
"coffeescript": "^2.5.0",
|
2019-11-23 15:32:22 +00:00
|
|
|
"copyfiles": "^2.1.1",
|
2019-12-26 23:32:39 +00:00
|
|
|
"core-js-bundle": "^3.6.1",
|
2020-01-02 07:17:37 +00:00
|
|
|
"coveradge": "^0.2.0",
|
2019-12-26 23:32:39 +00:00
|
|
|
"cypress": "^3.8.1",
|
2019-12-07 11:46:55 +00:00
|
|
|
"cypress-axe": "^0.5.3",
|
2019-12-21 07:35:19 +00:00
|
|
|
"cypress-multi-reporters": "^1.2.3",
|
2020-01-05 09:58:50 +00:00
|
|
|
"deparam": "git+https://github.com/brettz9/deparam.git#updates",
|
2019-12-23 01:16:16 +00:00
|
|
|
"eslint": "^6.8.0",
|
2020-01-02 11:52:46 +00:00
|
|
|
"eslint-config-ash-nazg": "^16.4.0",
|
2019-12-19 00:25:23 +00:00
|
|
|
"eslint-config-standard": "^14.1.0",
|
2019-07-02 04:21:21 +00:00
|
|
|
"eslint-plugin-array-func": "^3.1.3",
|
2019-08-06 04:36:51 +00:00
|
|
|
"eslint-plugin-compat": "^3.3.0",
|
2019-12-17 13:16:47 +00:00
|
|
|
"eslint-plugin-cypress": "^2.8.1",
|
2019-06-27 04:21:55 +00:00
|
|
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
2019-07-02 04:21:21 +00:00
|
|
|
"eslint-plugin-html": "^6.0.0",
|
2019-12-19 00:25:23 +00:00
|
|
|
"eslint-plugin-import": "^2.19.1",
|
2020-01-02 11:52:46 +00:00
|
|
|
"eslint-plugin-jsdoc": "^20.0.0",
|
2019-11-12 14:11:46 +00:00
|
|
|
"eslint-plugin-markdown": "^1.0.1",
|
2019-12-19 00:25:23 +00:00
|
|
|
"eslint-plugin-no-unsanitized": "^3.0.2",
|
2019-06-27 04:21:55 +00:00
|
|
|
"eslint-plugin-no-use-extend-native": "^0.4.1",
|
2019-12-26 23:32:39 +00:00
|
|
|
"eslint-plugin-node": "^11.0.0",
|
2019-12-19 00:25:23 +00:00
|
|
|
"eslint-plugin-promise": "^4.2.1",
|
2019-11-12 14:11:46 +00:00
|
|
|
"eslint-plugin-sonarjs": "^0.5.0",
|
2019-12-19 00:25:23 +00:00
|
|
|
"eslint-plugin-standard": "^4.0.1",
|
2019-12-24 00:14:41 +00:00
|
|
|
"eslint-plugin-unicorn": "^15.0.1",
|
2019-11-23 15:32:22 +00:00
|
|
|
"frs-replace": "^2.0.1",
|
2019-11-25 00:40:37 +00:00
|
|
|
"gh-badges": "^2.2.1",
|
2019-11-12 14:11:46 +00:00
|
|
|
"imageoptim-cli": "^3.0.2",
|
2020-01-06 08:01:21 +00:00
|
|
|
"jamilih": "^0.47.0",
|
2019-07-15 14:00:27 +00:00
|
|
|
"jsdoc": "^3.6.3",
|
2019-10-20 18:51:00 +00:00
|
|
|
"load-stylesheets": "^0.9.0",
|
2019-12-21 07:35:19 +00:00
|
|
|
"mocha": "^7.0.0",
|
|
|
|
"mocha-badge-generator": "https://github.com/brettz9/mocha-badge-generator#updated-badge-up",
|
|
|
|
"mochawesome": "^4.1.0",
|
|
|
|
"mochawesome-merge": "^4.0.0",
|
|
|
|
"mochawesome-report-generator": "^4.1.0",
|
2018-09-25 03:25:19 +00:00
|
|
|
"node-static": "^0.7.11",
|
2019-11-23 13:02:51 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2019-12-23 01:16:16 +00:00
|
|
|
"nyc": "^15.0.0",
|
2019-05-21 09:50:17 +00:00
|
|
|
"open-cli": "^5.0.0",
|
2019-07-03 11:41:18 +00:00
|
|
|
"promise-fs": "^2.1.1",
|
2018-09-26 13:14:12 +00:00
|
|
|
"qr-manipulation": "https://github.com/brettz9/qr-manipulation",
|
2018-09-26 08:06:57 +00:00
|
|
|
"query-result": "https://github.com/WebReflection/query-result",
|
2019-08-06 04:36:51 +00:00
|
|
|
"regenerator-runtime": "^0.13.3",
|
2019-11-12 14:11:46 +00:00
|
|
|
"remark-cli": "^7.0.1",
|
2019-12-02 03:03:28 +00:00
|
|
|
"remark-lint-ordered-list-marker-value": "^1.0.4",
|
2019-12-24 01:47:20 +00:00
|
|
|
"rimraf": "^3.0.0",
|
2020-01-06 00:38:49 +00:00
|
|
|
"rollup": "1.28.0",
|
2019-06-27 04:21:55 +00:00
|
|
|
"rollup-plugin-babel": "^4.3.3",
|
- Breaking change: Rename config file to `svgedit-config-iife.js` (or for the module version, `svgedit-config-es.js`);
also expect one directory higher; incorporates #207 (@iuyiuy)
- Breaking change: Separate `extIconsPath` from `extPath` (not copying over icons)
- Breaking change: Don't reference `custom.css` in HTML; can instead be referenced in JavaScript through
the config file (provided in `svgedit-config-sample-iife.js`/`svgedit-config-sample-es.js` as `svgedit-custom.css` for
better namespacing); incorporates #207 (@iuyiuy)
- Breaking change: Remove minified jgraduate/spinbtn files (minified within Rollup routine)
- Fix: Zoom when scrolled; incorporates #169 (@AndrolGenhald), adapting for conventions; also allow avoidance when shift key pressed
- Fix: Update Atom feed reference in HTML
- Fixes related to recent commits: Some path and method name fixes needed, function order, missing methods, variable scope declaration, no need for DOMContentLoaded listeners in modules, switch back to non-default export, avoid trimming nullish, deal with mock tests, fix `math.matrixMultiply`, use jquery-svg where needed for array/SVG attributes; add babel-polyfill and defer script to imagelib; other misc. fixes
- Enhancement: Move config-sample.js out of `editor` directory
- Enhancement: For `callback`-style extensions, also provide config object; add following
to that object: buildCanvgCallback, canvg, decode64, encode64, executeAfterLoads, getTypeMap, isChrome, ieIE, NS, text2xml
- Enhancement: Complete ES6 modules work (extensions, locales, tests), along with Babel;
make Node build routine for converting modular source to non-modular,
use `loadStylesheets` for modular stylehsheet defining (but parallel loading);
- Enhancement: Add `stylesheets` config for modular but parallel stylesheet loading with `@default` option for simple inclusion/exclusion of defaults (if not going with default).
- Refactoring: Clean up `svg-editor.html`: consistent indents; avoid extra lbs, avoid long lines
- Refactoring: Avoid embedded API adding inline JavaScript listener
- Refactoring: Move layers and context code to `draw.js`
- Refactoring: Move `pathActions` from `svgcanvas.js` (though preserve aliases to these methods on `canvas`) and `convertPath` from `svgutils.js` to `path.js`
- Refactoring: Move `getStrokedBBox` from `svgcanvas.js` (while keeping an alias) to `svgutils.js` (as `getStrokedBBoxDefaultVisible` to avoid conflict with existing)
- Docs: Remove "dependencies" comments in code except where summarizing role of jQuery or a non-obvious dependency
- Refactoring/Linting: Enfore `no-extra-semi` and `quote-props` rules
- Refactoring: Further avoidance of quotes on properties (as possible)
- Refactoring: Use `class` in place of functions where intended as classes
- Refactoring: Consistency and granularity in extensions imports
- Testing: Update QUnit to 2.6.1 (node_modules) and Sinon to 5.0.8 (and add sinon-test at 2.1.3) and enforce eslint-plugin-qunit linting rules; update custom extensions
- Testing: Add node-static for automating (and accessing out-of-directory contents)
- Testing: Avoid HTML attributes for styling
- Testing: Add npm `test` script
- Testing: Comment out unused jQuery SVG test
- Testing: Add test1 and svgutils_performance_test to all tests page
- Testing: Due apparently to Path having not been a formal class, the test was calling it without `new`; refactored now with sufficient mock data to take into account it is a class
- npm: Update devDeps
- npm: Add html modules and config build to test script
2018-05-22 10:03:16 +00:00
|
|
|
"rollup-plugin-re": "^1.0.7",
|
2019-12-17 13:16:47 +00:00
|
|
|
"rollup-plugin-terser": "^5.1.3",
|
2018-12-13 01:46:54 +00:00
|
|
|
"stackblur-canvas": "^2.2.0",
|
2019-12-26 23:32:39 +00:00
|
|
|
"typescript": "^3.7.4",
|
|
|
|
"underscore": "^1.6.0"
|
2018-05-13 03:03:45 +00:00
|
|
|
}
|
- Linting (HTML): Use double-quotes for attributes, remove redundant `type=text/css`,
indent/lbs, consistent non-use of HTML namespace, consistent indents, consistent charset
casing
- Linting (Markdown): Add `.remarkrc`, use proper hierarchical headings, use consistent
heading format, trailing spaces
- `composer.json`: consistent property spacing
- License: Add `.txt` extension, update copyright date, and reflect type (MIT) in file name
- Credits: Add self
- npm: Add `package.json` (version 3.0.0-alpha.1 for npm release only; just reserving name)
2018-05-13 01:58:13 +00:00
|
|
|
}
|