* add i18next package for localisation

* progress

* update dep and fix 2 bugs

* remove report as this seems to hang ci

* Update package.json

* add package to kill server when tests end
This commit is contained in:
JFH
2021-04-28 14:29:24 +02:00
committed by GitHub
parent 3aba4d1add
commit 0d2048c53d
70 changed files with 1352 additions and 736 deletions

View File

@@ -14,10 +14,11 @@
},
"scripts": {
"lint": "eslint --ext js,html,md .",
"test": "run-s cypress:instrument test-only",
"test": "run-s cypress:instrument cypress:test",
"cypress:test": "start-server-and-test start http://localhost:8000/instrumented/editor/index.html cypress:run",
"build": "rollup -c",
"build:watch": "rollup -c --watch",
"start": "echo \"Open file, e.g., to http://localhost:8000/src/editor\" && web-dev-server --node-resolve",
"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",
@@ -65,8 +66,7 @@
"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"
@@ -109,9 +109,10 @@
"@babel/polyfill": "7.12.1",
"@web/dev-server-rollup": "0.3.3",
"canvg": "3.0.7",
"core-js": "3.10.2",
"core-js": "3.11.0",
"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",
@@ -119,11 +120,11 @@
"svg2pdf.js": "2.1.0"
},
"devDependencies": {
"@babel/core": "7.13.15",
"@babel/core": "7.13.16",
"@babel/preset-env": "7.13.15",
"@babel/register": "7.13.14",
"@babel/runtime-corejs3": "7.13.10",
"@cypress/code-coverage": "3.9.4",
"@babel/register": "7.13.16",
"@babel/runtime-corejs3": "7.13.17",
"@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",
@@ -134,19 +135,19 @@
"@rollup/plugin-node-resolve": "11.2.1",
"@rollup/plugin-replace": "2.4.2",
"@rollup/plugin-url": "6.0.0",
"@web/dev-server": "^0.1.12",
"axe-core": "4.1.4",
"@web/dev-server": "^0.1.16",
"axe-core": "4.2.0",
"babel-plugin-transform-object-rest-spread": "7.0.0-beta.3",
"copyfiles": "2.4.1",
"core-js-bundle": "3.10.2",
"core-js-bundle": "3.11.0",
"coveradge": "0.6.0",
"cp-cli": "2.0.0",
"cross-var": "1.1.0",
"cypress": "7.1.0",
"cypress": "7.2.0",
"cypress-axe": "0.12.2",
"cypress-multi-reporters": "1.5.0",
"cypress-plugin-snapshots": "1.4.4",
"eslint": "^7.24.0",
"eslint": "^7.25.0",
"eslint-config-standard": "16.0.2",
"eslint-plugin-array-func": "3.1.7",
"eslint-plugin-chai-expect": "2.2.0",
@@ -157,17 +158,17 @@
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^32.3.0",
"eslint-plugin-markdown": "^2.0.1",
"eslint-plugin-jsdoc": "^32.3.2",
"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.5",
"eslint-plugin-no-use-extend-native": "0.5.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-sonarjs": "^0.6.0",
"eslint-plugin-sonarjs": "^0.7.0",
"eslint-plugin-standard": "4.1.0",
"eslint-plugin-unicorn": "30.0.0",
"eslint-plugin-unicorn": "31.0.0",
"imageoptim-cli": "3.0.2",
"jamilih": "0.54.0",
"jsdoc": "3.6.6",
@@ -195,6 +196,7 @@
"rollup-plugin-re": "1.0.7",
"rollup-plugin-terser": "7.0.2",
"stackblur-canvas": "2.5.0",
"start-server-and-test": "^1.12.1",
"systemjs": "6.8.3",
"typescript": "4.2.4",
"underscore": "1.13.1"