- Notifications
You must be signed in to change notification settings - Fork13
A very simple and basic Typescript Starter boilerplate template based on npm
License
nea/Typescript-Starter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A very simple and basic Typescript Starter boilerplate template based on npm.
- Just npm(no gulp, grunt or others)
- Compiles and watches Typescript sources
- Compiles and watches SCSS sources
- Includes css, js, png, jpg, gif and html sources
- Keeps the original file structure
- Includes browser-sync for a local setup
- No browsersify, uglify, lint, testing etc. (at least for now)
- 1.0.0
- Initial starter boilerplate template
First clone this repository
git clone https://github.com/nea/Typescript-Starter.git <project_name>or download thezip and extract it.
Change into the cloned/extracted directory and install the dependencies
npm installStart developing in thesrc/ directory. The structure will be preserved and all files and compilations are copied to the output directorybin/.
To start a local server and watch thebin/ directory just call
npm startWatching all files
npm run watch:*Build all files
npm buildRun a local server
npm run serveYou can check thepackage.json andtsconfig.json and alter them to your needs. For example, if you like to change the output directory, you would have to change all occurrences in these two files.
For more information check out thetsconfig.json andpackage.json documentation.
This source and the whole package comes without warranty. It may or may not harm your computer or cell phone. Please use with care. Any damage cannot be related back to the author. The source has been tested on a virtual environment and scanned for viruses and has passed all tests.
I don't know if this is very useful for a lot of people but I was looking for a very simple and basic Typescript Starter template without any grunt, gulp, browsersify, uglify etc. Those are all very sane and good systems and dependencies, but to just get started may overwhelm some people. Therefore, I created an absolute basic compiler/copy system to just get started. I hope this proves useful to you... with all its Bugs and Issues ;) If you like it you can give me a shout atINsanityDesign or let me know via this repository.
About
A very simple and basic Typescript Starter boilerplate template based on npm
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.