Mailspring/package.json
Evan Morikawa 69e5b2ac9a Add ChaosMonkey to test misbehaving servers
Summary:
`ChaosMonkey.unleashOnAPI()` will by default cause all API requests to 500

`ChaosMonkey.unleashOnAPI(timeoutMonkey: true)` will cause all API requests
to SOCKETTIMEOUT

`ChaosMonkey.unleashOnAPI(numMonkeys: 10)` will cause the next 10 API
requests to 500

`ChaosMonkey.unleashOnAPI(errorCode: 401, numMonkeys: 10)` will cause the
next 10 API requests to 401.

It must be manually invoked from the console on each window you want the
Monkeys wrecking havok.

It is available on the `window` object as well

This was created to manually test our server failure cases.

Test Plan: manual

Reviewers: drew, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2133
2015-10-09 09:37:56 -07:00

90 lines
2.2 KiB
JSON

{
"name": "nylas",
"productName": "Nylas N1",
"version": "0.3.15",
"description": "An extensible, open-source mail client built on the modern web.",
"main": "./src/browser/main.js",
"repository": {
"type": "git",
"url": "https://github.com/nylas/N1.git"
},
"bugs": {
"url": "https://github.com/nylas/N1/issues"
},
"electronVersion": "0.30.8",
"dependencies": {
"6to5-core": "^3.5",
"asar": "^0.5.0",
"async": "^0.9",
"atom-keymap": "^5.1",
"aws-sdk": "2.1.28",
"bluebird": "^2.9",
"classnames": "1.2.1",
"clear-cut": "0.4.0",
"coffee-react": "^2.0.0",
"coffee-script": "1.10.0",
"coffeestack": "^1.1",
"color": "^0.7.3",
"delegato": "^1",
"emissary": "^1.3.1",
"event-kit": "^1.0.2",
"fs-plus": "^2.3.2",
"fstream": "0.1.24",
"fuzzaldrin": "^2.1",
"git-utils": "^3.0.0",
"grim": "1.1.0",
"guid": "0.0.10",
"inflection": "^1.7",
"jasmine-json": "~0.0",
"jasmine-tagged": "^1.1.2",
"jquery": "^2.1.1",
"juice": "^1.4",
"less-cache": "0.21",
"marked": "^0.3",
"mixpanel": "0.0.20",
"mkdirp": "^0.5",
"moment": "^2.8",
"moment-timezone": "^0.3",
"nslog": "^2.0.0",
"node-uuid": "^1.4",
"optimist": "0.4.0",
"pathwatcher": "^4.4.0",
"property-accessors": "^1",
"q": "^1.0.1",
"raven": "0.7.2",
"react": "^0.13.2",
"react-hot-api": "0.4.5",
"reflux": "0.1.13",
"request": "^2.53",
"request-progress": "^0.3",
"runas": "^2.0",
"sanitize-html": "^1.9",
"scoped-property-store": "^0.16.2",
"season": "^5.1",
"semver": "^4.2",
"serializable": "^1",
"service-hub": "^0.2.0",
"space-pen": "3.8.2",
"spellchecker": "2.2.1",
"temp": "^0.8",
"text-buffer": "^4.1",
"theorist": "^1.0",
"underscore": "^1.8",
"underscore.string": "^3.0",
"vm-compatibility-layer": "0.1.0"
},
"devDependencies": {
"nock": "^2",
"grunt": "^0.4.5",
"grunt-serve": "^0.1.6",
"jasmine-react-helpers": "^0.2",
"proxyquire": "git+https://github.com/bengotow/proxyquire"
},
"packageDependencies": {},
"private": true,
"scripts": {
"test": "./N1.sh --test",
"preinstall": "node -e 'process.exit(0)'"
}
}