3.4.0 • Published 5 years ago

decaf-transform v3.4.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Decaffeinate & Transform tool

By default, all the steps will be run in the current working directory. Additionally, we can specify a path with --path relative/path/to/dir. If any other flags are set, the tool will only run the steps specified.

Usage

npx decaf-transform [options]
  -h                        shows this help
  -r                        replaces lines of code that say *.coffee to no extension
  -d                        decaffeinates coffee files & generates new js files
  -m                        removes coffee files
  -t                        runs transform (from js -> jsx)
  -e                        runs eslint --fix
  -p                        runs prettier
  --path relative/path      specify a specific directory/file to work on
  --skip-subdirectories     Will only run on coffee files in the directory provided

Examples:

  npx decaf-transform --path modules/projects     to run everything against projects
  npx decaf-transform -p --path skeletor          runs prettier just in skeletor
  npx decaf-transform -rd                         to run first two steps (can compare
                                                  new js files to old coffee)
3.4.0

5 years ago

3.3.0

5 years ago

3.2.1

5 years ago

3.2.0

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.0.0

5 years ago