- Deprecated: Should now use avoidClientSideDownload in place of
`avoidClientSide` (config for `ext-server_opensave.js`).
- Enhancement: Added `avoidClientSideOpen` config for
`ext-server_opensave.js`
- npm: Update devDeps (including switching from deprecate opn-cli
package to open-cli)
This commit is contained in:
20
package.json
20
package.json
@@ -16,9 +16,9 @@
|
||||
"prepublishOnly": "npm run test-prep",
|
||||
"build-config": "rollup -c rollup-config.config.js",
|
||||
"types-docs": "npx babel-node --plugins @babel/plugin-transform-modules-commonjs jsdoc-check-overly-generic-types.js",
|
||||
"open-es-allext": "opn 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-es-allext": "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",
|
||||
"build-docs": "rm -rf docs/jsdoc/*;jsdoc --pedantic -c docs/jsdoc-config.js editor",
|
||||
"open-docs": "opn http://localhost:8000/docs/jsdoc/ && npm start",
|
||||
"open-docs": "open-cli http://localhost:8000/docs/jsdoc/ && npm start",
|
||||
"build-html": "npx babel-node --plugins @babel/plugin-transform-modules-commonjs 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": "cp node_modules/load-stylesheets/dist/index-es.js editor/external/load-stylesheets/index-es.js && cp node_modules/jamilih/dist/jml-es.js editor/external/jamilih/jml-es.js && cp node_modules/query-result/esm/index.js editor/external/query-result/esm/index.js && cp node_modules/qr-manipulation/dist/index-es.js editor/external/qr-manipulation/dist/index-es.js && cp node_modules/stackblur-canvas/dist/stackblur-es.js editor/external/stackblur-canvas/dist/stackblur-es.js && cp node_modules/regenerator-runtime/runtime.js editor/external/regenerator-runtime/runtime.js && cp node_modules/core-js-bundle/minified.js editor/external/core-js-bundle/minified.js",
|
||||
@@ -27,10 +27,10 @@
|
||||
"rollup": "rollup -c",
|
||||
"start-embedded": "echo \"Open file to http://localhost:8000/editor/embedapi.html\" && static -p 8000 | static -p 8001 -H '{\"Access-Control-Allow-Origin\": \"*\"}'",
|
||||
"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-no-build": "npm run eslint && npm run build-html && npm run build-config && open-cli 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": "testcafe chrome test/ui-tests/**/*.js --skip-js-errors",
|
||||
"browser-test": "npm run test-prep && opn http://localhost:8000/test/all_tests.html && static -p 8000"
|
||||
"browser-test": "npm run test-prep && open-cli http://localhost:8000/test/all_tests.html && static -p 8000"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -84,14 +84,14 @@
|
||||
"@mysticatea/eslint-plugin": "^10.0.3",
|
||||
"axe-testcafe": "^1.1.0",
|
||||
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
|
||||
"core-js-bundle": "^3.0.1",
|
||||
"core-js-bundle": "^3.1.1",
|
||||
"eslint": "5.16.0",
|
||||
"eslint-config-ash-nazg": "4.0.0",
|
||||
"eslint-config-standard": "12.0.0",
|
||||
"eslint-plugin-compat": "^3.1.1",
|
||||
"eslint-plugin-eslint-comments": "^3.1.1",
|
||||
"eslint-plugin-import": "2.17.2",
|
||||
"eslint-plugin-jsdoc": "^4.8.3",
|
||||
"eslint-plugin-jsdoc": "^5.0.2",
|
||||
"eslint-plugin-markdown": "^1.0.0",
|
||||
"eslint-plugin-no-use-extend-native": "^0.4.0",
|
||||
"eslint-plugin-node": "9.0.1",
|
||||
@@ -103,10 +103,10 @@
|
||||
"find-in-files": "^0.5.0",
|
||||
"imageoptim-cli": "^2.3.5",
|
||||
"jamilih": "^0.44.0",
|
||||
"jsdoc": "^3.6.1",
|
||||
"jsdoc": "^3.6.2",
|
||||
"load-stylesheets": "^0.7.0",
|
||||
"node-static": "^0.7.11",
|
||||
"opn-cli": "^4.1.0",
|
||||
"open-cli": "^5.0.0",
|
||||
"promise-fs": "^2.1.0",
|
||||
"qr-manipulation": "https://github.com/brettz9/qr-manipulation",
|
||||
"query-result": "https://github.com/WebReflection/query-result",
|
||||
@@ -114,13 +114,13 @@
|
||||
"regenerator-runtime": "^0.13.2",
|
||||
"remark-cli": "^6.0.1",
|
||||
"remark-lint-ordered-list-marker-value": "^1.0.2",
|
||||
"rollup": "1.11.2",
|
||||
"rollup": "1.12.3",
|
||||
"rollup-plugin-babel": "^4.3.2",
|
||||
"rollup-plugin-re": "^1.0.7",
|
||||
"rollup-plugin-terser": "^4.0.4",
|
||||
"sinon": "^7.3.2",
|
||||
"sinon-test": "^2.4.0",
|
||||
"stackblur-canvas": "^2.2.0",
|
||||
"testcafe": "^1.1.3"
|
||||
"testcafe": "^1.1.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user