GT2/GT2-iOS/node_modules/invariant/package.json

111 lines
4.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_args": [
[
{
"raw": "invariant@^2.0.0",
"scope": null,
"escapedName": "invariant",
"name": "invariant",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/react-redux"
]
],
"_from": "invariant@>=2.0.0 <3.0.0",
"_id": "invariant@2.2.2",
"_inCache": true,
"_location": "/invariant",
"_nodeVersion": "6.3.0",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/invariant-2.2.2.tgz_1479211323359_0.31182572920806706"
},
"_npmUser": {
"name": "zertosh",
"email": "zertosh@gmail.com"
},
"_npmVersion": "3.10.3",
"_phantomChildren": {},
"_requested": {
"raw": "invariant@^2.0.0",
"scope": null,
"escapedName": "invariant",
"name": "invariant",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/react-redux"
],
"_resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz",
"_shasum": "9e1f56ac0acdb6bf303306f338be3b204ae60360",
"_shrinkwrap": null,
"_spec": "invariant@^2.0.0",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/react-redux",
"author": {
"name": "Andres Suarez",
"email": "zertosh@gmail.com"
},
"browser": "browser.js",
"browserify": {
"transform": [
"loose-envify"
]
},
"bugs": {
"url": "https://github.com/zertosh/invariant/issues"
},
"dependencies": {
"loose-envify": "^1.0.0"
},
"description": "invariant",
"devDependencies": {
"browserify": "^11.0.1",
"flow-bin": "^0.35.0",
"tap": "^1.4.0"
},
"directories": {},
"dist": {
"shasum": "9e1f56ac0acdb6bf303306f338be3b204ae60360",
"tarball": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz"
},
"files": [
"browser.js",
"invariant.js",
"invariant.js.flow"
],
"gitHead": "49ae54d5a09c99a447e7dafa46bd3aa8f6923d98",
"homepage": "https://github.com/zertosh/invariant#readme",
"keywords": [
"test",
"invariant"
],
"license": "BSD-3-Clause",
"main": "invariant.js",
"maintainers": [
{
"name": "cpojer",
"email": "christoph.pojer@gmail.com"
},
{
"name": "zertosh",
"email": "zertosh@gmail.com"
}
],
"name": "invariant",
"optionalDependencies": {},
"readme": "# invariant\n\n[![Build Status](https://travis-ci.org/zertosh/invariant.svg?branch=master)](https://travis-ci.org/zertosh/invariant)\n\nA mirror of Facebook's `invariant` (e.g. [React](https://github.com/facebook/react/blob/v0.13.3/src/vendor/core/invariant.js), [flux](https://github.com/facebook/flux/blob/2.0.2/src/invariant.js)).\n\nA way to provide descriptive errors in development but generic errors in production.\n\n## Install\n\nWith [npm](http://npmjs.org) do:\n\n```sh\nnpm install invariant\n```\n\n## `invariant(condition, message)`\n\n```js\nvar invariant = require('invariant');\n\ninvariant(someTruthyVal, 'This will not throw');\n// No errors\n\ninvariant(someFalseyVal, 'This will throw an error with this message');\n// Error: Invariant Violation: This will throw an error with this message\n```\n\n**Note:** When `process.env.NODE_ENV` is not `production`, the message is required. If omitted, `invariant` will throw regardless of the truthiness of the condition. When `process.env.NODE_ENV` is `production`, the message is optional so they can be minified away.\n\n### Browser\n\nWhen used with [browserify](https://github.com/substack/node-browserify), it'll use `browser.js` (instead of `invariant.js`) and the [envify](https://github.com/hughsk/envify) transform will inline the value of `process.env.NODE_ENV`.\n\n### Node\n\nThe node version is optimized around the performance implications of accessing `process.env`. The value of `process.env.NODE_ENV` is cached, and repeatedly used instead of reading `proces.env`. See [Server rendering is slower with npm react #812](https://github.com/facebook/react/issues/812)\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/zertosh/invariant.git"
},
"scripts": {
"test": "NODE_ENV=production tap test/*.js && NODE_ENV=development tap test/*.js"
},
"version": "2.2.2"
}