create-typescript-library icon indicating copy to clipboard operation
create-typescript-library copied to clipboard

Using project on Windows

Open MPrtenjak opened this issue 5 years ago • 1 comments

Hi,

By using your library on Windows I have few suggestions:

  • At start it is good to just drop all devDependencies and reinstall libraries – with that you get new versions available at the time of starting a new project (TS library)
  • On Windows there is no rm command so npm run clean does not work. On the other hand there is no rd command on Linux, so it is best to install rimraf as devDependency and use rimraf dist as clean command
  • By running npm run test there was a problem with tsc.test.ts, by not finding ‘fs’ and other modules. I had to install node types by npm i @types/node

That was my 5 cents 😊. Anyhow thanks for your library.

Matjaz

MPrtenjak avatar Nov 11 '19 08:11 MPrtenjak

Not work for me

yarn exec v1.22.4 error Couldn't find the binary create-typescript-library

LennyLip avatar May 12 '20 04:05 LennyLip