- Linting (ESLint): Simplify regexes
- npm: Update scripts to reflect removal of `all_tests.html`; remove `browser-test` script - npm: Update devDeps
This commit is contained in:
21
package.json
21
package.json
@@ -26,7 +26,7 @@
|
||||
"eslint": "eslint --ext js,md,html .",
|
||||
"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",
|
||||
"start": "echo \"Open file, e.g., to http://localhost:8000/editor/svg-editor-es.html\" && static -p 8000",
|
||||
"cypress:open": "cypress open",
|
||||
"cypress:run": "cypress run",
|
||||
"open-report": "open http://localhost:8000/coverage/",
|
||||
@@ -43,10 +43,9 @@
|
||||
"report-summary": "npx nyc report --reporter=text-summary",
|
||||
"test-cov": "npm-run-all instrument --parallel --race start cypress:run ; npm run report-summary",
|
||||
"test-cov-open": "npm-run-all instrument --parallel --race start cypress:run",
|
||||
"test-no-build": "npm run eslint && npm run build-html && npm run build-by-config && open-cli http://localhost:8000/test/all_tests.html && static -p 8000",
|
||||
"test-no-build": "npm run eslint && npm run build-html && npm run build-by-config && npm test",
|
||||
"test-prep": "npm run eslint && npm run build-html && npm run rollup && npm run build-by-config",
|
||||
"test": "run-p start cypress:run",
|
||||
"browser-test": "npm run test-prep && open-cli http://localhost:8000/test/all_tests.html && static -p 8000"
|
||||
"test": "run-p start cypress:run"
|
||||
},
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
@@ -123,11 +122,11 @@
|
||||
"coffeescript": "^2.4.1",
|
||||
"convert-svg-to-png": "^0.5.0",
|
||||
"copyfiles": "^2.1.1",
|
||||
"core-js-bundle": "^3.4.2",
|
||||
"cypress": "^3.6.1",
|
||||
"core-js-bundle": "^3.4.5",
|
||||
"cypress": "^3.7.0",
|
||||
"cypress-axe": "^0.5.1",
|
||||
"eslint": "6.7.0",
|
||||
"eslint-config-ash-nazg": "12.0.0",
|
||||
"eslint": "6.7.1",
|
||||
"eslint-config-ash-nazg": "13.0.0",
|
||||
"eslint-config-standard": "14.1.0",
|
||||
"eslint-plugin-array-func": "^3.1.3",
|
||||
"eslint-plugin-compat": "^3.3.0",
|
||||
@@ -135,14 +134,14 @@
|
||||
"eslint-plugin-eslint-comments": "^3.1.2",
|
||||
"eslint-plugin-html": "^6.0.0",
|
||||
"eslint-plugin-import": "2.18.2",
|
||||
"eslint-plugin-jsdoc": "^18.1.4",
|
||||
"eslint-plugin-jsdoc": "^18.1.5",
|
||||
"eslint-plugin-markdown": "^1.0.1",
|
||||
"eslint-plugin-no-use-extend-native": "^0.4.1",
|
||||
"eslint-plugin-node": "10.0.0",
|
||||
"eslint-plugin-promise": "4.2.1",
|
||||
"eslint-plugin-sonarjs": "^0.5.0",
|
||||
"eslint-plugin-standard": "4.0.1",
|
||||
"eslint-plugin-unicorn": "^13.0.0",
|
||||
"eslint-plugin-unicorn": "^14.0.0",
|
||||
"frs-replace": "^2.0.1",
|
||||
"gh-badges": "^2.2.1",
|
||||
"imageoptim-cli": "^3.0.2",
|
||||
@@ -159,7 +158,7 @@
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
"remark-cli": "^7.0.1",
|
||||
"remark-lint-ordered-list-marker-value": "^1.0.3",
|
||||
"rollup": "1.27.4",
|
||||
"rollup": "1.27.5",
|
||||
"rollup-plugin-babel": "^4.3.3",
|
||||
"rollup-plugin-re": "^1.0.7",
|
||||
"rollup-plugin-terser": "^5.1.2",
|
||||
|
||||
Reference in New Issue
Block a user