1.0.2 • Published 4 years ago

copy-ts-alias v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

copy-ts-alias

Tired of keeping track of configuration in your TS config and your package.json just to have resolved path aliases in your TypeScript compilation output?

Me too. Here ya go:

copy-ts-alias

Running this will translate the aliases you have in your TS config into a format that can be used by module-alias and copy them over into your package.json. That way at least you don't have to mentally keep track of which aliases have been added in both places.

The action is non-destructive - it will not remove aliases from your package.json. It will however, overwrite them if they use the same key.

Cheers 🍻

Options

  --output-dir, -o  Path to compilation output        [string] [default: "dist"]
  --ts-config, -c   Path to your TS config   [string] [default: "tsconfig.json"]
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago