UNPKG

react-native-builder-bob

Version:

CLI to build JavaScript files for React Native libraries

18 lines 574 B
import yargs, {} from 'yargs'; import { hideBin } from 'yargs/helpers'; import { build } from "./build.js"; import { init } from "./init.js"; const args = { target: { type: 'string', description: 'The target to build', choices: ['commonjs', 'module', 'typescript', 'codegen'], }, }; void yargs(hideBin(process.argv)) .command('init', 'configure the package to use bob', {}, init) .command('build', 'build files for publishing', args, build) .demandCommand() .recommendCommands() .parse(); //# sourceMappingURL=index.js.map