{"_id":"grunt-mocha-require-phantom","_rev":"37-5f346b8cbb9392e8fae6c36e400b46bd","name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","dist-tags":{"latest":"0.8.0"},"versions":{"0.1.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.1.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.1.0","dist":{"shasum":"d11531e191b4b8be1f5f0a4bbfb01cd648e83aff","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.1.0.tgz","integrity":"sha512-vd3mX0zl1fhMmLiObRA+I9P28KeuN7htj3tAezUkQicswX+2ND1M/zXFSX9fll+u8obKzrFUEwz2UCvYfX16vA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhUrC/gC/8ODLej3t99/QAeqiCE1fcuMB9fkv+fKtErwIhAP1HG+tlcfofFcvGoCS2I3ugAsfT/UBmax6yuvFO9JgA"}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.1.1":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.1.1","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.1.1","dist":{"shasum":"b53f19afba851c9b03bbbc3e9caf7308d8a9a34a","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.1.1.tgz","integrity":"sha512-fKA55KIo0P0KVgAxVI2DqQkiVlj+QHEW24XNMbCqgqIi54U/SsyUhhPwSbV+JRf5+auuj0lXO8c/aXn8cGmKGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKfVLLZ+vEoTp6fOkg3CAy6ksRRNfwMJmQA7mIrZmluAiEAm5Q7Z5b0c6h7MYkSj+0kLSH+cow8siZFuOfRzHYzHlw="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.1.2":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.1.2","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.1.2","dist":{"shasum":"cdd9dd3a58c137661bb156ce8d5a028ccb44ece5","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.1.2.tgz","integrity":"sha512-OvN8pe1/LCCYcr++AmqgXoJdhoe+Te8h2LYCgFWeTKYiRcFGRO83VlD7Nwn5R/xsnBz2mMIUkIgp5H3G8C4DkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAdJ03MR9iM2Thw4voIWSyiTJvGlnLEXLfta+Rc97i7AiEAwnSlB4wk3i/kaTgPQQ2PBmSyWa+Szxu6/6D61b1dIXg="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.1.3":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.1.3","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.1.3","dist":{"shasum":"84d461cdf9197bdf08af86203b03679341cb2b73","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.1.3.tgz","integrity":"sha512-4zYzHKksC6tNaVCgdrG8qf4xY5xqXF+M0ZG3VQIeUGqZPSV0oC8XfrF8I2KJqRJ7qcCtAtxiogqcpwvJ+OW91w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDg4BYH5TXb5VIc3eVwZ/XbHyFMECWRXaLT/j07snemjAiEAgtfrxZinfz1tIHewNPsbujS5LYsM0XSVXN/gWKI9aH8="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.1.4":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.1.4","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.1.4","dist":{"shasum":"2464fb434e54b59c7ca25973bfc38446c3bd3945","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.1.4.tgz","integrity":"sha512-4uexjAgBtsbXd9JLeQFoGuoMzkWM53bWfRJvnqP6m1aCFNhTI+qN5oG8IunUx//Tp3GSuF1O6Csku/AJuc0hVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9fdpHPJJc+/Bh5ei4wf3XqwxzpjIY8ojq3lr3NBdnLwIhAI2jO75N7Vxr7KNGxnQmKrWPB9Nkpem1o4CZNsryu3i6"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.1.5":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.1.5","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.1.5","dist":{"shasum":"4305bfea5779ed0e869063df3ec8dd72198b2d38","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.1.5.tgz","integrity":"sha512-dWV5RIJIrEGT5qRq//clLdn5+0KI7XGovVKuUMd4Ldhelc8ZQZXqpOb/G3lFelVhvn8TLs2FgiUHvFyd1eqoQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICj1Lp/1LFSDmulFtgRD+5LQidSxSqyI51vuvRnwkIvkAiBtF/g1+l+qXimtWnDZpSnWeVw0vZqnpV+DD+bVVK5PuQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.2.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.2.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.2.0","dist":{"shasum":"b303024a0242b40bde47162cbcdd89249c8ad259","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.2.0.tgz","integrity":"sha512-9PMzgOBBAoHMUb+LB5sVDKQlTjGaNuEdR4tLYXpl9VUrwkHwBKf6kLacwOwrkSex6O1Mv2PFdq5OqB7BUigz2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEzyyJsaj5HT3vHSJjjtV1n9kyevegRcrWogdtlyG4vpAiEA0UOEG9OdAcMIT6idQKTwnvY0Hy5t3kcJK7DqNoqzQ1g="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.2.1":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.2.1","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.2.1","dist":{"shasum":"a60723563d294702ec1516dc95e09957d679af26","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.2.1.tgz","integrity":"sha512-TQgJSQXZqXzHt1jE15LSPA5JgEuxDWpxUSqZYTmhBJfzSK5o8Lpc/wZDSMr2CMgvWBctPPKyJwev0QTqwq8DVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoltCeXnjddYZTdh4/qdtrPdV1t/npYQ1k9sC1nhDOxAiEAiNkk0d4yt+7DivbotMCCp0dckn7ZtXIkMDsfuRoHltM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.2.2":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.2.2","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.2.2","dist":{"shasum":"4ad62c0c3fbbc8d038cf8c484c7b9381b1ab17f8","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.2.2.tgz","integrity":"sha512-u9sJVf7moWObrg1QykW6PP8IPH14qAkJ0n1f1bFTV0rQqyXjMm/piz+Go3jtrOGvaR404Dv6qMYgAPWBQ2G2Vg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSdDGfCKD9vgQMLp/sANX8ZjpACyHFey4IGyCtqdMulAiABXvOSyRaY4kUZ1ZMYiykxNA5KX3818xCAl/66U03b/Q=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.3.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.3.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.3.0","dist":{"shasum":"71cc4614998099c524bb5f701a1f4066cf06fa3f","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.3.0.tgz","integrity":"sha512-SNL/MC/UG1HrLVnoNTP5XD9pSvvrhTH5shkzHeAbm8cuySR++DOvZ3VbIbMW1dS12zSAjb0rWznrAOJxlFGaaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMoHrXMYOcMpUeA2hT488Rr/C5oOLTN/dFmEw7wtFyHAIgL3qh3x3WUOJc5o3MZ6RdzxWjWQZPOD1H3kxlquiKnUE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.3.1":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.3.1","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"~0.4.0","mocha":"~1.12.0","chai":"~1.8.1","express":"~3.4.7","colors":"~0.6.2"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"_id":"grunt-mocha-require-phantom@0.3.1","dist":{"shasum":"30a3bf2ced97e592ef8c01b10f4fb9a29a693b6a","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.3.1.tgz","integrity":"sha512-3rjEMx6uXFYDL7AgTYMxVB1XpyVHiryMGaAdzVAQaITr0lgwlWdCUx392CIbW6gDSLSL9FAZuw7rySnaKa22lA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGea3FwiF+G7ckINFRvSXw8vEt8+khckprg8C8fQTuyAiEAwvh0r6AxAmPJfZgxT/CB/0+Yy/JoRxb40uU5kqbLnq8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.4.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.4.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.6.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"c4f9eb91687730babb455c9d642716242e3766e4","_id":"grunt-mocha-require-phantom@0.4.0","_shasum":"a8b6892dedb72cb7de99836b2b9421e080c3eb7a","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}],"dist":{"shasum":"a8b6892dedb72cb7de99836b2b9421e080c3eb7a","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.4.0.tgz","integrity":"sha512-fdSo2lSBdSmBkROmLLvJSDQGThJPCLidJJRWPLpwTYb7ni6MJ16aZTX6YZYcIL6FPlPWdi/JS0BfiWcBB4Ckhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiYZMU/RF0jDsw4xIg6CJI1NaEO1KxTPODUkweEEu7sgIgc8qpeGisTzwPSBrDdpbbssDDPj5U6wm1wunVDpd8Nmk="}]}},"0.5.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.5.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.6.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"2f66271d4daa1673bd88c0b0681627cbd8b6d4ae","_id":"grunt-mocha-require-phantom@0.5.0","_shasum":"f2487d3fefbc7687592ad25e0ed9fe2c135ad791","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"f2487d3fefbc7687592ad25e0ed9fe2c135ad791","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.5.0.tgz","integrity":"sha512-QpKgzTUBHJBSfL0mVT4Qnkr9bYhp5bigzMwfp4THkSz3pktuR0n2VXXN0W7AUTjV6fkeFuO8dCgOWTn86XtU0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDfvCvg3xuxHUuOB1uou/uS2susB1yrxqkwCM4iIvc87AiB4MG1MmiqXG7qL5ENmnKOsgdRhl+hwQfduePo5Is+M8g=="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.5.1":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.5.1","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.6.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"b742f6495a06c4b35f4a364420737254a246b8e2","_id":"grunt-mocha-require-phantom@0.5.1","_shasum":"c4386f89e9d66314567d460ac270f70e9f2411cf","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"c4386f89e9d66314567d460ac270f70e9f2411cf","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.5.1.tgz","integrity":"sha512-SYhFg5WxOVfF54TX2dHHRD4LbD+w+366YPmw2/4S8RoXp6Ug5+zcLj0b34Bbwjp0foymSmJLfsUITIXROFW3DA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzqsd89U3AFkaK+6mDeAQPei9Uh99HxhqXkN2NLFAQjAiBRymHROXO6CrKHACfI3QUxNrzkqKnKnj7aY+j/8SatMw=="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.6.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.6.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.6.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"0f6b806d9d6b084338ba219d3ca19f64b5ffec27","_id":"grunt-mocha-require-phantom@0.6.0","_shasum":"b95125f9e2f5e262d73bde781268ffbe2b3b35ba","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"b95125f9e2f5e262d73bde781268ffbe2b3b35ba","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.6.0.tgz","integrity":"sha512-4rYUvdr2XaEix+Fkv30zS9kcP0p2bxwusya90HEwyacb+psm5Ds5u/D0M7bAbOekaZFpEMu7QIBCOGYij8dlbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSJdKpUUqQ2bghN9EMQhE0pzzNGj0E/ULACDJp3VougwIgeC7TlGkmlKi+kHa9fFTgbIO/1eTn8AJZPrpqmvbnXZg="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.6.1":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.6.1","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.6.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"a9cc0f85e235986d2a81c6610189a7da886fb88c","_id":"grunt-mocha-require-phantom@0.6.1","_shasum":"47154b04e8627dec44b9e8203a547dcd62f71fe9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"47154b04e8627dec44b9e8203a547dcd62f71fe9","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.6.1.tgz","integrity":"sha512-hOB6Lt1bWM+tPFYTqyR4GdNZVhkjWtd8H+htSnlzuI0FLWm4srl+B+WKmWpLK/CJhiCEAbuGg6nOtDuqaAJxCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs0/5oBif5wOlq/WtX55sAYuXxQTPjC/zjWqnD+XMzzQIgWTG4jXxjwHLbPZnSsYJXd/czVwMkVYomCQGwmF3dHX0="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.6.2":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.6.2","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.6.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"2f8f78ec0499e6b12ca952edcb0229033ca46dc9","_id":"grunt-mocha-require-phantom@0.6.2","_shasum":"51e8f685a6c697deb3fa24a657931e68f5010261","_from":".","_npmVersion":"2.11.3","_nodeVersion":"4.1.1","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"51e8f685a6c697deb3fa24a657931e68f5010261","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.6.2.tgz","integrity":"sha512-XOIF1pySJTVPpwKNiWyHS9hf+C9zIbv8kRkpGGNQH7MDQJ3JYy5jUL9gyh9F7jcBOzQWA9lM56Yy8DxAz0RcGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJnoCFoKbptkvJQ/FGxYpgzS4VM3615zVFz8Tiar0sNAiEAqoXA/cpuZj14gRHLePUhy3f2ej9+gA1HdwgqXOZD4v8="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.7.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.7.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.7.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"faca6d7596c6b7461e29e4a2e26f1b746c0198e7","_id":"grunt-mocha-require-phantom@0.7.0","_shasum":"b0a8937f39eb21933ade96fbc94565773e390ca9","_from":".","_npmVersion":"3.3.4","_nodeVersion":"5.0.0","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"b0a8937f39eb21933ade96fbc94565773e390ca9","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.7.0.tgz","integrity":"sha512-UPwit5t/X9mYX3OeCSTMvO9fQkLNiI60vLR4djw7CLne83i4hsKiQngUNpfa3ZhM4zNT64qVAVm0H2lzhtDIeg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFU+yRYqhQMJCz/wQXrr0d/FyGUZSBvjLwIkT4M+xPTlAiEAsSIxUGscBFwPigGLPnIZGSODjHhcCEreThq+erABkXg="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.7.1":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.7.1","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.7.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"0f7dda33b2c108963ee6f54f1e6bbae157c5ef55","_id":"grunt-mocha-require-phantom@0.7.1","_shasum":"a79ce29e56e12d99920bfa5e2a6793ffa947bb3e","_from":".","_npmVersion":"3.3.4","_nodeVersion":"5.0.0","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"a79ce29e56e12d99920bfa5e2a6793ffa947bb3e","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.7.1.tgz","integrity":"sha512-UisjUZSdfJ0lr7yBmVt2UliTLAtTlgCc5brLBXwI8ye7k8h+MSa/9boFLK8YrjjwOPLChpCyw09oBE26ZkHVAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCshhjuVnvhEsSGUJco+Me8QDI3rbl4hoFoull9UWhBLwIgOM5DkWxU04rAHgSraKjgD0EjK4hVSzdzm7Cr7/WKj5Y="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}]},"0.8.0":{"name":"grunt-mocha-require-phantom","description":"Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers","version":"0.8.0","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"main":"Gruntfile.js","scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.2"},"dependencies":{"grunt-lib-phantomjs":"0.7.x","mocha":"1.12.x","chai":"1.8.x","express":"4.5.x","colors":"0.6.x"},"keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"gitHead":"6f4d8e392f6346bea94bd941363c8de04e0d669b","_id":"grunt-mocha-require-phantom@0.8.0","_shasum":"6084921abf474a99f168cad33fb35c756cacc2d3","_from":".","_npmVersion":"3.3.4","_nodeVersion":"5.0.0","_npmUser":{"name":"accordionpeas","email":"mikeycrikey@gmail.com"},"dist":{"shasum":"6084921abf474a99f168cad33fb35c756cacc2d3","tarball":"https://registry.npmjs.org/grunt-mocha-require-phantom/-/grunt-mocha-require-phantom-0.8.0.tgz","integrity":"sha512-4SOX8UfeBJKnKzDqCkmaM99KT9fR1lsXJlr7qTd90R8XkrMK4YM0j3rg/ItUdjl5UGqqpAH/OL6Z3jTPYysaIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDflLzO5ATR7eTdTyHHSHbvyu6vjFiOHFRTqDY/HvhqFgIgQM5FvK8o0Sq0feDH3zEj3lDqZFleTEbn7g84k2jcKG8="}]},"maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/grunt-mocha-require-phantom-0.8.0.tgz_1464857396909_0.046369827119633555"}}},"readme":"# grunt-mocha-require-phantom\r\n\r\n> Grunt plugin for testing requireJS code using mocha in phantomJS and regular browsers\r\n\r\nThe purpose of this grunt plugin is as follows:\r\n- To provide a simple structure for writing unit tests for requireJS applications without duplicating the runner HTML.\r\n- To allow for automated running of unit tests using phantomJS.\r\n- To provide easy switch to manually run unit tests in a regular browser (because sometimes you just need to debug using a browser console).\r\n\r\n## Getting Started\r\nThis plugin requires Grunt `~0.4.2`\r\n\r\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\r\n\r\n```shell\r\nnpm install grunt-mocha-require-phantom --save-dev\r\n```\r\n\r\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-mocha-require-phantom');\r\n```\r\n\r\n## The \"mocha_require_phantom\" task\r\n\r\n### Overview\r\nIn your project's Gruntfile, add a section named `mocha_require_phantom` to the data object passed into `grunt.initConfig()`.\r\n\r\n```js\r\ngrunt.initConfig({\r\n  mocha_require_phantom: {\r\n    options: {\r\n      base: 'some/path/to/script',\r\n      main: 'test-bootstrap',\r\n      requireLib: 'libs/require.js',\r\n      files: ['tests/**/*.js'],\r\n    },\r\n    your_target: {\r\n      // Target-specific file lists and/or options go here.\r\n    },\r\n  },\r\n});\r\n```\r\n\r\n### Options\r\n\r\n#### options.base\r\nType: `String`\r\nDefault value: `' '`\r\n\r\nPath to where your script files are within your project. Assumes that all source, libraries and test script files are within this directory.\r\n\r\n#### options.main\r\nType: `String`\r\nDefault value: `'test-bootstrap'`\r\n\r\nThe path to your test bootstrap file that will be specified in requireJS's _data-main_ attribute.\r\n\r\n#### options.mainAttr\r\nType: `String`\r\nDefault value: `data-main`\r\n\r\nThe attribute appended to the script tag that specifies the module defined in _options.main_.\r\n\r\n#### options.requireLib\r\nType: `String`\r\nDefault value: `'require.js'`\r\n\r\nThe path to the requireJS library within your application.\r\n\r\n#### options.includes\r\nType: `Array`\r\nDefault value: `[]`\r\n\r\nAn array of additional scripts to include.\r\n\r\n#### options.files\r\nType: `Array`\r\nDefault value: `[]`\r\n\r\nAn array of paths to your test files.\r\n\r\n#### options.port\r\nType: `Number`\r\nDefault value: `3000`\r\n\r\n#### options.router\r\nType: `Function`\r\nDefault value: `null`\r\n\r\nA function that takes the instace of Express as a parameter. This can be used to define routes etc if your tests require back-end interaction. See example for more info.\r\n\r\n#### options.keepAlive\r\nType: `Boolean`\r\nDefault value: `false`\r\n\r\nSetting this option to true will keep the server alive and the task will never complete. The purpose of this is to allow you to debug your unit tests within a browser environment if necessary (sometimes you just need a browser's dev tools).\r\n\r\n### Command line Options\r\n\r\n#### files\r\n\r\nComma-separated list of files to test relative to the \"base\" option. If this option is passed in then the list of files will take precedence over the files passed in via the GruntFile.js.\r\n\r\n### Test bootstrap file\r\nThis file is used to kick off your test code. You should do any requireJS and Mocha configuration in this file. e.g.\r\n\r\n```js\r\nrequire.config({\r\n  paths: {\r\n    chai: '/node_modules/chai/chai'\r\n  }\r\n});\r\n\r\nmocha.setup({\r\n    ui: 'bdd'\r\n});\r\n```\r\n\r\n### Test file path name\r\nWithin your bootstrap file you will need to use requireJS to load your unit tests and execute Mocha. To do this a global var named _testPathname_ is made available and should be used like so:\r\n\r\n```js\r\nrequire([\r\n  //require other modules from your application if necessary here,\r\n  testPathname\r\n], function(){\r\n\r\n  if(window.mochaPhantomJS){\r\n    mochaPhantomJS.run();\r\n  }\r\n  else{\r\n    mocha.run();\r\n  }\r\n\r\n});\r\n```\r\n\r\n### Test files\r\nYou do not need to create any HTML runner files. Simply create an AMD module that runs your test like so:\r\n\r\n```js\r\ndefine([\r\n  'chai',\r\n  //define application modules to be tested here\r\n], function(chai){\r\n\r\n  var expect = chai.expect;\r\n\r\n  describe('test suite 1', function(){\r\n\r\n    it('should work', function(){\r\n\r\n      expect(true).to.equal(true);\r\n\r\n    });\r\n\r\n  });\r\n\r\n});\r\n```\r\n\r\n### Browser testing\r\nThe main purpose of this plugin is to provide automated testing via phantomJS. However, you can manually run tests in regular browsers also - sometimes this is necessary for debugging. To do so you need to\r\n\r\n- set the _keepAlive_ option to _true_.\r\n- load up your favourite browser and enter the following url: http://localhost:3000/path/to/test-file\r\n\r\n## Contributing\r\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\r\n\r\n## Release History\r\n* 2016-06-02  v0.8.0  Fixed bug where falsey values were not logged to the console. Provide way to include additional scripts on the page.\r\n* 2015-11-17  v0.7.1  Only hijack console.log when running in PhantomJS.\r\n* 2015-11-09  v0.7.0  Bumped grunt-lib-phantomjs to v0.7.x.\r\n* 2015-10-08  v0.6.2  Support for NPM 3 flattened node_modules.\r\n* 2015-06-25  v0.6.1  Don't fail the task if no test files are found.\r\n* 2015-06-17  v0.6.0  List all error files at the end of task.\r\n* 2015-06-16  v0.5.1  Allow other routes to be matched if test file not found.\r\n* 2015-06-11  v0.5.0  Router can now be passed in as a function to provide back-end routes for testing.\r\n* 2015-02-04  v0.4.0  Main attribute can be specified as an option.\r\n* 2014-06-05  v0.3.1  Only serve test runner page if request begins with base option.\r\n* 2014-05-23  v0.3.0  Specific test files can now be passed in via command line options.\r\n* 2014-05-12  v0.2.2  Bumped version after merged pull request that fixes issues with passing console.log statements through to command line.\r\n* 2014-05-12  v0.2.0  console.log statements now make it through from phantomJS to command line.\r\n* 2014-05-06  v0.2.1  Bumped version after merged pull request that uses Chai's built in expect messages. Changed console.log output to be comma-separated on one line.\r\n* 2014-05-05  v0.1.5  Amended docs.\r\n* 2014-05-05  v0.1.4  Fixed broken example by adding require's baseUrl config option.\r\n* 2014-02-10  v0.1.3  Normalised server requests between automated and manual tests.\r\n* 2013-12-17  v0.1.2  Don't run tests in PhantomJS if keepAlive set to true to stop task failing.\r\n* 2013-12-17  v0.1.1  Copy mocha JS and CSS files to temp directory to fix issues.\r\n* 2013-12-17  v0.1.0  Initial release.\r\n","maintainers":[{"name":"accordionpeas","email":"mikeycrikey@gmail.com"}],"time":{"modified":"2022-06-18T15:31:01.552Z","created":"2013-12-17T11:35:16.921Z","0.1.0":"2013-12-17T11:35:21.799Z","0.1.1":"2013-12-17T12:06:48.726Z","0.1.2":"2013-12-17T14:41:06.424Z","0.1.3":"2014-02-10T14:34:56.066Z","0.1.4":"2014-05-05T11:33:02.883Z","0.1.5":"2014-05-05T11:38:43.077Z","0.2.0":"2014-05-06T08:41:26.638Z","0.2.1":"2014-05-06T12:08:07.480Z","0.2.2":"2014-05-12T10:49:00.574Z","0.3.0":"2014-05-23T14:13:45.767Z","0.3.1":"2014-07-02T12:47:45.845Z","0.4.0":"2015-02-04T15:21:29.308Z","0.5.0":"2015-06-11T14:58:52.340Z","0.5.1":"2015-06-16T13:53:50.462Z","0.6.0":"2015-06-17T11:49:07.766Z","0.6.1":"2015-06-25T14:42:20.348Z","0.6.2":"2015-10-08T11:24:11.045Z","0.7.0":"2015-11-09T17:15:22.133Z","0.7.1":"2015-11-17T11:45:00.154Z","0.8.0":"2016-06-02T08:49:59.487Z"},"author":{"name":"Mike Nelson","email":"mikeycrikey@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/accordionpeas/grunt-mocha-require-phantom.git"},"readmeFilename":"README.md","homepage":"https://github.com/accordionpeas/grunt-mocha-require-phantom","keywords":["gruntplugin","grunt","unit test","test","require","requireJS","mocha","phantomJS","phantom"],"bugs":{"url":"https://github.com/accordionpeas/grunt-mocha-require-phantom/issues"},"users":{"hrcruz":true}}