First steps in integration of IVIS.

This commit is contained in:
Tomas Bures 2018-12-25 20:13:32 +01:00
parent bf626993f4
commit dce5ba7464
35 changed files with 10098 additions and 91 deletions

2
mvis/client/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/dist
/node_modules

7961
mvis/client/package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

33
mvis/client/package.json Normal file
View file

@ -0,0 +1,33 @@
{
"name": "mailtrain-ivis-client",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "node ../ivis-core/client/pre-build.js && webpack",
"watch": "node ../ivis-core/client/pre-build.js && webpack --watch"
},
"author": "Tomas Bures",
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6",
"babel-loader": "^7.1.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-function-bind": "^6.22.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"css-loader": "^0.28.5",
"file-loader": "^0.11.2",
"i18next-conv": "^3.0.3",
"imports-loader": "^0.7.1",
"node-sass": "^4.5.3",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"url-loader": "^1.1.2",
"webpack": "^3.5.5"
},
"optionalDependencies": {},
"dependencies": {}
}

View file

@ -0,0 +1,9 @@
'use strict';
import em from '../../ivis-core/client/src/lib/extension-manager';
import './styles.scss';
em.set('app.title', 'Mailtrain IVIS');
require('../../ivis-core/client/src/root-trusted');

View file

@ -0,0 +1,3 @@
:global .navbar-custom .navbar-header .navbar-brand {
width: 200px;
}

View file

@ -0,0 +1,16 @@
const webpack = require('webpack');
const path = require('path');
const webpackConf = require('../ivis-core/client/webpack.config');
webpackConf.resolve.modules = ['node_modules', '../ivis-core/client/node_modules', './src/bimlib'];
webpackConf.entry = {
'index-trusted': ['babel-polyfill', './src/root-trusted.js'],
'index-sandbox': ['babel-polyfill', '../ivis-core/client/src/root-sandbox.js']
};
webpackConf.output = {
filename: '[name].js',
path: path.resolve(__dirname, 'dist')
};
module.exports = webpackConf;