react-native/package.json
Pilwon Huh 87599bfcd1 [react-packager] Switch from Q to Bluebird as promises library
Summary:
This PR improves performance of `react-packager` by switching the promises library from the [Q](https://github.com/kriskowal/q) to [Bluebird](https://github.com/petkaantonov/bluebird).

[Here is the test result](https://github.com/facebook/react-native/issues/361#issuecomment-87829808) showing a noticeable difference. (2x speed improvement)

Please refer to [this issue](https://github.com/facebook/react-native/issues/361) for more details.
Closes https://github.com/facebook/react-native/pull/516
Github Author: Pilwon Huh <pilwon@gmail.com>

Test Plan:
./runJestTests
start app and click around
2015-03-31 21:24:13 -08:00

69 lines
1.5 KiB
JSON

{
"name": "react-native",
"version": "0.3.1",
"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",
"Examples/SampleApp",
"Libraries",
"packager",
"cli.js",
"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": {
"connect": "2.8.3",
"jstransform": "10.0.1",
"react-timer-mixin": "^0.13.1",
"react-tools": "0.13.0-rc2",
"rebound": "^0.0.12",
"source-map": "0.1.31",
"stacktrace-parser": "0.1.1",
"absolute-path": "0.0.0",
"debug": "~2.1.0",
"joi": "~5.1.0",
"module-deps": "3.5.6",
"optimist": "0.6.1",
"sane": "1.0.1",
"uglify-js": "~2.4.16",
"underscore": "1.7.0",
"worker-farm": "1.1.0",
"yargs": "1.3.2",
"ws": "0.4.31",
"bluebird": "^2.9.21"
},
"devDependencies": {
"jest-cli": "0.2.1",
"eslint": "0.9.2"
}
}