duffman / tspath

TypeScript path alias resolver
GNU Lesser General Public License v2.1
151 stars 33 forks source link

How do I install and run this please? #52

Closed bbsimonbb closed 1 year ago

bbsimonbb commented 1 year ago

I really want to get this working. The only instruction in the read me is to simply run $ tspath. NPM packages are not directly runnable? This is a bash prompt. Is it because I'm on windows? Do I install as a dev dependency? What then? This may sound ridiculously naive. Could the readme please be more explicit? I'm on an electron project under windows.

edkotkas commented 1 year ago

You can run it by either adding it to your package scripts and using npm run <script> or just npx tspath after you've installed it.

bbsimonbb commented 1 year ago

Super. Thanks. Closed.