diff --git a/.gitignore b/.gitignore index b11702a..23731fd 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ docs/ examples_old/ bin/ +coverage/ # jetBrains IDE ignores .idea \ No newline at end of file diff --git a/.gitignore b/.gitignore index b11702a..23731fd 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ docs/ examples_old/ bin/ +coverage/ # jetBrains IDE ignores .idea \ No newline at end of file diff --git a/package.json b/package.json index b292be0..77efe1c 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "watch:lint": "watch \"eslint scripts src test || exit 0\" src", "test": "floss --path test/index.js", "test:debug": "npm test -- --debug", + "coverage": "floss --path test/index.js -c bin/pixi.js -hs", "lint": "eslint scripts src test", "prebuild": "npm run lint && npm run clean", "build": "pixify -n PIXI -o pixi", @@ -60,7 +61,7 @@ "del": "^2.2.0", "electron-prebuilt": "^1.3.2", "eslint": "^3.5.0", - "floss": "^0.7.1", + "floss": "^1.2.0", "gh-pages": "^0.11.0", "jaguarjs-jsdoc": "^1.0.1", "jsdoc": "git+https://github.com/jsdoc3/jsdoc.git#releases/3.4",