Merge branch 'development' into develop/ng2-smart-table-int

This commit is contained in:
nixa 2016-08-22 19:48:46 +03:00
commit 5bc3448a3c
15 changed files with 11 additions and 52 deletions

View file

@ -1,3 +0,0 @@
{
"directory": "node_modules"
}

View file

@ -17,7 +17,6 @@ install:
- npm install -g npm@3
- npm install -g webpack
- npm install -g typescript
- npm install -g bower
- npm install

View file

@ -4,8 +4,7 @@ RUN git clone https://github.com/akveo/ng2-admin.git /var/www \
&& cd /var/www \
&& npm install --global rimraf \
&& npm run clean \
&& npm install --global bower typings webpack webpack-dev-server typescript \
&& bower install --allow-root \
&& npm install --global webpack webpack-dev-server typescript@beta \
&& npm install \
&& npm run prebuild:prod && npm run build:prod

View file

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2016 AngularClass LLC
Copyright (c) 2016 akveo.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View file

@ -1,21 +0,0 @@
{
"name": "ng2-admin",
"version": "0.4.2",
"description": "Angular 2 and Bootstrap 4 Admin Template.",
"author": "akveo",
"homepage": "http://akveo.github.io/ng2-admin/",
"license": "MIT",
"moduleType": [
"es6"
],
"private": true,
"ignore": [
"**/.*",
"node_modules",
"test",
"tests"
],
"dependencies": {
"Ionicons": "ionicons#~2.0.1"
}
}

View file

@ -211,10 +211,6 @@ module.exports = {
allChunks: true
}),
new webpack.ResolverPlugin(
new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin('bower.json', ['main'])
),
/*
* Plugin: ForkCheckerPlugin
* Description: Do type checking in a separate process, so webpack don't need to wait.

View file

@ -34,11 +34,6 @@ npm install --global webpack-dev-server
npm install --global typescript@beta
```
* bower
```
npm install --global bower
```
## Clone repository and install dependencies
You will need to clone the source code of ng2-admin GitHub repository:
@ -52,9 +47,6 @@ npm install
```
This will setup a working copy of ng2-admin on your local machine.
**Note**: If you have any issues after the installation, additionally run the following:
```bash
bower install
```
## Running local copy

View file

@ -53,9 +53,6 @@ ng2-admin/
├──tslint.json * typescript lint config
├──typedoc.json * typescript documentation generator
├──tsconfig.json * config that webpack uses for typescript
├──typings.json * our typings manager
├──package.json * what npm uses to manage it's dependencies
├──bower.json * DEPRECATED - moving to npm as primary package manager for all dependenties
└──.bowerrc * DEPRECARD - temporary bower configuration
└──package.json * what npm uses to manage it's dependencies
```
In our template we tried to separate theme layer and presentation layer. We believe most of other templates have them combined. That's why when you start developing using them, it gets very hard for you to remove things you don't need.

View file

@ -32,6 +32,7 @@
"google-maps": "^3.2.1",
"http-server": "^0.9.0",
"ie-shim": "^0.1.0",
"ionicons": "^2.0.1",
"jquery": "^2.2.3",
"jquery-slimscroll": "^1.3.6",
"leaflet": "^0.7.7",
@ -130,7 +131,6 @@
"gh-pages": "wintersmith build -C docs && gh-pages -d docs/build",
"start": "npm run server:dev",
"start:hmr": "npm run server:dev:hmr",
"postinstall": "bower install",
"version": "npm run build",
"postversion": "git push && git push --tags"
},

View file

@ -3,7 +3,7 @@
<ul class="breadcrumb al-breadcrumb">
<li>
<a href="#/pages/dashboard">Home</a></li>
<a routerLink="/pages/dashboard">Home</a></li>
<li>{{ activePageTitle }}</li>
</ul>
</div>

View file

@ -8,7 +8,7 @@ $angle-right: "\f101";
width: $sidebar-width;
top: $top-height;
left: 0;
z-index: 904;
z-index: 1001;
display: block;
min-height: 100%;
background-color: $sidebar;

View file

@ -1,3 +1,3 @@
$ionicons-font-path: "~Ionicons/fonts";
$ionicons-font-path: "~ionicons/fonts";
@import "~Ionicons/scss/ionicons";
@import "~ionicons/scss/ionicons";

View file

@ -31,7 +31,7 @@
left: 0;
width: 100%;
height: 100%;
z-index: 1000;
z-index: 1003;
background: #000000;
& > div {
display: block;

View file

@ -38,7 +38,7 @@ export function main(initialHmrState?: any): Promise<any> {
* Vendors
* For vendors for example jQuery, Lodash, angular2-jwt just import them anywhere in your app
* You can also import them in vendors to ensure that they are bundled in one file
* Also see custom-typings.d.ts as you also need to do `typings install x` where `x` is your module
* Also see custom-typings.d.ts as you also need to do `npm install @types/x` where `x` is your module
*/

View file

@ -1,7 +1,7 @@
// For vendors for example jQuery, Lodash, angular2-jwt just import them here unless you plan on
// chunking vendors files for async loading. You would need to import the async loaded vendors
// at the entry point of the async loaded file. Also see custom-typings.d.ts as you also need to
// run `typings install x` where `x` is your module
// run `npm install @types/x` where `x` is your module
// Angular 2
import '@angular/platform-browser';