- Breaking change: Rename "svgutils.js" to "utilities.js" (make in conformity with JSDoc module naming convention) - Breaking change: Rename "svgedit.js" to "namespaces.js" (to make clear purpose and avoid confusing with editor) - Breaking change: Rename "jquery-svg.js" to "jQuery.attr.js" - Breaking change: Rename "jquery.contextMenu.js" to "jQuery.contextMenu.js" - Breaking change: Rename "jquery.jpicker.js" to "jQuery.jPicker.js" - Breaking change: Rename "JQuerySpinBtn.css" to "jQuery.SpinButton.css" - Breaking change: Rename "JQuerySpinBtn.js" to "jQuery.SpinButton.js" (to have file name more closely reflect name) - Breaking change: Rename "jquery.svgicons.js" to "jQuery.svgIcons.js" - Breaking change: Rename "jquery.jgraduate.js" to "jQuery.jGraduate.js" - Breaking change: Rename "pathseg.js" to "svgpathseg.js" (as it is a poyfill of SVGPathSeg) - Breaking change: Rename `addSvgElementFromJson()` to `addSVGElementFromJson` for consistency - Breaking change: Rename `changeSvgContent()` to `changeSVGContent()` for consistency - Breaking change: Have `exportPDF` resolve with `output` and `outputType` rather than `dataurlstring` (as type may vary) - Breaking change: Rename `extensions/mathjax/MathJax.js` to `extensions/mathjax/MathJax.min.js` - Breaking change: Avoid recent change to have editor ready callbacks return Promises (we're not using and advantageous to keep sequential) - Breaking change: Avoid recent addition of locale-side function in ext-imagelib for l10n - Breaking change: Change name of ext-arrows.js from `Arrows` to `arrows` for sake of file path (not localized anyways). - Breaking change: Change `addlangData` extension event to `addLangData` for consistency with method name - Breaking change: Have `readLang` return lang and data but do not call `setLang` - Fix: Have general locales load first so extensions may use - Fix: Provide `importLocale` to extensions `init` so it may delay adding of the extension until locale data loaded - Fix: Ensure call to `rasterExport` without `imgType` properly sets MIME type to PNG - Fix: Wrong name for moinsave - Update: Update WebAppFind per new API changes - Enhancement: Make `setStrings` public on editor for late setting (used by `ext-shapes.js`) - Enhancement: Add `extensions_added` event - Enhancement: Add `message` event (Relay messages including those which have been been received prior to extension load) - Enhancement: Allow SVGEdit to work out of the box--avoid need for copying sample config file. Should also help with Github-based file servers - Enhancement: Allow avoiding "name" in extension export (just extract out of file name) - Enhancement: Add stack blur to canvg by default (and refactoring it) - Enhancement: Return `Promise` for `embedImage` (as with some other loading methods) - Enhancement: Supply `importLocale` to `langReady` to facilitate extension locale loading - Enhancement: Recover if an extension fails to load (just log and otherwise ignore) - Enhancement: More i18n of extensions (also fixed issue with some console warnings about missing locale strings); i18nize Hello World too - Enhancement: Allowing importing of locales within `addLangData` - npm: Update devDeps - Docs: Migrate copies of all old wiki pages to docs/from-old-wiki folder; intended for a possible move to Markdown, so raw HTML (with formatting) was not preserved, though named links had their absolute URL links preserved - Docs: Begin deleting `SvgCanvas.md` as ensuring jsdoc has replacements - Docs: Add Edtior doc file for help to general users - Docs: Clarify/simplify install instructions - npm/Docs (JSDoc): Add script to check for overly generic types - Docs (JSDoc): For config/prefs and extension creating, link to tutorials (moved tutorials to own directory to avoid recursion problems by jsdoc) - Docs (JSDoc): Add modules (upper case for usual main entrance files or regular names) - Docs (JSDoc): Fill out missing areas; indicate return of `undefined`; consistency with `@returns` - Docs (JSDoc): Add our own layout template to support overflow - Docs (JSDoc): Use cleverLinks and disallow unknown tags - Docs (JSDoc): Insist on "pedantic" flag; put output directory in config - Docs (JSDoc): Use more precise Integer/Float over number, the specific type of array/function/object - Docs (JSDoc): Use `@throws`, `@enum`, `@event`/`@fires`/`@listens` - Docs: Generally update/improve docs (fixes #92) - Docs: Update links to `latest` path (Avoid needing to update such references upon each release) - Docs: 80 chars max - Refactoring: Drop code for extension as function (already requiring export to be an object) - Refactoring: Object destructuring, `Object.entries`, Object shorthand, array extras, more camelCase variable names - Refactoring: Add a `Command` base class - Refactoring: Simplify svgicons `callback` ready detection - Refactoring: Put `let` or `const` closer to scope - Refactoring: Remove unneeded `delimiter` from regex escaping utility - Refactoring: Clearer variable names - Refactoring: Use (non-deprecated) Event constructors - Testing: Use new Sinon
86 lines
3.2 KiB
JSON
86 lines
3.2 KiB
JSON
{
|
|
"name": "svgedit",
|
|
"version": "3.0.0-alpha.4",
|
|
"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": {},
|
|
"scripts": {
|
|
"prepublishOnly": "npm run test-prep",
|
|
"build-config": "rollup -c rollup-config.config.js",
|
|
"grep-doc": "node grep-jsdoc",
|
|
"build-doc": "rm -rf docs/jsdoc/*;jsdoc --pedantic -c docs/jsdoc-config.json editor",
|
|
"build-html": "node build-html.js",
|
|
"compress-images": "imageoptim 'chrome-app/*.png' && imageoptim 'editor/extensions/*.png' && imageoptim 'editor/spinbtn/*.png' && imageoptim 'editor/jgraduate/images/*.{png,gif}' && imageoptim 'editor/images/*.png'",
|
|
"copy-deps": "cp node_modules/load-stylesheets/dist/index-es.js editor/external/load-stylesheets/index-es.js && cp node_modules/babel-polyfill/dist/polyfill.min.js editor/external/babel-polyfill/polyfill.min.js && cp node_modules/babel-polyfill/dist/polyfill.js editor/external/babel-polyfill/polyfill.js",
|
|
"eslint": "eslint .",
|
|
"rollup": "rollup -c",
|
|
"start": "echo \"Open file to http://localhost:8000/test/all_tests.html\" && static -p 8000",
|
|
"test-no-build": "npm run eslint && npm run build-html && npm run build-config && opn http://localhost:8000/test/all_tests.html && static -p 8000",
|
|
"test-prep": "npm run eslint && npm run build-html && npm run rollup && npm run build-config",
|
|
"test": "npm run test-prep && opn http://localhost:8000/test/all_tests.html && static -p 8000"
|
|
},
|
|
"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",
|
|
"bugs": {
|
|
"url": "https://github.com/SVG-Edit/svgedit/issues"
|
|
},
|
|
"homepage": "https://github.com/SVG-Edit/svgedit#readme",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"babel-core": "6.26.3",
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"eslint": "4.19.1",
|
|
"eslint-config-standard": "11.0.0",
|
|
"eslint-plugin-import": "2.13.0",
|
|
"eslint-plugin-node": "6.0.1",
|
|
"eslint-plugin-promise": "3.8.0",
|
|
"eslint-plugin-qunit": "^3.2.1",
|
|
"eslint-plugin-standard": "3.1.0",
|
|
"find-in-files": "^0.5.0",
|
|
"imageoptim-cli": "^2.0.3",
|
|
"jsdoc": "^3.5.5",
|
|
"load-stylesheets": "^0.6.1",
|
|
"node-static": "^0.7.10",
|
|
"opn-cli": "^3.1.0",
|
|
"qunit": "^2.6.1",
|
|
"rollup": "0.62.0",
|
|
"rollup-plugin-babel": "^3.0.7",
|
|
"rollup-plugin-commonjs": "^9.1.3",
|
|
"rollup-plugin-json": "^3.0.0",
|
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
"rollup-plugin-node-resolve": "^3.3.0",
|
|
"rollup-plugin-re": "^1.0.7",
|
|
"rollup-plugin-uglify": "^4.0.0",
|
|
"sinon": "^6.1.0",
|
|
"sinon-test": "https://github.com/brettz9/sinon-test#es6-modules",
|
|
"uglify-es": "^3.3.9"
|
|
}
|
|
}
|