This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//jscodeshift --rootDirs ./src --packageDir . --extensions ts --parser tsx -t abs.js src | |
/** | |
* This codemod expects 2 CLI arguments: | |
* - packageDir: the path of the directory containing the package.json. It's used to detect whether a path points | |
* to a dependency or an internal module. | |
* - rootDirs: root directory paths separated by a comma if you have more than one root. | |
* Let's say that you have two files: | |
* - src/component.js | |
* - src/index.js containing the import "import Component from 'component.js';" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.card { | |
box-shadow: rgba(0, 0, 0, 0.01) 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 4px 8px, rgba(0, 0, 0, 0.04) 0px 16px 24px, rgba(0, 0, 0, 0.01) 0px 24px 32px; | |
} |