Merge pull request #283 from facebook/update-packagejson

Use only one package for dependencies, for now. Fixes #225
This commit is contained in:
Amjad Masad 2015-03-26 17:33:23 -07:00
commit c15680a3ee
2 changed files with 16 additions and 20 deletions

View File

@ -35,8 +35,7 @@
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"lint": "node linter.js Examples/", "lint": "node linter.js Examples/",
"start": "./packager/packager.sh", "start": "./packager/packager.sh"
"postinstall": "cd packager && npm install"
}, },
"bin": { "bin": {
"react-native-start": "packager/packager.sh" "react-native-start": "packager/packager.sh"
@ -48,7 +47,19 @@
"react-tools": "0.13.0-rc2", "react-tools": "0.13.0-rc2",
"rebound": "^0.0.12", "rebound": "^0.0.12",
"source-map": "0.1.31", "source-map": "0.1.31",
"stacktrace-parser": "0.1.1" "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",
"q": "1.0.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"
}, },
"devDependencies": { "devDependencies": {
"jest-cli": "0.2.1", "jest-cli": "0.2.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "react-native-cli",
"version": "0.1.2", "version": "0.1.2",
"name": "react-native-packager",
"description": "Build native apps with React!", "description": "Build native apps with React!",
"repository": { "repository": {
"type": "git", "type": "git",
@ -23,22 +23,7 @@
"lint": "node linter.js Examples/", "lint": "node linter.js Examples/",
"start": "./packager/packager.sh" "start": "./packager/packager.sh"
}, },
"dependencies": { "dependencies": {},
"absolute-path": "0.0.0",
"debug": "~2.1.0",
"joi": "~5.1.0",
"module-deps": "3.5.6",
"optimist": "0.6.1",
"q": "1.0.1",
"sane": "1.0.1",
"source-map": "0.1.31",
"stacktrace-parser": "0.1.1",
"uglify-js": "~2.4.16",
"underscore": "1.7.0",
"worker-farm": "1.1.0",
"yargs": "1.3.2",
"ws": "0.4.31"
},
"devDependencies": { "devDependencies": {
"jest-cli": "0.2.1", "jest-cli": "0.2.1",
"eslint": "0.9.2" "eslint": "0.9.2"