bump dependencies and update webpack config

master
Atul R 5 years ago
parent 817ad4209d
commit 4179c58c99
  1. 2312
      package-lock.json
  2. 30
      package.json
  3. 21
      webpack.config.js

2312
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -11,26 +11,26 @@
"start": "qode --inspect ./dist/index.js"
},
"dependencies": {
"@nodegui/nodegui": "^0.13.1",
"@nodegui/react-nodegui": "^0.4.0",
"open": "^7.0.0",
"react": "^16.12.0"
"@nodegui/nodegui": "^0.15.2",
"@nodegui/react-nodegui": "^0.5.0",
"open": "^7.0.2",
"react": "^16.13.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.7",
"@types/node": "^12.12.22",
"@types/react": "^16.9.17",
"@types/webpack-env": "^1.14.1",
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@types/node": "^12.12.29",
"@types/react": "^16.9.23",
"@types/webpack-env": "^1.15.1",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"file-loader": "^5.0.2",
"file-loader": "^5.1.0",
"fork-ts-checker-webpack-plugin": "^3.1.1",
"native-addon-loader": "^2.0.1",
"typescript": "^3.7.4",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10"
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
}
}

@ -12,10 +12,6 @@ module.exports = (env, argv) => {
path: path.resolve(__dirname, "dist"),
filename: "index.js"
},
node: {
__dirname: true,
__filename: true
},
module: {
rules: [
{
@ -28,27 +24,25 @@ module.exports = (env, argv) => {
},
{
test: /\.(png|jpe?g|gif|svg|bmp|otf)$/i,
use: [{
use: [
{
loader: "file-loader",
options: {
publicPath: "dist"
options: { publicPath: "dist" }
}
}]
]
},
{
test: /\.node/i,
use: [
{
loader: "native-addon-loader",
options: {
name: "[name]-[hash].[ext]"
}
options: { name: "[name]-[hash].[ext]" }
}
]
}
]
},
plugins: [],
plugins: [new CleanWebpackPlugin()],
resolve: {
extensions: [".tsx", ".ts", ".js", ".jsx", ".json"]
}
@ -63,8 +57,5 @@ module.exports = (env, argv) => {
config.entry.unshift("webpack/hot/poll?100");
}
if (argv.p) {
config.plugins.push(new CleanWebpackPlugin());
}
return config;
};

Loading…
Cancel
Save