Starterkit using angular 1.5 with typescript
TypeScript CSS JavaScript HTML Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
app
app_engine/common
models
test
.cfignore
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
README.md
appveyor.yml
bower.json
circle.yml
index.html
karma.conf.js
manifest-preprod.yml
manifest.yml
package.json
reference.ts
sassWatcher.rb
tslint.json
typings.json

README.md

Typescript Angular Starter v0.5.2

Build : Build Status Build status

Dependecies : DevDependencies Status

Installation

Prerequisites :

When these prerequisites are installed, to initialize the solution you must go to the solution root directory and run this command :

$ npm install

Development

The app directory contains controllers and views. The application rules and data access layer must be in the app_engine directory.

In order to understand this architecture project, you should read this blog article
To add a package and save it to your bower config file, run this command :

$ bower install <package-name> --save

Sass :

To see your sass change sin build project, you can lauch sassWatcher.rb in the solution root directory and run this command :

$ ruby sassWatcher.rb app/

If your project contains multiple targets, you can add multiple folder name :

$ ruby sassWatcher.rb <folder_1> <folder_2>

Useful commands

Build the website :

$ grunt build

Launch the website :

$ grunt web

Test the website (tslint+karma) :

$ grunt testing

Useful stuff

Access the website locally :

http://localhost:5000/

Find newer versions of package dependencies than what your package.json or bower.json allows

$ npm install -g npm-check-updates
$ ncu          #check your package.json
$ ncu -m bower #check your bower.json