npm install -g yarn
yarn install -g ts-node
yarn install -g typescript@2.x.x
yarn install
yarn run (cmd)
cmd
: is a command from the lists below
yarn serve -- --host (host) --https (https) --http (http) --debug
host
: is the host to bindhttps
: is the https port to bindhttp
: is the http port to binddebug
: is to enable debug mode
Command | Description | |
---|---|---|
start |
alias for serve |
|
serve |
serve /src using ts-node |
http://localhost:3080 |
serve:log |
alias for serve with logs |
|
serve:log:bak |
alias for serve with logs in background |
|
serve:analyze |
serve /doc/analyze using http-server |
http://localhost:8080 |
serve:coverage |
serve /doc/coverage using http-server |
http://localhost:8080 |
serve:dist |
serve /dist using http-server |
http://localhost:8080 |
serve:doc |
serve /doc/typedoc using http-server |
http://localhost:8080 |
doc |
run documentation generation to /doc/typedoc using typedoc |
|
lint |
run static analysis to /doc/analyze using tslint |
|
test |
alias for test:all |
|
test:one (test) |
run one unit test using mocha |
|
test:all |
run all unit tests using mocha |
|
- See :
package.json
License: MIT