1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/shift.sh
2020-02-20 08:30:42 +01:00

39 lines
1.0 KiB
Bash

jscodeshift \
-t ../js-codemod/transforms/no-vars.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \
&& \
jscodeshift \
-t ../js-codemod/transforms/object-shorthand.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \
&& \
jscodeshift \
-t ../js-codemod/transforms/template-literals.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \
&& \
jscodeshift \
-t ../js-codemod/transforms/unchain-variables.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \
&& \
jscodeshift \
-t ../js-codemod/transforms/unquote-properties.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \
&& \
jscodeshift \
-t ../js-codemod/transforms/arrow-function.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \
&& \
jscodeshift \
-t ../js-codemod/transforms/use-strict.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \
&& \
jscodeshift \
-t ../js-codemod/transforms/trailing-commas.js \
packages/ --ignore-pattern=node_modules --extensions=js,jsx \