{"_id":"mocha-phantomjs-core","_rev":"273639","name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","dist-tags":{"latest":"2.1.2"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"time":{"modified":"2021-06-03T17:52:04.000Z","created":"2015-04-14T04:42:31.645Z","2.1.2":"2017-07-21T21:29:12.960Z","2.1.1":"2016-12-14T21:28:15.771Z","2.1.0":"2016-11-21T19:37:01.741Z","1.3.1":"2016-05-02T16:50:26.086Z","2.0.1":"2016-03-29T00:27:03.637Z","2.0.0":"2016-02-18T08:07:22.829Z","1.3.0":"2015-11-06T08:18:10.845Z","1.2.1":"2015-10-24T04:16:10.454Z","1.2.0":"2015-10-18T00:52:34.729Z","1.1.1":"2015-09-27T15:06:23.739Z","1.1.0":"2015-09-21T05:57:56.015Z","1.0.1":"2015-07-23T06:38:10.858Z","1.0.0":"2015-07-16T16:29:40.608Z","0.2.1":"2015-07-03T16:50:57.276Z","0.2.0":"2015-05-14T06:08:10.731Z","0.1.0":"2015-05-05T06:02:13.044Z","0.0.1":"2015-04-14T04:42:31.645Z"},"users":{"flozz":true,"rbultitude":true},"author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"versions":{"2.1.2":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.1.2","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"a45a21c59ee70ece0b4027d4d1da924aedfc151a","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.1.2","_shasum":"86ccc00daf4eb7013745aaec2f54997bd6b24bbd","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"86ccc00daf4eb7013745aaec2f54997bd6b24bbd","size":9324,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-2.1.2.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mocha-phantomjs-core-2.1.2.tgz_1500672552821_0.10541916312649846"},"directories":{},"publish_time":1500672552960,"_cnpm_publish_time":1500672552960,"_hasShrinkwrap":false},"2.1.1":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.1.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"b1e16ca5e1ab25cc4912db087f4d20bc834a50f4","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.1.1","_shasum":"83b1400b437209e0c710f0a17a0485a155179fe2","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"83b1400b437209e0c710f0a17a0485a155179fe2","size":9279,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-2.1.1.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.1.1.tgz_1481750893846_0.33738727774471045"},"directories":{},"publish_time":1481750895771,"_cnpm_publish_time":1481750895771,"_hasShrinkwrap":false},"2.1.0":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.1.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"b1e16ca5e1ab25cc4912db087f4d20bc834a50f4","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.1.0","_shasum":"4fcb63c4663214ece2731adba739ea298409b9a8","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"4fcb63c4663214ece2731adba739ea298409b9a8","size":17165774,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-2.1.0.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.1.0.tgz_1479757021381_0.06043549673631787"},"directories":{},"publish_time":1479757021741,"_cnpm_publish_time":1479757021741,"_hasShrinkwrap":false},"1.3.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.3.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"5e2449728874e4203afce290dfcf2378cd447b10","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.3.1","_shasum":"586538c8d71fa8de90c41a46acc0481c1fb83e18","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"586538c8d71fa8de90c41a46acc0481c1fb83e18","size":8397,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.3.1.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-1.3.1.tgz_1462207823837_0.7598905295599252"},"directories":{},"publish_time":1462207826086,"_cnpm_publish_time":1462207826086,"_hasShrinkwrap":false},"2.0.1":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.0.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"f645471008b145405e61a5234a1c9221b6d0feb8","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.0.1","_shasum":"03564481ee64ed050a5ab304df1e05f5cab71f4f","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"03564481ee64ed050a5ab304df1e05f5cab71f4f","size":9156,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-2.0.1.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.0.1.tgz_1459211223235_0.1171520515345037"},"directories":{},"publish_time":1459211223637,"_cnpm_publish_time":1459211223637,"_hasShrinkwrap":false},"2.0.0":{"name":"mocha-phantomjs-core","description":"Run client-side mocha tests in phantomjs or slimerjs","keywords":["phantomjs","slimerjs","mocha","test","runner","command line","browser"],"version":"2.0.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"b1e032376186de8458f3af3197e5212a689a2c03","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@2.0.0","_shasum":"87295be139bd9843d96ace1c7c3d2267437ce854","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"87295be139bd9843d96ace1c7c3d2267437ce854","size":17671934,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-2.0.0.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/mocha-phantomjs-core-2.0.0.tgz_1455782840387_0.279526341939345"},"directories":{},"publish_time":1455782842829,"_cnpm_publish_time":1455782842829,"_hasShrinkwrap":false},"1.3.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.3.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"04391e8d69c0a28092dd1f2d698e73bf010b986d","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.3.0","_shasum":"fa991c9b13e3ba34fa0a0fe4c3f567da84882eb0","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"fa991c9b13e3ba34fa0a0fe4c3f567da84882eb0","size":17670764,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.3.0.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1446797890845,"_cnpm_publish_time":1446797890845,"_hasShrinkwrap":false},"1.2.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.2.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"1232cb4d78b1b9eb71a5944fa05d1c2f1b504499","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.2.1","_shasum":"6cb9a73d96f3c661f53a16a909d01902d26e92c8","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"6cb9a73d96f3c661f53a16a909d01902d26e92c8","size":17670695,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.2.1.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1445660170454,"_cnpm_publish_time":1445660170454,"_hasShrinkwrap":false},"1.2.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.2.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"4fc2b4c7b6a152213fb81c869ad6a0fe04315fe0","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.2.0","_shasum":"ea40397726b254f4ba1938e8f82be6d0df9adff2","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"ea40397726b254f4ba1938e8f82be6d0df9adff2","size":17670701,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.2.0.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1445129554729,"_cnpm_publish_time":1445129554729,"_hasShrinkwrap":false},"1.1.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.1.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"ceaaf5ceda8b3811f80149b8fa5937c042b81b8f","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.1.1","_shasum":"0fd891e7ba6778b81ede47f889ce03c5a66dc089","_from":".","_npmVersion":"2.14.2","_nodeVersion":"3.0.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"0fd891e7ba6778b81ede47f889ce03c5a66dc089","size":17670146,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.1.1.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1443366383739,"_cnpm_publish_time":1443366383739,"_hasShrinkwrap":false},"1.1.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.1.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1","requirejs":"^2.1.20"},"gitHead":"df021868a2c69173441f56995e97908e04d84c93","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.1.0","_shasum":"237cb0169912badc7ce8fa4fff485deb6d7ca9ed","_from":".","_npmVersion":"2.14.2","_nodeVersion":"3.0.0","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"237cb0169912badc7ce8fa4fff485deb6d7ca9ed","size":8067,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.1.0.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1442815076015,"_cnpm_publish_time":1442815076015,"_hasShrinkwrap":false},"1.0.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.0.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"2e60d5c445bd41ff3b918e6437fd640e6f6d5ae9","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.0.1","_shasum":"c079faff5711c56c8d82e5d9ee0f124414ccfde9","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"c079faff5711c56c8d82e5d9ee0f124414ccfde9","size":17669551,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.0.1.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1437633490858,"_cnpm_publish_time":1437633490858,"_hasShrinkwrap":false},"1.0.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"1.0.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"6758732098dfc0cc8d723c760bddb29eda453366","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@1.0.0","_shasum":"b3176d15ad938ca1c9dd9278799f08a285f6d5d4","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"b3176d15ad938ca1c9dd9278799f08a285f6d5d4","size":17670025,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-1.0.0.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1437064180608,"_cnpm_publish_time":1437064180608,"_hasShrinkwrap":false},"0.2.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.2.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"git+ssh://git@github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"77af68b20d5279106917f73aae5d5ce63e3e5760","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","_id":"mocha-phantomjs-core@0.2.1","_shasum":"ab40c083ffaaf99ec845f70b6b6b3bbc119b83a3","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"dist":{"shasum":"ab40c083ffaaf99ec845f70b6b6b3bbc119b83a3","size":17670032,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-0.2.1.tgz"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"directories":{},"publish_time":1435942257276,"_cnpm_publish_time":1435942257276,"_hasShrinkwrap":false},"0.2.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.2.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"http://github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/core.tests.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"751550d8fe03b3a6cd8d7afc3691843fde7ffc00","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core","_id":"mocha-phantomjs-core@0.2.0","_shasum":"846331bcaf566abab710adc52da19ef791c7c3b2","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"dist":{"shasum":"846331bcaf566abab710adc52da19ef791c7c3b2","size":17669984,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-0.2.0.tgz"},"directories":{},"publish_time":1431583690731,"_cnpm_publish_time":1431583690731,"_hasShrinkwrap":false},"0.1.0":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.1.0","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/nathanboktae/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"http://github.com/nathanboktae/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"},"main":"./mocha-phantomjs-core.js","scripts":{"test":"mocha --harmony --compilers coffee:coffee-script/register test/mocha-phantomjs.coffee -t 5000"},"devDependencies":{"bluebird":"^2.9.24","chai":"^2.2.0","co-mocha":"^1.1.0","coffee-script":"^1.9.1"},"gitHead":"00ab42ac5a817e5f20c587703a7afe816acfbf83","homepage":"https://github.com/nathanboktae/mocha-phantomjs-core","_id":"mocha-phantomjs-core@0.1.0","_shasum":"39801d6907f4b98ad545cfc17c59dfe804cb239a","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"dist":{"shasum":"39801d6907f4b98ad545cfc17c59dfe804cb239a","size":9332414,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-0.1.0.tgz"},"directories":{},"publish_time":1430805733044,"_cnpm_publish_time":1430805733044,"_hasShrinkwrap":false},"0.0.1":{"name":"mocha-phantomjs-core","description":"Run mocha tests in phantomjs","keywords":["phantomjs","mocha","test","runner","command line","browser"],"version":"0.0.1","author":{"name":"Nathan Black","email":"nathan@nathanblack.org","url":"https://github.com/nathanboktae"},"licenses":[{"type":"MIT","url":"http://github.com/metaskills/mocha-phantomjs-core/blob/master/MIT-LICENSE"}],"contributors":[{"name":"Ken Collins","email":"ken@metaskills.net","url":"http://metaskills.net/"}],"repository":{"type":"git","url":"http://github.com/metaskills/mocha-phantomjs-core.git"},"bugs":{"url":"http://github.com/metaskills/mocha-phantomjs-core/issues"},"main":"./lib/mocha-phantomjs.coffee","scripts":{"test":"mocha --compilers coffee:coffee-script test/mocha-phantomjs.coffee -t 20000 -R spec"},"peerDependencies":{"phantomjs":"~1.9.1"},"dependencies":{"mocha":"~1.20.1","commander":"~2.0.0"},"devDependencies":{"phantomjs":"~1.9.1","chai":"1.8.x","coffee-script":"1.6.x","requirejs":"2.1.x"},"gitHead":"251edff040ec4207f896c7eb10c479094ba31e3a","homepage":"https://github.com/metaskills/mocha-phantomjs-core","_id":"mocha-phantomjs-core@0.0.1","_shasum":"810f902f0187789371f301775951b41113c5a7d8","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"nathanboktae","email":"nathan@nathanblack.org"},"maintainers":[{"name":"nathanboktae","email":"nathan@nathanblack.org"}],"dist":{"shasum":"810f902f0187789371f301775951b41113c5a7d8","size":10754,"noattachment":false,"key":"/mocha-phantomjs-core/-/mocha-phantomjs-core-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mocha-phantomjs-core/download/mocha-phantomjs-core-0.0.1.tgz"},"directories":{},"publish_time":1428986551645,"_cnpm_publish_time":1428986551645,"_hasShrinkwrap":false}},"readme":"# Run client-side Mocha tests in PhantomJS or SlimerJS\n\n[![Join the chat at https://gitter.im/nathanboktae/mocha-phantomjs-core](https://badges.gitter.im/nathanboktae/mocha-phantomjs-core.svg)](https://gitter.im/nathanboktae/mocha-phantomjs-core?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\n[![Build Status](https://secure.travis-ci.org/nathanboktae/mocha-phantomjs-core.png)](http://travis-ci.org/nathanboktae/mocha-phantomjs-core)\n\nSo now that you got your tests [Mocha](http://mochajs.org/) running on a simple flat HTML file, now how do you run them in your CI environment? [Karma](http://karma-runner.github.io/)? what is this `karma.conf.js` file I have to write? and some background runner task? how do I grep over just a few tests? wait I need a to also install a launcher for phantomjs or slimerjs too? bleck.\n\nRather than force you to redo your test harness and local development testing, simply run `phantomjs mocha-phantomjs-core.js spec tests/mytests.html` and be done with it. `mocha-phantomjs-core` builds on top of what you already have, with no high barrier to entry like Karma.\n\nNew in 2.0 is [SlimerJS](https://slimerjs.org) support! There are [some bugs](https://github.com/laurentj/slimerjs/issues/created_by/nathanboktae) still to be worked out, but now you can run your tests headless on the latest firefox version instead of an old QtWebKit!\n\n## Installation\n\n```\nnpm install mocha-phantomjs-core\n```\n\n## Usage\n\n```\n<phantomjs|slimerjs> mocha-phantomjs-core.js <TESTS> <REPORTER> <CONFIG as JSON>\n\nExamples:\nphantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js tests.html\nphantomjs ./node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js tests/runner.html xunit > results.xml\n/usr/local/bin/phantomjs /path/to/mocha-phantomjs-core.js tests.html spec \"{\\\"useColors\\\":true}\"\n```\n\nDue to resource loading timing issues with external sources, you may need to call `initMochaPhantomJS` before calling any mocha setup functions like `setup()`, `ui()`, etc. `mocha-phantomjs-core` will notify you if you need this, and if so, add a check for it before your mocha setup code:\n\n```\nif (typeof initMochaPhantomJS === 'function') {\n  initMochaPhantomJS()\n}\n```\n\nThis can be avoided by removing unnessecary external resources like fonts, CSS, etc. from your tests, or simply having `mocha.js` as the first script loaded.\n\n### Config\n\nIt's best to always refer to [the tests](https://github.com/nathanboktae/mocha-phantomjs-core/blob/master/test/core.tests.coffee) for full usage and examples.\n\n#### `reporter`\n\nOne of mocha's built in reporters, or a full path to a file for a 3rd party reporter (see below on how to write one).\n\n#### `grep`\n\na string to pass to `mocha.grep()` to filter tests. also provide `invert: true` if you want to invert the grep and filter out tests.\n\n#### `useColors`\n\nBoolean. Force or suppress color usage. Defaults to what your terminal supports.\n\n#### `bail`\n\nBoolean. Stop the test run at the first failure if true. Defaults to false.\n\n#### `ignoreResourceErrors`\n\nBoolean. Suppress the resource failure output that `mocha-phantomjs-core` will output by default.\n\n#### `loadTimeout`\n\nTime in milliseconds after the page loads that `mocha.run` needs to be called. Defaults to 10 seconds. \n\n#### `timeout`\n\nSets mocha's root suite timeout. Defers to mocha's default if omitted. \n\n#### `viewportSize`\n\nSets the viewport size. Specify `height` and `width`, like below:\n\n#### `settings`\n\nIf you need to pass [additional settings](https://github.com/ariya/phantomjs/wiki/API-Reference-WebPage#webpage-settings) to the phantomjs webpage, you can specify an object of settings here, including common ones like `userAgent` and `loadImages`.\n\n```\nphantomjs mocha-phantomjs-core.js dot tests/mytests.html \"{\\\"viewportSize\\\":{\\\"width\\\":720,\\\"height\\\":480}}\"\n```\n\nPreviously `mocha-phantomjs` required you to look for `mochaPhantomJS` and then use `mochaPhantomJS.run()`. That is no longer required. Call `mocha.run()` as you normally would.\n\n## Screenshots\n\n`mocha-phantomjs-core` supports creating screenshots from your test code. For example, you could write a function like below into your test code.\n\n```javascript\nfunction takeScreenshot() {\n  if (window.callPhantom) {\n    var date = new Date()\n    var filename = \"screenshots/\" + date.getTime()\n    console.log(\"Taking screenshot \" + filename)\n    callPhantom({'screenshot': filename})\n  }\n}\n```\n\nIf you want to generate a screenshot for each test failure you could add the following into your test code.\n\n```javascript\n  afterEach(function () {\n    if (this.currentTest.state == 'failed') {\n      takeScreenshot()\n    }\n  })\n```\n\n## Send event\n\n`mocha-phantomjs-core` supports [sending events](http://phantomjs.org/api/webpage/method/send-event.html)\nfrom your test code to allow for more ouside testing. For example, to trigger an external `click` event:\n\n```javascript\nif (window.callPhantom) {\n  window.callPhantom({\n    sendEvent: ['click', 10, 10] // array of arguments\n  });\n}\n```\n\n## Changing `viewportSize`\n\n`mocha-phantomjs-core` now also supports changing of viewportSize (the simulated `window` size for the headless browser) - while running tests.\n\n```javascript\nif (window.callPhantom) {\n  window.callPhantom({\n    viewportSize : {\n      width : 100,\n      height : 100\n    }\n  });\n}\n```\n\nThis comes on particlarly handy when testing for responsiveness.\n\n## Environment variables\n\n`mocha-phantomjs-core` will expose environment variables at `mocha.env`\n\n## Third Party Reporters\n\nMocha has support for custom [3rd party reporters](https://github.com/mochajs/mocha/wiki/Third-party-reporters), and mocha-phantomjs does support 3rd party reporters, but keep in mind - *the reporter does not run in Node.js, but in the browser, and node modules can't be required.* You need to only use basic, vanilla JavaScript when using third party reporters. However, some things are available:\n\n- `require`: You can only require other reporters, like `require('./base')` to build off of the BaseReporter\n- `exports`, `module`: Export your reporter class as normal\n- `process`: use `process.stdout.write` preferrably to support the `--file` option over `console.log` (see #114)\n\nAlso, no compilers are supported currently, so please provide plain ECMAScript 5 for your reporters.\n\n## Testing\n\n```\nnpm install\nnpm test\n```\n\nTravis CI does a matrix build against phantomjs 1.9.7 and 2.0.0, currently. See `.travis.yml` for the latest.\n\nTo debug an individual test, since they are just process forks, you may want to run them directly, like\n\n```\nphantomjs mocha-phantomjs-core.js test/timeout.html spec \"{\\\"timeout\\\":500}\"\n```\n\n## License\n\nReleased under the MIT license. Copyright (c) 2015 Ken Collins and Nathan Black.\n\n","_attachments":{},"homepage":"https://github.com/nathanboktae/mocha-phantomjs-core#readme","bugs":{"url":"http://github.com/nathanboktae/mocha-phantomjs-core/issues"}}