Remove typings and update dependencies
This commit is contained in:
parent
b9db907abf
commit
5005e7d5ad
@ -6,7 +6,7 @@ php:
|
||||
before_script:
|
||||
- nvm install 4
|
||||
- nvm use 4
|
||||
- npm i -g gulp typings
|
||||
- npm i -g gulp
|
||||
- npm i
|
||||
- touch tests.db
|
||||
- chmod a+w tests.db
|
||||
|
@ -6,7 +6,7 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test": "gulp test-api && gulp test-app",
|
||||
"postinstall": "gulp composer && typings i"
|
||||
"postinstall": "gulp composer"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -35,6 +35,8 @@
|
||||
"@angular/platform-browser": "2.0.0",
|
||||
"@angular/platform-browser-dynamic": "2.0.0",
|
||||
"@angular/router": "3.0.0",
|
||||
"@types/chartist": "^0.9.33",
|
||||
"@types/core-js": "^0.9.34",
|
||||
"bourbon": "^4.2.7",
|
||||
"bourbon-neat": "^1.8.0",
|
||||
"chai": "^3.5.0",
|
||||
@ -66,11 +68,10 @@
|
||||
"reflect-metadata": "^0.1.8",
|
||||
"rxjs": "5.0.0-beta.12",
|
||||
"scss-base": "^1.1.6",
|
||||
"systemjs": "0.19.38",
|
||||
"systemjs-builder": "0.15.31",
|
||||
"systemjs": "0.19.39",
|
||||
"systemjs-builder": "0.15.32",
|
||||
"touch": "^1.0.0",
|
||||
"typescript": "^2.0.3",
|
||||
"typings": "^1.4.0",
|
||||
"zone.js": "^0.6.23"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Component, Input, AfterViewInit } from '@angular/core';
|
||||
import * as Chartist from 'chartist';
|
||||
|
||||
@Component({
|
||||
selector: 'tb-charts',
|
||||
@ -67,11 +68,11 @@ export class Charts implements AfterViewInit {
|
||||
},
|
||||
low: 0,
|
||||
height: '300px',
|
||||
plugins: [ Chartist.plugins.tooltip({
|
||||
transformTooltipTextFnc: (value) => {
|
||||
return value + ' points remaining'
|
||||
}
|
||||
}) ]
|
||||
// plugins: [ Chartist.plugins.tooltip({
|
||||
// transformTooltipTextFnc: (value) => {
|
||||
// return value + ' points remaining'
|
||||
// }
|
||||
// }) ]
|
||||
};
|
||||
|
||||
new Chartist.Line('#' + this.chartName, data, options);
|
||||
|
@ -1,10 +1,14 @@
|
||||
(function(global) {
|
||||
var map = {
|
||||
'app': 'build',
|
||||
|
||||
'dragula': 'node_modules/dragula/dist/dragula.js',
|
||||
'ng2-dragula': 'node_modules/ng2-dragula',
|
||||
|
||||
'rxjs': 'node_modules/rxjs',
|
||||
'@angular': 'node_modules/@angular'
|
||||
'@angular': 'node_modules/@angular',
|
||||
|
||||
'chartist': 'node_modules/chartist/dist/chartist.js'
|
||||
};
|
||||
|
||||
var packages = {
|
||||
|
@ -6,6 +6,10 @@
|
||||
"sourceMap": false,
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"removeComments": true
|
||||
"removeComments": true,
|
||||
"noImplicitAny": false,
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
"typeRoots": [ "node_modules/@types" ],
|
||||
"types": [ "chartist", "core-js" ]
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"globalDependencies": {
|
||||
"chartist": "registry:dt/chartist#0.9.5+20160619034222",
|
||||
"core-js": "registry:dt/core-js#0.0.0+20160914114559"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user