@devgfnl/typed-css-modules
v1.0.0
Published
A CLI tool for generating TypeScript declarations from CSS Modules.
Downloads
1
Readme
typed-css-modules
Install
npm install --save-dev @devgfnl/typed-css-modules
How to use
npx generate-type-cssmodule
## or
npx gtcm
Options
| Option | Description | Example | Default |
| --------------------- | ------------------------------------------ | --------------------------------------------------- | ------------------------------------------------- |
| -w, --watch
| Watch for changes in the specified paths | N/A | N/A |
| -p, --paths <paths>
| Comma-separated list of paths to watch | -p "src/**/*.module.css,packages/**/*.module.css"
| "src/**/*.module.css" and "lib/**/*.module.css"
|
| -r, --root <path>
| Set the root directory for resolving paths | -r "/path/to/root"
| Current working directory |
| -h, --help
| Display this help message | N/A | N/A |