UNPKG

is-js-error

Version:

Check if a page contains a JavaScript error

67 lines (66 loc) 1.68 kB
{ "name": "is-js-error", "version": "1.0.0", "description": "Check if a page contains a JavaScript error", "author": "Thibaud Colas <thib@thib.me> (https://github.com/thibaudcolas)", "license": "ISC", "homepage": "https://github.com/thibaudcolas/is-js-error#readme", "repository": { "type": "git", "url": "git+https://github.com/thibaudcolas/is-js-error.git" }, "bugs": { "url": "https://github.com/thibaudcolas/is-js-error/issues" }, "keywords": [ "browser", "error", "ci", "qa", "nightmare", "phantom", "slimer", "electron", "website", "webpage", "ip", "live", "running" ], "engines": { "node": ">=4.0" }, "preferGlobal": true, "bin": { "is-js-error": "./index.js" }, "dependencies": { "babel-polyfill": "^6.0.16", "log-symbols": "^1.0.2", "meow": "^3.7.0", "nightmare": "^2.8.1", "normalize-url": "^1.7.0", "vo": "^1.0.3" }, "devDependencies": { "babel-cli": "^6.1.1", "babel-core": "^6.0.20", "babel-eslint": "^4.1.3", "babel-preset-es2015": "^6.0.15", "chai": "^3.3.0", "eslint": "^1.8.0", "eslint-config-airbnb": "^0.1.1", "mocha": "^2.3.3", "rollup": "^0.20.5" }, "scripts": { "lint": "eslint --cache .", "pretest": "npm run lint -s", "test:output": "./test.sh", "test:unit": "mocha --compilers js:babel-core/register -- test/*.spec.js", "test": "npm run build -s && npm run test:unit -s && npm run test:output -s", "prepublish": "npm run build -s", "build": "rollup cli.js > tmp.js && babel tmp.js > es5-bundle.js && rm -rf tmp.js", "start": "node index.js" } }