Skip to content

Commit

Permalink
Merge pull request #744 from buttercup/deps-update
Browse files Browse the repository at this point in the history
User Interface updates
  • Loading branch information
sallar committed Feb 10, 2019
2 parents 8ce9c28 + 8c40a31 commit bf57402
Show file tree
Hide file tree
Showing 68 changed files with 7,358 additions and 10,395 deletions.
1 change: 0 additions & 1 deletion .babelrc
@@ -1,7 +1,6 @@
{
"presets": [
"@babel/preset-react",
"@babel/preset-flow",
[
"@babel/preset-env",
{
Expand Down
8 changes: 1 addition & 7 deletions .eslintrc
@@ -1,8 +1,7 @@
{
"parser": "babel-eslint",
"plugins": [
"jsx-control-statements",
"flowtype"
"jsx-control-statements"
],
"extends": [
"standard",
Expand Down Expand Up @@ -38,10 +37,5 @@
"comma-dangle": "off",
"jsx-control-statements/jsx-use-if-tag": 0,
"jsx-control-statements/jsx-jcs-no-undef": "off"
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
}
}
2 changes: 0 additions & 2 deletions .vscode/settings.json
@@ -1,5 +1,3 @@
{
"flow.pathToFlow": "${workspaceRoot}/node_modules/.bin/flow",
"flow.useLSP": true,
"eslint.enable": true
}
21 changes: 21 additions & 0 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/package.json
Expand Up @@ -9,6 +9,7 @@
"author": "Buttercup <info@buttercup.pw>",
"dependencies": {
"@buttercup/exporter": "~0.1.0",
"@buttercup/iconographer": "~1.1.1",
"@buttercup/importer": "~0.14.1",
"buttercup": "~2.7.0",
"conf": "~1.0.0",
Expand Down
9 changes: 8 additions & 1 deletion config/webpack.config.base.js
Expand Up @@ -40,5 +40,12 @@ module.exports = {
}
},
plugins: [new NormalModuleReplacementPlugin(/\/iconv-loader/, 'node-noop')],
externals: ['@buttercup/importer', 'zxcvbn', 'dropbox', 'webdav', 'conf']
externals: [
'@buttercup/importer',
'@buttercup/iconographer',
'zxcvbn',
'dropbox',
'webdav',
'conf'
]
};
18 changes: 0 additions & 18 deletions config/webpack.config.development.js
Expand Up @@ -31,24 +31,6 @@ module.exports = merge(baseConfig, {
publicPath: 'http://localhost:3000/app/'
},

module: {
rules: [
{
test: /\.global\.scss$/,
use: ['style-loader', 'css-loader?sourceMap', 'sass-loader']
},

{
test: /^((?!\.global).)*\.scss$/,
use: [
'style-loader',
'css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]',
'sass-loader'
]
}
]
},

plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
Expand Down
38 changes: 0 additions & 38 deletions config/webpack.config.production.js
Expand Up @@ -22,44 +22,6 @@ module.exports = merge(baseConfig, {
publicPath: '../dist/'
},

module: {
rules: [
{
test: /\.global\.scss$/,
use: [
{
loader: MiniCssExtractPlugin.loader
},
{
loader: 'css-loader',
options: {
minimize: true
}
},
'sass-loader'
]
},
{
test: /^((?!\.global).)*\.scss$/,
use: [
{
loader: MiniCssExtractPlugin.loader
},
{
loader: 'css-loader',
options: {
modules: true,
importLoaders: true,
localIdentName: '[name]__[local]___[hash:base64:5]',
minimize: true
}
},
'sass-loader'
]
}
]
},

node: {
__dirname: false
},
Expand Down

0 comments on commit bf57402

Please sign in to comment.