Commit 0fae3d5a authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Upgrade all lib versions

parent f2185693
Pipeline #3626 failed with stages
in 1 minute and 30 seconds
{
"presets": [
["latest", {"modules": false}]
["@babel/preset-env", {
"targets": {
"browsers": [
"last 2 chrome versions",
"last 2 firefox versions",
"safari >= 11"
]
},
"modules": false
}]
],
"plugins": [
"transform-runtime"
"@babel/plugin-transform-runtime",
"@babel/plugin-proposal-object-rest-spread"
]
}
\ No newline at end of file
This diff is collapsed.
......@@ -21,46 +21,52 @@
"main": "src/main.js",
"dependencies": {
"axios": "^0.16.1",
"d3": "^4.11.0",
"d3": "^4.13.0",
"deep-freeze-strict": "^1.1.1",
"jquery": "^3.2.1",
"tippy.js": "^2.0.5",
"uuid": "^3.1.0",
"vue": "^2.5.2",
"vue-template-compiler": "^2.5.2",
"vue-async-computed": "^3.3.1",
"vuex": "^2.5.0",
"jquery": "^3.3.1",
"tippy.js": "^2.2.2",
"uuid": "^3.2.1",
"object-path": "^0.11.4",
"html2canvas": "^1.0.0-alpha.9"
},
"devDependencies": {
"babel-core": "7.0.0-alpha.3",
"babel-loader": "^7.1.2",
"babel-plugin-transform-runtime": "7.0.0-alpha.9",
"babel-preset-latest": "7.0.0-alpha.3",
"css-loader": "^0.27.3",
"eslint": "^3.17.1",
"eslint-config-standard": "^7.0.1",
"eslint-plugin-html": "^2.0.1",
"html2canvas": "^1.0.0-alpha.9",
"resize-observer-polyfill": "^1.5.0",
"vue": "^2.5.13",
"vuex": "^3.0.1",
"vue-template-compiler": "^2.5.13",
"vue-async-computed": "^3.3.1",
"@babel/core": "^7.0.0-beta.40",
"@babel/runtime": "^7.0.0-beta.40",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.40",
"@babel/plugin-transform-runtime": "^7.0.0-beta.40",
"@babel/preset-env": "^7.0.0-beta.40",
"babel-loader": "^8.0.0-beta.0",
"css-loader": "^0.28.9",
"file-loader": "^1.1.6",
"sass-loader": "^6.0.6",
"style-loader": "^0.20.2",
"url-loader": "^0.6.2",
"vue-loader": "^14.1.1",
"vue-style-loader": "^4.0.2",
"eslint": "^4.17.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-html": "^4.0.2",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^2.1.1",
"file-loader": "^0.11.1",
"jasmine-core": "^2.8.0",
"eslint-plugin-standard": "^3.0.1",
"jsdoc": "^3.5.5",
"puppeteer": "^0.12.0",
"devbridge-autocomplete": "^1.4.3",
"karma": "^1.7.1",
"puppeteer": "^1.1.0",
"devbridge-autocomplete": "^1.4.7",
"jasmine-core": "^2.99.1",
"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-jasmine": "^1.1.0",
"karma-jasmine": "^1.1.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.5",
"node-sass": "^4.5.2",
"sass-loader": "^6.0.6",
"style-loader": "^0.17.0",
"url-loader": "^0.5.8",
"vue-loader": "^12.2.2",
"webpack": "^2.7.0",
"webpack-dev-server": "^2.9.2",
"yargs": "^7.0.2"
"karma-webpack": "^2.0.9",
"webpack": "^3.11.0",
"webpack-dev-server": "^2.11.1",
"uglifyjs-webpack-plugin": "^1.1.8",
"yargs": "^11.0.0",
"node-sass": "^4.7.2",
"uglify-js": "git+https://github.com/mishoo/UglifyJS2.git#harmony"
}
}
const webpack = require('webpack')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const path = require('path')
const env = require('yargs').argv.env
const VERSION = require('./package.json').version
......@@ -11,7 +12,8 @@ let filename = ''
const library = 'fractal'
if (env === 'production') {
plugins.push(new webpack.optimize.UglifyJsPlugin({minimize: true}))
plugins.push(new UglifyJsPlugin())
plugins.push(new webpack.optimize.ModuleConcatenationPlugin())
plugins.push(new webpack.DefinePlugin({'process.env': {NODE_ENV: '"production"'}}))
filename = `${library}-${VERSION}.min.js`
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment