Upgrade dependencies to be nodejs 6.11 & npm5 compatible

Closes #43, #41, #40, and #47
This commit is contained in:
turt2live 2017-06-25 21:57:13 -06:00
parent 873bb95819
commit e0f9d3a624
6 changed files with 5254 additions and 2346 deletions

7574
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -12,21 +12,26 @@
"type": "git", "type": "git",
"url": "git+https://github.com/turt2live/matrix-dimension.git" "url": "git+https://github.com/turt2live/matrix-dimension.git"
}, },
"greenkeeper": {
"ignore": [
"@types/node"
]
},
"author": "Travis Ralston", "author": "Travis Ralston",
"dependencies": { "dependencies": {
"body-parser": "^1.17.2", "body-parser": "^1.17.2",
"chalk": "^1.1.3", "chalk": "^1.1.3",
"config": "^1.25.1", "config": "^1.26.1",
"db-migrate": "^0.10.0-beta.20", "db-migrate": "^0.10.0-beta.20",
"db-migrate-sqlite3": "^0.2.1", "db-migrate-sqlite3": "^0.2.1",
"express": "^4.15.2", "express": "^4.15.3",
"js-yaml": "^3.8.2", "js-yaml": "^3.8.4",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"matrix-js-sdk": "^0.7.10", "matrix-js-sdk": "^0.7.13",
"moment": "^2.18.1", "moment": "^2.18.1",
"random-string": "^0.2.0", "random-string": "^0.2.0",
"request": "^2.81.0", "request": "^2.81.0",
"sequelize": "^4.0.0", "sequelize": "^4.2.0",
"sqlite3": "^3.1.8", "sqlite3": "^3.1.8",
"winston": "^2.3.1" "winston": "^2.3.1"
}, },
@ -43,12 +48,11 @@
"@angularclass/hmr": "^1.2.2", "@angularclass/hmr": "^1.2.2",
"@angularclass/hmr-loader": "^3.0.2", "@angularclass/hmr-loader": "^3.0.2",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.26", "@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.26",
"@types/node": "^8.0.2", "@types/node": "^6.11.0",
"angular2-modal": "^2.0.3", "angular2-modal": "^2.0.3",
"angular2-template-loader": "^0.6.2", "angular2-template-loader": "^0.6.2",
"angular2-toaster": "^4.0.0", "angular2-toaster": "^4.0.0",
"angular2-ui-switch": "^1.2.0", "angular2-ui-switch": "^1.2.0",
"autoprefixer": "^7.1.1",
"awesome-typescript-loader": "^3.1.2", "awesome-typescript-loader": "^3.1.2",
"codelyzer": "^3.0.1", "codelyzer": "^3.0.1",
"copy-webpack-plugin": "^4.0.1", "copy-webpack-plugin": "^4.0.1",
@ -79,6 +83,7 @@
"typescript": "^2.3.4", "typescript": "^2.3.4",
"url-loader": "^0.5.8", "url-loader": "^0.5.8",
"webpack": "^3.0.0", "webpack": "^3.0.0",
"webpack-dev-server": "^2.5.0",
"zone.js": "^0.8.12" "zone.js": "^0.8.12"
} }
} }

View file

@ -2,7 +2,7 @@ module.exports = {
parser: 'postcss-scss', parser: 'postcss-scss',
plugins: { plugins: {
'postcss-import': {}, 'postcss-import': {},
'postcss-cssnext': {browsers: ['last 2 version']}, 'postcss-cssnext': {browsers: ['last 2 version'], warnForDuplicates: false},
'cssnano': {zindex: false} 'cssnano': {zindex: false}
} }
}; };

View file

@ -1,7 +1,6 @@
import { enableProdMode } from "@angular/core"; import { enableProdMode } from "@angular/core";
import { platformBrowserDynamic } from "@angular/platform-browser-dynamic"; import { platformBrowserDynamic } from "@angular/platform-browser-dynamic";
import { AppModule } from "./app/app.module"; import { AppModule } from "./app/app.module";
//noinspection TypeScriptCheckImport
// depending on the env mode, enable prod mode or add debugging modules // depending on the env mode, enable prod mode or add debugging modules
//noinspection TypeScriptUnresolvedVariable //noinspection TypeScriptUnresolvedVariable

View file

@ -1,7 +1,6 @@
import "core-js/client/shim"; import "core-js/client/shim";
import "reflect-metadata"; import "reflect-metadata";
import "ts-helpers"; import "ts-helpers";
//noinspection TypeScriptUnresolvedFunction
require('zone.js/dist/zone'); require('zone.js/dist/zone');
//noinspection TypeScriptUnresolvedVariable //noinspection TypeScriptUnresolvedVariable

View file

@ -2,7 +2,6 @@ var path = require("path");
var webpack = require("webpack"); var webpack = require("webpack");
var CommonsChunkPlugin = webpack.optimize.CommonsChunkPlugin; var CommonsChunkPlugin = webpack.optimize.CommonsChunkPlugin;
var autoprefixer = require('autoprefixer');
var HtmlWebpackPlugin = require('html-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin'); var ExtractTextPlugin = require('extract-text-webpack-plugin');
var CopyWebpackPlugin = require('copy-webpack-plugin'); var CopyWebpackPlugin = require('copy-webpack-plugin');
@ -122,7 +121,7 @@ module.exports = function () {
config.devServer = { config.devServer = {
contentBase: './web/public', contentBase: './web/public',
historyApiFallback: true, historyApiFallback: true,
quiet: false, quiet: true,
stats: 'minimal', stats: 'minimal',
proxy: { proxy: {
'/api': { '/api': {