Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions packager/packager.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,24 @@ var webSocketProxy = require('./webSocketProxy.js');
var options = parseCommandLine([{
command: 'port',
default: 8081,
type: 'string',
}, {
command: 'root',
description: 'add another root(s) to be used by the packager in this project',
type: 'string',
}, {
command: 'assetRoots',
description: 'specify the root directories of app assets'
description: 'specify the root directories of app assets',
type: 'string',
}, {
command: 'platform',
default: 'ios',
description: 'Specify the platform-specific blacklist (ios, android, web).'
description: 'Specify the platform-specific blacklist (ios, android, web).',
type: 'string',
}, {
command: 'skipflow',
description: 'Disable flow checks'
description: 'Disable flow checks',
type: 'boolean',
}]);

if (options.projectRoots) {
Expand Down