mirror of https://github.com/status-im/metro.git
Fix cli entry points
Reviewed By: frantic Differential Revision: D2565954 fb-gh-sync-id: 6fde9e1dbefd71944e8f857e9a40619bf599ef75
This commit is contained in:
parent
cf61ca9002
commit
a55fc77f82
|
@ -13,5 +13,6 @@ clear
|
||||||
|
|
||||||
THIS_DIR=$(dirname "$0")
|
THIS_DIR=$(dirname "$0")
|
||||||
$THIS_DIR/packager.sh
|
$THIS_DIR/packager.sh
|
||||||
|
|
||||||
echo "Process terminated. Press <enter> to close the window"
|
echo "Process terminated. Press <enter> to close the window"
|
||||||
read
|
read
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"lint": "node linter.js Examples/",
|
"lint": "node linter.js Examples/",
|
||||||
"start": "react-native start"
|
"start": "./packager.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"wordwrap": "^1.0.0"
|
"wordwrap": "^1.0.0"
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Copyright (c) 2015-present, Facebook, Inc.
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# This source code is licensed under the BSD-style license found in the
|
||||||
|
# LICENSE file in the root directory of this source tree. An additional grant
|
||||||
|
# of patent rights can be found in the PATENTS file in the same directory.
|
||||||
|
|
||||||
|
THIS_DIR=$(dirname "$0")
|
||||||
|
node "$THIS_DIR/../local-cli/cli.js" start "$@"
|
Loading…
Reference in New Issue