Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amiraliamhh/create-tsproj
create typescript project, cli tool
https://github.com/amiraliamhh/create-tsproj
Last synced: 10 days ago
JSON representation
create typescript project, cli tool
- Host: GitHub
- URL: https://github.com/amiraliamhh/create-tsproj
- Owner: amiraliamhh
- License: mit
- Created: 2018-10-12T13:46:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-18T20:00:44.000Z (about 6 years ago)
- Last Synced: 2024-11-27T19:29:38.115Z (27 days ago)
- Language: TypeScript
- Size: 74.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-tsproj
## easily start a typescript project using command line### Installation
`sudo npm install -g create-tsproj`### Create New Project
Run this command to create a new project:
`create-tsproj PROJECT_NAME`
You can pass your project name as the first argument after create-tsproj, or you can use `--name` flag:
`create-tsproj --name PROJECT_NAME`This command creates a new folder, adds `package.json` and installs devDependencies for new typescript project.
This command also creates `tslint.json`, `tsconfig.json` and `.gitignore` files, to disable this feature, run the command with `--no-tslint` to disable tslint and `--no-gitignore` to disable creating gitignore file.`create-tsproj PROJECT_NAME --no-tslint`
`create-tsproj PROJECT_NAME --no-gitignore`## What's next?
After initiating the project, you can go to the directory of your project and run these commands:`npm run build`
To build *.js files out of typescript files. Transpiled files are located in `dist` directory by default. you can change default path for emmited files in `package.json`.`npm run build:w`
This command does every thing that `npm run build` does, except that this runs the compiler in *watch* mode.