react-native/package.json
James Ide 1cff06dca3 [podspec] Include podspec in npm distribution
Summary:
The way RCT_EXPORT_MODULE currently works, any module that is included as a pod also needs react itself to be included as a pod.

npm seems to be the preferred way to get the latest copy of react (compared to github directly or the cocoapods repo) so what this diff enables is including react as a pod if it was installed via npm.
Closes https://github.com/facebook/react-native/pull/1057
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-29 08:14:24 -08:00

74 lines
1.7 KiB
JSON

{
"name": "react-native",
"version": "0.3.7",
"description": "A framework for building native apps using React",
"repository": {
"type": "git",
"url": "git@github.com:facebook/react-native.git"
},
"jest": {
"scriptPreprocessor": "jestSupport/scriptPreprocess.js",
"setupEnvScriptFile": "jestSupport/env.js",
"testPathIgnorePatterns": [
"/node_modules/",
"packager/react-packager/src/Activity/"
],
"testFileExtensions": [
"js"
],
"unmockedModulePathPatterns": [
"source-map"
]
},
"main": "Libraries/react-native/react-native.js",
"files": [
"React",
"React.podspec",
"Examples/SampleApp",
"Libraries",
"packager",
"cli.js",
"local-cli",
"init.sh",
"LICENSE",
"PATENTS",
"README.md"
],
"scripts": {
"test": "jest",
"lint": "node linter.js Examples/",
"start": "./packager/packager.sh"
},
"bin": {
"react-native-start": "packager/packager.sh"
},
"dependencies": {
"absolute-path": "0.0.0",
"bluebird": "^2.9.21",
"chalk": "^1.0.0",
"connect": "2.8.3",
"debug": "~2.1.0",
"image-size": "0.3.5",
"joi": "~5.1.0",
"jstransform": "10.1.0",
"module-deps": "3.5.6",
"optimist": "0.6.1",
"promise": "^7.0.0",
"react-timer-mixin": "^0.13.1",
"react-tools": "0.13.2",
"rebound": "^0.0.12",
"sane": "1.0.3",
"source-map": "0.1.31",
"stacktrace-parser": "git://github.com/frantic/stacktrace-parser.git#493c5e5638",
"uglify-js": "~2.4.16",
"underscore": "1.7.0",
"worker-farm": "1.1.0",
"ws": "0.4.31",
"yargs": "1.3.2"
},
"devDependencies": {
"jest-cli": "0.2.1",
"eslint": "0.9.2"
}
}