mirror of
https://github.com/expo/plugin-autocomplete.git
synced 2026-11-15 09:08:08 -10:00
19 lines
475 B
JavaScript
Executable File
19 lines
475 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const oclif = require('@oclif/core')
|
|
|
|
const path = require('path')
|
|
const project = path.join(__dirname, '..', 'tsconfig.json')
|
|
|
|
// In dev mode -> use ts-node and dev plugins
|
|
process.env.NODE_ENV = 'development'
|
|
|
|
require('ts-node').register({project})
|
|
|
|
// In dev mode, always show stack traces
|
|
// Waiting for https://github.com/oclif/core/pull/147
|
|
// oclif.settings.debug = true;
|
|
|
|
// Start the CLI
|
|
oclif.run().then(oclif.flush).catch(oclif.Errors.handle)
|