Skip to content

Commit

Permalink
Framework - Add commands comments (#11688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnmoon committed Apr 5, 2017
1 parent 4f6fb14 commit 3dca072
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/codemods/commonjs-exports
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env node

/*
This codemod converts `module.exports` to `export` and `export default`
How to use:
./bin/codemods/commonjs-exports path-to-transform/
*/
Expand Down
2 changes: 2 additions & 0 deletions bin/codemods/commonjs-imports
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env node

/*
This codemod converts `var ... = require( '...' )` to `import ... from '...'`.
How to use:
./bin/codemods/commonjs-imports path-to-transform/
*/
Expand Down

0 comments on commit 3dca072

Please sign in to comment.