gerardolima-ts-app
Advanced tools
Comparing version 0.1.0 to 0.2.0
"use strict"; | ||
var myLocaleString = require("./myLocaleString"); | ||
module.exports = myLocaleString; | ||
var MyAppClass_1 = require("./MyAppClass"); | ||
module.exports = new MyAppClass_1.MyAppClass("this-is-an-app-instance"); |
{ | ||
"name": "gerardolima-ts-app", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Test for building an Angular application using Typescript.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -8,3 +8,36 @@ ts-app | ||
The fisrt goal of this repository is to create the minimum scarfolding to the application, including the build process to compile TypeScript and run unit tests. | ||
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](http://travis-ci.org) and the [coverage tests](http://coveralls.io/) 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](http://stackoverflow.com/questions/35462422/force-node-to-use-git-bash-on-windows)). | ||
`export "comspec=C:\Program Files\Git\git-bash.exe"` | ||
## Tests | ||
`npm test` | ||
## Code status | ||
[![Build Status](https://travis-ci.org/gerardolima/ts-app.svg?branch=master)](https://travis-ci.org/gerardolima/ts-app) | ||
[![Coverage Status](https://coveralls.io/repos/github/gerardolima/ts-app/badge.svg?branch=master)](https://coveralls.io/github/gerardolima/ts-app?branch=master) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4207
14
43
0