paraviewweb
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "paraviewweb", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Web framework for building interactive visualization relying on VTK or ParaView to produce visualization data", | ||
@@ -97,3 +97,3 @@ "repository": { | ||
"build": "webpack --progress --colors", | ||
"build:release": "npm run build -- -p", | ||
"build:release": "export NODE_ENV=production && npm run build -- -p", | ||
"test": "karma start ./config/karma.conf.js", | ||
@@ -100,0 +100,0 @@ "test:travis": "karma start ./config/karma.conf.js --browsers PhantomJS --single-run", |
var path = require('path'), | ||
loaders = require('./config/webpack.loaders.js'); | ||
webpack = require('webpack'), | ||
loaders = require('./config/webpack.loaders.js'), | ||
plugins = []; | ||
if(process.env.NODE_ENV === 'production') { | ||
console.log('==> Production build'); | ||
plugins.push(new webpack.DefinePlugin({ | ||
"process.env": { | ||
NODE_ENV: JSON.stringify("production"), | ||
}, | ||
})); | ||
} | ||
module.exports = { | ||
plugins: [], | ||
plugins: plugins, | ||
entry: './src/index.js', | ||
@@ -7,0 +18,0 @@ output: { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2845329
24445
9