alexjoverm/typescript-library-starter
View on GitHubSuggestion: separated starter script form codebase
Open
#135 opened on Nov 24, 2017
enhancementhelp wanted
Description
Initially based on the script you have that runs after installing the dependencies, I've created a script that simplifies the process in only one step (it clones the repo and runs the script) and has also the benefit of being outside the codebase.
You can run the script with:
npx github:gimenete/create-typescript-library <dirname>
Repo here: https://github.com/gimenete/create-typescript-library
Besides the library name it also asks for a few other things:
- What do you want the library to be called?
- Is this a web app or a Node.js app? Node.js / Webapp
- Is this a library? Standalone application? Yes / No
- Do you want to use travis? Yes / No
- Do you want to use commitizen? Yes / No
Maybe we can remove the embedded script you have in the project and promote using this one. My suggestion is to put this script in your repo in a different branch. Then it will be run like this:
npx github:alexjoverm/typescript-library-starter#script <dirname>
Where script is the branch name.