@@ -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
@@ -1363,9 +1363,9 @@
"integrity": "sha512-FwI9gX75FgVBJ7ywgnq/P7tw+/o1GUbtP0KzbtusLigAOgIgNISRK0ZPl4qertvXSIE8YbsVJueQ90cDt9YYyw=="
},
"@types/node": {
- "version": "12.7.4",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-12.7.4.tgz",
- "integrity": "sha512-W0+n1Y+gK/8G2P/piTkBBN38Qc5Q1ZSO6B5H3QmPCUewaiXOo2GCAWZ4ElZCcNhjJuBSUSLGFUJnmlCn5+nxOQ=="
+ "version": "12.7.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-12.7.5.tgz",
+ "integrity": "sha512-9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYDd5p3w=="
"@types/node-fetch": {
"version": "2.5.0",
@@ -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",
@@ -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' })