mirror of https://gitee.com/bigwinds/arangodb
50 lines
3.4 KiB
JSON
50 lines
3.4 KiB
JSON
{
|
|
"name": "sinon",
|
|
"description": "JavaScript test spies, stubs and mocks.",
|
|
"version": "1.10.0",
|
|
"homepage": "http://cjohansen.no/sinon/",
|
|
"author": {
|
|
"name": "Christian Johansen"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/cjohansen/Sinon.JS.git"
|
|
},
|
|
"bugs": {
|
|
"url": "http://github.com/cjohansen/Sinon.JS/issues"
|
|
},
|
|
"licenses": [
|
|
{
|
|
"type": "BSD",
|
|
"url": "http://github.com/cjohansen/Sinon.JS/blob/master/LICENSE"
|
|
}
|
|
],
|
|
"scripts": {
|
|
"test": "node test/node/run.js",
|
|
"prepublish": "./build"
|
|
},
|
|
"dependencies": {
|
|
"formatio": "~1.0",
|
|
"util": ">=0.10.3 <1"
|
|
},
|
|
"devDependencies": {
|
|
"buster-core": ">=0.6.4",
|
|
"buster-assertions": "~0.10",
|
|
"buster-evented-logger": "~0.4",
|
|
"buster-test": "~0.5",
|
|
"http-server": "*"
|
|
},
|
|
"main": "./lib/sinon.js",
|
|
"engines": {
|
|
"node": ">=0.1.103"
|
|
},
|
|
"readme": "# Sinon.JS\n\n[](http://travis-ci.org/cjohansen/Sinon.JS)\n\nStandalone and test framework agnostic JavaScript test spies, stubs and mocks.\n\n## Installation\n\nvia [npm (node package manager)](http://github.com/isaacs/npm)\n\n $ npm install sinon\n\nvia [NuGet (package manager for Microsoft development platform)](https://www.nuget.org/packages/SinonJS)\n\n Install-Package SinonJS\n\nor install via git by cloning the repository and including sinon.js\nin your project, as you would any other third party library.\n\nDon't forget to include the parts of Sinon.JS that you want to use as well\n(i.e. spy.js).\n\n## Usage\n\nSee the [sinon project homepage](http://sinonjs.org/)\n\n## Goals\n\n* No global pollution\n* Easy to use\n* Require minimal “integration”\n* Easy to embed seamlessly with any testing framework\n* Easily fake any interface\n* Ship with ready-to-use fakes for XMLHttpRequest, timers and more\n\n## Contribute?\n\nPick [an issue](http://github.com/cjohansen/Sinon.JS/issues) to fix, or pitch\nnew features. To avoid wasting your time, please ask for feedback on feature\nsuggestions either with [an issue](http://github.com/cjohansen/Sinon.JS/issues/new)\nor on [the mailing list](http://groups.google.com/group/sinonjs).\n\n## Run the tests\n\nThe Sinon.JS developer environment requires Node/NPM. Please make sure you have\nNode installed, and install Sinon's dependencies:\n\n $ npm install\n\n### On Node\n\n $ npm test\n\n### In the browser\n\nOpen `test/sinon.html` in a browser. To test against a built distribution, first\nmake sure you have a build (requires [Ruby][ruby] and [Juicer][juicer]):\n\n $ ./build\n\n[ruby]: https://www.ruby-lang.org/en/\n[juicer]: http://rubygems.org/gems/juicer\n\nThen open `test/sinon-dist.html` in a browser.\n\nIf the build script is unable to find Juicer, try\n\n $ ruby -rubygems build\n\nSome tests needs working XHR to pass. To run the tests over an HTTP server, run\n\n $ node_modules/http-server/bin/http-server\n\nThen open [localhost:8080/test/sinon.html](http://localhost:8080/test/sinon.html)\nin a browser.\n\n### On Rhino\n\nThe Rhino tests are currently out of commission (pending update after switch to\nBuster.JS for tests).\n",
|
|
"readmeFilename": "README.md",
|
|
"_id": "sinon@1.10.0",
|
|
"dist": {
|
|
"shasum": "186f7bd3a84062bc4b1f5b34c73efd4a11a07f1b"
|
|
},
|
|
"_from": "sinon@1.10.0",
|
|
"_resolved": "https://registry.npmjs.org/sinon/-/sinon-1.10.0.tgz"
|
|
}
|