NOTICE: This repo has been deprecated
[DEPRECATED] Ani Theme rewritten in Angular2 and Bootstrap 4
This project is a part of the famous ANI Theme Ani Theme v2.0 to Angular2 Theme.
Powered by StartAngular & StrapUI
##Demo
Ani Angular2
provides the following features:
- Allows you to painlessly update the seed tasks of your already existing project.
- Ready to go, statically typed build system using gulp for working with TypeScript.
- Production and development builds.
- Ahead-of-Time compilation support.
- Sample unit tests with Jasmine and Karma including code coverage via istanbul.
- End-to-end tests with Protractor.
- Development server with Livereload.
- Following the best practices for your applicationβs structure.
- Manager of your type definitions using @types.
- Has autoprefixer and css-lint support.
How to start
Note that this seed project requires node v4.x.x or higher and npm 2.14.7.
In order to start the seed use:
Installation
####1. Clone this project or Download that ZIP file
$ git clone [email protected]:start-angular/ani-angular-2.git
####2. Make sure you have npm installed globally
You must have ts-node
installed as global. If you don't, use:
npm install -g ts-node
####3. On the command prompt run the following commands
$ cd `project-directory`
$ npm install
$ npm start
Configuration
Default application server configuration
var PORT = 9000;
var LIVE_RELOAD_PORT = 9001;
var APP_BASE = '/';
Directory Structure
.
βββ LICENSE
βββ README.md
βββ gulpfile.ts <- configuration of the gulp tasks
βββ karma.conf.js <- configuration of the test runner
βββ package.json <- dependencies of the project
βββ protractor.conf.js <- e2e tests configuration
βββ src <- source code of the application
βΒ Β βββ client
βΒ Β βββ app
βΒ Β βΒ Β βββ login
βΒ Β βΒ Β βΒ Β βββ login.component.css
βΒ Β βΒ Β βΒ Β βββ login.component.html
βΒ Β βΒ Β βΒ Β βββ login.component.ts
βΒ Β βΒ Β βΒ Β βββ login.module.ts
βΒ Β βΒ Β βΒ Β βββ login.routes.ts
βΒ Β βΒ Β βΒ Β βββ index.ts
βΒ Β βΒ Β βββ dashboard
βΒ Β βΒ Β βΒ Β βββ home
βΒ Β βΒ Β βΒ Β βββ component
βΒ Β βΒ Β βΒ Β βββ blankpage
βΒ Β βΒ Β βΒ Β βββ dashboard.component.css
βΒ Β βΒ Β βΒ Β βββ dashboard.component.html
βΒ Β βΒ Β βΒ Β βββ dashboard.component.ts
βΒ Β βΒ Β βΒ Β βββ dashboard.module.ts
βΒ Β βΒ Β βΒ Β βββ dashboard.routes.ts
βΒ Β βΒ Β βΒ Β βββ index.ts
βΒ Β βΒ Β βββ app.component.html
βΒ Β βΒ Β βββ app.component.ts
βΒ Β βΒ Β βββ app.module.ts
βΒ Β βΒ Β βββ app.routes.ts
βΒ Β βΒ Β βββ main.ts
βΒ Β βΒ Β βββ shared
βΒ Β βΒ Β βββ config
βΒ Β βΒ Β βΒ Β βββ env.config.ts
βΒ Β βΒ Β βββ index.ts
βΒ Β βΒ Β βββ shared.module.ts
βΒ Β βΒ Β βββ name-list
βΒ Β βΒ Β βΒ Β βββ index.ts
βΒ Β βΒ Β βΒ Β βββ name-list.service.spec.ts
βΒ Β βΒ Β βΒ Β βββ name-list.service.ts
βΒ Β βΒ Β βββ sidebar
βΒ Β βΒ Β βΒ Β βββ index.ts
βΒ Β βΒ Β βΒ Β βββ sidebar.component.html
βΒ Β βΒ Β βΒ Β βββ sidebar.component.ts
βΒ Β βββ assets
βΒ Β βΒ Β βββ bootstrao
βΒ Β βΒ Β βββ images
βΒ Β βΒ Β βββ sass
βΒ Β βββ index.html
βΒ Β βββ tsconfig.json
βββ test-main.js <- testing configuration
βββ tools
βΒ Β βββ README.md <- build documentation
βΒ Β βββ config
βΒ Β βΒ Β βββ project.config.ts <- configuration of the specific project
βΒ Β βΒ Β βββ seed.config.interfaces.ts
βΒ Β βΒ Β βββ seed.config.ts <- generic configuration of the seed project
βΒ Β βββ config.ts <- exported configuration (merge both seed.config and project.config, project.config overrides seed.config)
βΒ Β βββ debug.ts
βΒ Β βββ env <- environment configuration
βΒ Β βΒ Β βββ base.ts
βΒ Β βΒ Β βββ dev.ts
βΒ Β βΒ Β βββ prod.ts
βΒ Β βββ manual_typings
βΒ Β βΒ Β βββ project <- manual ambient typings for the project
βΒ Β βΒ Β βΒ Β βββ sample.package.d.ts
βΒ Β βΒ Β βββ seed <- seed manual ambient typings
βΒ Β βΒ Β βββ angular2-hot-loader.d.ts
βΒ Β βΒ Β βββ autoprefixer.d.ts
βΒ Β βΒ Β βββ colorguard.d.ts
βΒ Β βΒ Β βββ connect-livereload.d.ts
βΒ Β βΒ Β βββ cssnano.d.ts
βΒ Β βΒ Β βββ doiuse.d.ts
βΒ Β βΒ Β βββ express-history-api-fallback.d.ts
βΒ Β βΒ Β βββ istream.d.ts
βΒ Β βΒ Β βββ karma.d.ts
βΒ Β βΒ Β βββ merge-stream.d.ts
βΒ Β βΒ Β βββ open.d.ts
βΒ Β βΒ Β βββ postcss-reporter.d.ts
βΒ Β βΒ Β βββ slash.d.ts
βΒ Β βΒ Β βββ stylelint.d.ts
βΒ Β βΒ Β βββ systemjs-builder.d.ts
βΒ Β βΒ Β βββ tildify.d.ts
βΒ Β βΒ Β βββ tiny-lr.d.ts
βΒ Β βΒ Β βββ walk.d.ts
βΒ Β βββ tasks <- gulp tasks
βΒ Β βΒ Β βββ project <- project specific gulp tasks
βΒ Β βΒ Β βΒ Β βββ sample.task.ts
βΒ Β βΒ Β βββ seed <- seed generic gulp tasks. They can be overriden by the project specific gulp tasks
βΒ Β βΒ Β βββ build.assets.dev.ts
βΒ Β βΒ Β βββ build.assets.prod.ts
βΒ Β βΒ Β βββ build.bundles.app.ts
βΒ Β βΒ Β βββ build.bundles.ts
βΒ Β βΒ Β βββ build.docs.ts
βΒ Β βΒ Β βββ build.html_css.ts
βΒ Β βΒ Β βββ build.index.dev.ts
βΒ Β βΒ Β βββ build.index.prod.ts
βΒ Β βΒ Β βββ build.js.dev.ts
βΒ Β βΒ Β βββ build.js.e2e.ts
βΒ Β βΒ Β βββ build.js.prod.ts
βΒ Β βΒ Β βββ build.js.test.ts
βΒ Β βΒ Β βββ build.js.tools.ts
βΒ Β βΒ Β βββ check.versions.ts
βΒ Β βΒ Β βββ clean.all.ts
βΒ Β βΒ Β βββ clean.coverage.ts
βΒ Β βΒ Β βββ clean.dev.ts
βΒ Β βΒ Β βββ clean.prod.ts
βΒ Β βΒ Β βββ clean.tools.ts
βΒ Β βΒ Β βββ copy.js.prod.ts
βΒ Β βΒ Β βββ css-lint.ts
βΒ Β βΒ Β βββ e2e.ts
βΒ Β βΒ Β βββ generate.manifest.ts
βΒ Β βΒ Β βββ karma.start.ts
βΒ Β βΒ Β βββ serve.coverage.ts
βΒ Β βΒ Β βββ serve.docs.ts
βΒ Β βΒ Β βββ server.prod.ts
βΒ Β βΒ Β βββ server.start.ts
βΒ Β βΒ Β βββ tslint.ts
βΒ Β βΒ Β βββ watch.dev.ts
βΒ Β βΒ Β βββ watch.e2e.ts
βΒ Β βΒ Β βββ watch.test.ts
βΒ Β βΒ Β βββ webdriver.ts
βΒ Β βββ utils <- build utils
βΒ Β βΒ Β βββ project <- project specific gulp utils
βΒ Β βΒ Β βΒ Β βββ sample_util.ts
βΒ Β βΒ Β βββ project.utils.ts
βΒ Β βΒ Β βββ seed <- seed specific gulp utils
βΒ Β βΒ Β βΒ Β βββ clean.ts
βΒ Β βΒ Β βΒ Β βββ code_change_tools.ts
βΒ Β βΒ Β βΒ Β βββ server.ts
βΒ Β βΒ Β βΒ Β βββ tasks_tools.ts
βΒ Β βΒ Β βΒ Β βββ template_locals.ts
βΒ Β βΒ Β βΒ Β βββ tsproject.ts
βΒ Β βΒ Β βΒ Β βββ watch.ts
βΒ Β βΒ Β βββ seed.utils.ts
βΒ Β βββ utils.ts
βββ tsconfig.json <- configuration of the typescript project (ts-node, which runs the tasks defined in gulpfile.ts)
βββ tslint.json <- tslint configuration
βββ typings <- typings directory. Contains all the external typing definitions defined with typings
βββ typings.json
βββ appveyor.yml