Test summary: two tests failing: draw.js (releaseId), svgedit.recalculate (text w/tspan with simple translate)

- Testing: Add node-static to get tests working
- Testing: Fix timing for ensuring expanding iframe size to fit content
- Testing: Add favicon to test files
- Refactoring: Move scripts to own files and lint
This commit is contained in:
Brett Zamir
2018-05-17 12:57:51 +08:00
parent a3b3525789
commit fff77db4f1
24 changed files with 88 additions and 21 deletions

View File

@@ -11,6 +11,7 @@
"engines": {},
"scripts": {
"eslint": "eslint .",
"start": "echo \"Open file to http://localhost:8000/test/all_tests.html\" && static -p 8000",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@@ -36,7 +37,9 @@
"url": "https://github.com/SVG-Edit/svgedit/issues"
},
"homepage": "https://github.com/SVG-Edit/svgedit#readme",
"dependencies": {},
"dependencies": {
"static-cli": "0.0.13"
},
"devDependencies": {
"eslint": "4.19.1",
"eslint-config-standard": "11.0.0",