Skip to content

Commit

Permalink
feat: bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdor committed Apr 2, 2021
1 parent 567c5b5 commit 2faa558
Show file tree
Hide file tree
Showing 11 changed files with 41,154 additions and 25,026 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ $RECYCLE.BIN/
*.msix
*.msm
*.msp
dist/
10 changes: 1 addition & 9 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss",
"stylelint-config-sass-guidelines",
"stylelint-config-prettier"
],
"rules": {
"max-nesting-depth": 3
}
"extends": ["stylelint-config-standard", "stylelint-config-prettier"]
}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

49 changes: 24 additions & 25 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Kyssmybutton | MotorCortex Plugin</title>
<style type="text/css">
html, body {
font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
font-size: 14px;
width: 100%;
height: 100%;
margin: 0;
background-color: #282828;
}
section {
height: 100%;
width: 100%;
position: absolute;
}
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Kyssmybutton | MotorCortex Plugin</title>
<style type="text/css">
html,
body {
font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
font-size: 14px;
width: 100%;
height: 100%;
margin: 0;
background-color: #282828;
}
section {
height: 100%;
width: 100%;
position: absolute;
}
#clip {
background-color: #bfbfbf;
width: 90%;
height: 90%;
margin:auto;
margin-top:2%;
margin: auto;
margin-top: 2%;
}
</style>
</style>
</head>
<body>
<section>
<div id="clip"></div>
</section>
<script src="./bundle.js"></script>
</body>

</html>
</html>
30 changes: 13 additions & 17 deletions demo/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ module.exports = {

resolve: {
extensions: [".js"],
modules: [path.resolve("./"), "node_modules"]
modules: [path.resolve("./"), "node_modules"],
},
output: {
filename: "bundle.js",
// the output bundle

path: path.resolve(__dirname, "./" /*"./dist"*/)
path: path.resolve(__dirname, "./" /*"./dist"*/),
},

devtool: "cheap-module-eval-source-map",
Expand All @@ -25,37 +25,33 @@ module.exports = {
{
test: /\.js?$/,
use: ["babel-loader"],
exclude: /node_modules/
exclude: /node_modules/,
},
{
test: /\.css$/,
use: ["style-loader", "css-loader"]
use: ["style-loader", "css-loader"],
},
{
test: /\.scss$/,
use: [
{
loader: "style-loader",
options: { sourceMap: true } // creates style nodes from JS strings
options: { sourceMap: true }, // creates style nodes from JS strings
},
{
loader: "css-loader",
options: { sourceMap: true } // translates CSS into CommonJS
options: { sourceMap: true }, // translates CSS into CommonJS
},
{
loader: "sass-loader",
options: { sourceMap: true } // compiles Sass to CSS
}
]
}
]
],
},
],
},

plugins: [
new webpack.ProvidePlugin({
Promise: "es6-promise",
fetch:
"imports-loader?this=>global!exports-loader?global.fetch!whatwg-fetch"
"imports-loader?this=>global!exports-loader?global.fetch!whatwg-fetch",
}),

new webpack.HotModuleReplacementPlugin(),
Expand All @@ -64,7 +60,7 @@ module.exports = {
new webpack.NamedModulesPlugin(),
// prints more readable module names in the browser console on HMR updates

new webpack.NoEmitOnErrorsPlugin()
new webpack.NoEmitOnErrorsPlugin(),
// do not emit compiled assets that include errors
],

Expand All @@ -74,9 +70,9 @@ module.exports = {
port: 8080,
historyApiFallback: false,
hot: false,
contentBase: "./demo"
contentBase: "./demo",
},
node: {
fs: "empty",
}
},
};
Loading

0 comments on commit 2faa558

Please sign in to comment.