mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
* Updated DevTools local development instructions to mention experimental build step * Added a command to download latest experimental release (for DevTools) * Updated build instructions for clarity * Added build-for-devtools package alias
27 lines
499 B
JavaScript
27 lines
499 B
JavaScript
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
const commandLineArgs = require('command-line-args');
|
|
|
|
const paramDefinitions = [
|
|
{
|
|
name: 'build',
|
|
type: Number,
|
|
description:
|
|
'Circle CI build identifier (e.g. https://circleci.com/gh/facebook/react/<build>)',
|
|
},
|
|
{
|
|
name: 'skipTests',
|
|
type: Boolean,
|
|
description: 'Skip automated fixture tests.',
|
|
defaultValue: false,
|
|
},
|
|
];
|
|
|
|
module.exports = () => {
|
|
const params = commandLineArgs(paramDefinitions);
|
|
|
|
return params;
|
|
};
|