diff --git a/app/package.json b/app/package.json index b67aa11..5e7e64a 100644 --- a/app/package.json +++ b/app/package.json @@ -10,6 +10,9 @@ "test": "cross-env TS_NODE_PROJECT=test/tsconfig.json yarn mochatest", "mochatest": "mocha --require ts-node/register src/**/*.spec.ts" }, + "engines": { + "npm": "16" + }, "author": "", "license": "CC-BY-ND-4.0", "dependencies": { @@ -89,4 +92,4 @@ "peerDependencies": { "electron": "^17" } -} +} \ No newline at end of file diff --git a/app/webpack.config.js b/app/webpack.config.js index 828e540..09ccca7 100644 --- a/app/webpack.config.js +++ b/app/webpack.config.js @@ -17,12 +17,11 @@ module.exports = { splitChunks: { chunks: 'all', minSize: 30000, - maxSize: 0, minChunks: 1, maxAsyncRequests: 5, maxInitialRequests: 3, automaticNameDelimiter: '~', - name: true, + // name: true, cacheGroups: { vendors: { test: /[\\/]node_modules[\\/](react|react-dom|@material-ui|popper\.js|react|react-redux|prop-types|jss|redux|scheduler|react-transition-group)[\\/]/, @@ -48,7 +47,6 @@ module.exports = { resolve: { // Add '.ts' and '.tsx' as resolvable extensions. extensions: ['.ts', '.mjs', '.m.js', '.tsx', '.js', '.json', '.node'], - // alias: { url: false } }, module: { rules: [ @@ -56,15 +54,9 @@ module.exports = { { test: /\.tsx?$/, loader: 'ts-loader', - // options: { - // reportFiles: [ - // "src/**/*.{ts,tsx}", - // "../backend/src/**/*.{ts,tsx}" - // ] - // } }, // All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'. - // { enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' }, + { enforce: 'pre', test: /\.js$/, loader: 'source-map-loader' }, { test: /\.css$/, use: ['style-loader', 'css-loader'], diff --git a/backend/package.json b/backend/package.json index 7a60fd2..3dbb785 100644 --- a/backend/package.json +++ b/backend/package.json @@ -11,6 +11,9 @@ "debug": "ts-node --inspect ./src/index.ts", "postinstall": "yarn build" }, + "engines": { + "npm": "16" + }, "author": "", "license": "CC-BY-ND-4.0", "nyc": { @@ -41,4 +44,4 @@ "lowdb": "^1.0.0", "mqtt": "^3.0.0" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index d46a9e7..ee042a0 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.4.0-beta1", "description": "Explore your message queues", "main": "dist/src/electron.js", + "engines": { + "npm": "16" + }, "scripts": { "start": "electron .", "test": "yarn test:app && yarn test:backend", @@ -113,4 +116,4 @@ "sha1": "^1.1.1", "yarn-run-all": "^3.1.1" } -} +} \ No newline at end of file