d1701091b8
Largely based on the code @threepointone wrote for react-codemod. Co-Authored-By: Sunil Pai <threepointone@gmail.com> Co-authored-by: Sunil Pai <threepointone@gmail.com>
13 lines
424 B
JavaScript
13 lines
424 B
JavaScript
#!/usr/bin/env node
|
|
|
|
/**
|
|
* Copyright 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
// Based on https://github.com/reactjs/react-codemod/blob/dd8671c9a470a2c342b221ec903c574cf31e9f57/bin/react-codemod.js
|
|
// next-codemod optional-name-of-transform optional/path/to/src [...options]
|
|
|
|
require('./cli').run()
|