gerardolima-ts-app
v0.2.0
Published
Test for building an Angular application using Typescript.
Downloads
2
Readme
ts-app
This is a personal study on the necessary steps to develop an Angular application using TypeScript. This repository is built uppon work previously done on my other repository to develop a Npm package.
Status
The fisrt goal of this repository is to create the minimum scaffolding to the application, including the build process to compile TypeScript and run unit tests.
Installation
npm install gerardolima-ts-app
Usage
var myApp = require('gerardolima-ts-app');
var myName = myApp.name;
Output should be ts-app
Build
Currenly this repository package only relies on npm scripts.
npm run clean
npm run build
Currenntly, these scripts need to run on bash, so that the continuous integration and the coverage tests run properly. To run them on windows, you need to create an evironment variable to inform npm to use bash, instead of the standard command interpreter (more information here).
export "comspec=C:\Program Files\Git\git-bash.exe"
Tests
npm test