diff --git a/README.md b/README.md index 806e8198dc863689658d63f2274934dc4869fcab..19d5f10862e622da6c4933a600e991d68fbe4c0d 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ To get syntax highlighting for shader and graphql files add the following to Vis ## Deploy npm run test - NODE_ENV=production npm run build + npm run build node ./scripts/deploy.js # currently updates the viewer on molstar.org/viewer ## Contributing diff --git a/package-lock.json b/package-lock.json index 442fec1d1cafa6cd1f23b2ecbea4055bfdb667a8..ecebfa77f691eda777e7fe3992f1bfba53f4e76e 100644 Binary files a/package-lock.json and b/package-lock.json differ diff --git a/package.json b/package.json index ab1a1acae0c151f6a4eecf4090ba27881734a65b..93f8d7f390caf1abfd428b2077bf5c8642c16336 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "@types/compression": "1.0.1", "@types/express": "^4.17.1", "@types/jest": "^24.0.18", - "@types/node": "^12.7.4", + "@types/node": "^12.7.5", "@types/node-fetch": "^2.5.0", "@types/react": "^16.9.2", "@types/react-dom": "^16.9.0", diff --git a/webpack.config.js b/webpack.config.js index 0cc3d3c27df1c8aece105aa86378da1e21620973..4f550c22f1c2e62ec944da28023187cc7dd6d532 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -37,7 +37,6 @@ const sharedConfig = { }), new webpack.DefinePlugin({ __PLUGIN_VERSION_TIMESTAMP__: webpack.DefinePlugin.runtimeValue(() => `${new Date().valueOf()}`, true), - 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV), 'process.env.DEBUG': JSON.stringify(process.env.DEBUG) }), new MiniCssExtractPlugin({ filename: 'app.css' })