mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-31 02:58:07 +08:00
Update package.json dependencies
This commit is contained in:
parent
f9df374fa7
commit
77fb74bc4a
16 changed files with 628 additions and 623 deletions
|
@ -305,27 +305,27 @@ class AbstractApp extends AbstractBoot
|
|||
|
||||
const mobile = Settings.appSettingsGet('mobile');
|
||||
|
||||
ko.components.register('SaveTrigger', require('Component/SaveTrigger'));
|
||||
ko.components.register('Input', require('Component/Input'));
|
||||
ko.components.register('Select', require('Component/Select'));
|
||||
ko.components.register('Radio', require('Component/Radio'));
|
||||
ko.components.register('TextArea', require('Component/TextArea'));
|
||||
ko.components.register('Date', require('Component/Date'));
|
||||
ko.components.register('SaveTrigger', require('Component/SaveTrigger').default);
|
||||
ko.components.register('Input', require('Component/Input').default);
|
||||
ko.components.register('Select', require('Component/Select').default);
|
||||
ko.components.register('Radio', require('Component/Radio').default);
|
||||
ko.components.register('TextArea', require('Component/TextArea').default);
|
||||
ko.components.register('Date', require('Component/Date').default);
|
||||
|
||||
ko.components.register('x-script', require('Component/Script'));
|
||||
// ko.components.register('svg-icon', require('Component/SvgIcon'));
|
||||
ko.components.register('x-script', require('Component/Script').default);
|
||||
// ko.components.register('svg-icon', require('Component/SvgIcon').default);
|
||||
|
||||
if (Settings.appSettingsGet('materialDesign') && bAnimationSupported)
|
||||
{
|
||||
ko.components.register('Checkbox', require('Component/MaterialDesign/Checkbox'));
|
||||
ko.components.register('CheckboxSimple', require('Component/Checkbox'));
|
||||
ko.components.register('Checkbox', require('Component/MaterialDesign/Checkbox').default);
|
||||
ko.components.register('CheckboxSimple', require('Component/Checkbox').default);
|
||||
}
|
||||
else
|
||||
{
|
||||
// ko.components.register('Checkbox', require('Component/Classic/Checkbox'));
|
||||
// ko.components.register('CheckboxSimple', require('Component/Classic/Checkbox'));
|
||||
ko.components.register('Checkbox', require('Component/Checkbox'));
|
||||
ko.components.register('CheckboxSimple', require('Component/Checkbox'));
|
||||
// ko.components.register('Checkbox', require('Component/Classic/Checkbox').default);
|
||||
// ko.components.register('CheckboxSimple', require('Component/Classic/Checkbox').default);
|
||||
ko.components.register('Checkbox', require('Component/Checkbox').default);
|
||||
ko.components.register('CheckboxSimple', require('Component/Checkbox').default);
|
||||
}
|
||||
|
||||
initOnStartOrLangChange(initNotificationLanguage);
|
||||
|
|
|
@ -4,4 +4,4 @@ import {AbstracCheckbox} from 'Component/AbstracCheckbox';
|
|||
|
||||
class CheckboxComponent extends AbstracCheckbox {}
|
||||
|
||||
module.exports = componentExportHelper(CheckboxComponent, 'CheckboxComponent');
|
||||
export default componentExportHelper(CheckboxComponent, 'CheckboxComponent');
|
||||
|
|
|
@ -4,4 +4,4 @@ import {AbstracCheckbox} from 'Component/AbstracCheckbox';
|
|||
|
||||
class ClassicCheckboxComponent extends AbstracCheckbox {}
|
||||
|
||||
module.exports = componentExportHelper(ClassicCheckboxComponent, 'ClassicCheckboxComponent');
|
||||
export default componentExportHelper(ClassicCheckboxComponent, 'ClassicCheckboxComponent');
|
||||
|
|
|
@ -4,4 +4,4 @@ import {AbstractInput} from 'Component/AbstractInput';
|
|||
|
||||
class DateComponent extends AbstractInput {}
|
||||
|
||||
module.exports = componentExportHelper(DateComponent, 'DateComponent');
|
||||
export default componentExportHelper(DateComponent, 'DateComponent');
|
||||
|
|
|
@ -4,4 +4,4 @@ import {AbstractInput} from 'Component/AbstractInput';
|
|||
|
||||
class InputComponent extends AbstractInput {}
|
||||
|
||||
module.exports = componentExportHelper(InputComponent, 'InputComponent');
|
||||
export default componentExportHelper(InputComponent, 'InputComponent');
|
||||
|
|
|
@ -46,4 +46,4 @@ class CheckboxMaterialDesignComponent extends AbstracCheckbox
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = componentExportHelper(CheckboxMaterialDesignComponent, 'CheckboxMaterialDesignComponent');
|
||||
export default componentExportHelper(CheckboxMaterialDesignComponent, 'CheckboxMaterialDesignComponent');
|
||||
|
|
|
@ -4,4 +4,4 @@ import {AbstracRadio} from 'Component/AbstracRadio';
|
|||
|
||||
class RadioComponent extends AbstracRadio {}
|
||||
|
||||
module.exports = componentExportHelper(RadioComponent, 'RadioComponent');
|
||||
export default componentExportHelper(RadioComponent, 'RadioComponent');
|
||||
|
|
|
@ -72,4 +72,4 @@ class SaveTriggerComponent extends AbstractComponent
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = componentExportHelper(SaveTriggerComponent, 'SaveTriggerComponent');
|
||||
export default componentExportHelper(SaveTriggerComponent, 'SaveTriggerComponent');
|
||||
|
|
|
@ -35,4 +35,4 @@ class ScriptComponent extends AbstractComponent
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = componentExportHelper(ScriptComponent, 'ScriptComponent');
|
||||
export default componentExportHelper(ScriptComponent, 'ScriptComponent');
|
||||
|
|
|
@ -28,4 +28,4 @@ class SelectComponent extends AbstractInput
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = componentExportHelper(SelectComponent, 'SelectComponent');
|
||||
export default componentExportHelper(SelectComponent, 'SelectComponent');
|
||||
|
|
|
@ -12,7 +12,7 @@ const getUrl = () => {
|
|||
return cachedUrl;
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
export default {
|
||||
template: '<b></b>',
|
||||
viewModel: {
|
||||
createViewModel: ({icon = 'null'}, componentInfo) => {
|
||||
|
|
|
@ -19,4 +19,4 @@ class TextAreaComponent extends AbstractInput
|
|||
}
|
||||
}
|
||||
|
||||
module.exports = componentExportHelper(TextAreaComponent, 'TextAreaComponent');
|
||||
export default componentExportHelper(TextAreaComponent, 'TextAreaComponent');
|
||||
|
|
2
dev/External/ko.js
vendored
2
dev/External/ko.js
vendored
|
@ -1248,4 +1248,4 @@ ko.observable.fn.validateFunc = function(fFunc) {
|
|||
return this;
|
||||
};
|
||||
|
||||
module.exports = ko;
|
||||
export default ko;
|
||||
|
|
34
package.json
34
package.json
|
@ -49,23 +49,23 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"Progress.js": "github:usablica/progress.js",
|
||||
"autolinker": "1.4.0",
|
||||
"babel-core": "6.21.0",
|
||||
"autolinker": "1.4.1",
|
||||
"babel-core": "^6.23.1",
|
||||
"babel-eslint": "7.1.1",
|
||||
"babel-loader": "6.2.10",
|
||||
"babel-loader": "^6.3.2",
|
||||
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
||||
"babel-plugin-transform-runtime": "6.15.0",
|
||||
"babel-preset-es2015": "6.18.0",
|
||||
"babel-preset-es2016": "6.16.0",
|
||||
"babel-preset-stage-0": "6.16.0",
|
||||
"babel-runtime": "6.20.0",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-preset-es2015": "^6.22.0",
|
||||
"babel-preset-es2016": "^6.22.0",
|
||||
"babel-preset-stage-0": "^6.22.0",
|
||||
"babel-runtime": "^6.23.0",
|
||||
"classnames": "2.2.5",
|
||||
"copy-webpack-plugin": "4.0.1",
|
||||
"es6-promise-polyfill": "1.2.0",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-autoprefixer": "3.1.1",
|
||||
"gulp-cached": "1.1.1",
|
||||
"gulp-clean-css": "2.3.2",
|
||||
"gulp-clean-css": "^3.0.3",
|
||||
"gulp-concat-util": "0.5.5",
|
||||
"gulp-eol": "0.1.2",
|
||||
"gulp-eslint": "3.0.1",
|
||||
|
@ -75,16 +75,16 @@
|
|||
"gulp-ignore": "2.0.2",
|
||||
"gulp-less": "3.3.0",
|
||||
"gulp-livereload": "3.8.1",
|
||||
"gulp-notify": "2.2.0",
|
||||
"gulp-notify": "^3.0.0",
|
||||
"gulp-plumber": "1.1.0",
|
||||
"gulp-rename": "1.2.2",
|
||||
"gulp-replace": "0.5.4",
|
||||
"gulp-rimraf": "0.2.1",
|
||||
"gulp-stripbom": "1.0.4",
|
||||
"gulp-through": "0.4.0",
|
||||
"gulp-uglify": "2.0.0",
|
||||
"gulp-uglify": "^2.0.1",
|
||||
"gulp-util": "3.0.8",
|
||||
"gulp-zip": "3.2.0",
|
||||
"gulp-zip": "^4.0.0",
|
||||
"ifvisible.js": "1.0.6",
|
||||
"jquery": "2.2.4",
|
||||
"jquery-lazyload": "1.9.7",
|
||||
|
@ -101,20 +101,20 @@
|
|||
"matchmedia-polyfill": "0.3.0",
|
||||
"moment": "2.17.1",
|
||||
"node-fs": "0.1.7",
|
||||
"node-notifier": "4.6.1",
|
||||
"node-notifier": "^5.0.2",
|
||||
"normalize.css": "5.0.0",
|
||||
"openpgp": "2.3.5",
|
||||
"openpgp": "^2.3.8",
|
||||
"opentip": "2.4.3",
|
||||
"pikaday": "1.5.1",
|
||||
"raw-loader": "0.5.1",
|
||||
"rifraf": "2.0.3",
|
||||
"rimraf": "2.5.4",
|
||||
"rimraf": "^2.6.1",
|
||||
"run-sequence": "1.2.2",
|
||||
"simplestatemanager": "3.4.0",
|
||||
"style-loader": "0.13.1",
|
||||
"style-loader": "^0.13.2",
|
||||
"tinycon": "github:tommoor/tinycon",
|
||||
"underscore": "1.8.3",
|
||||
"webpack": "2.1.0-beta.25",
|
||||
"webpack": "^2.2.1",
|
||||
"webpack-notifier": "1.5.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,16 +10,16 @@ var
|
|||
module.exports = function(publicPath, pro, es6) {
|
||||
return {
|
||||
entry: es6 ? {
|
||||
'js/app.next': __dirname + '/dev/app.js',
|
||||
'js/admin.next': __dirname + '/dev/admin.js'
|
||||
'js/app.next': path.join(__dirname, 'dev', 'app.js'),
|
||||
'js/admin.next': path.join(__dirname, 'dev', 'admin.js')
|
||||
} : {
|
||||
'js/boot': __dirname + '/dev/boot.js',
|
||||
'js/app': __dirname + '/dev/app.js',
|
||||
'js/admin': __dirname + '/dev/admin.js'
|
||||
'js/boot': path.join(__dirname, 'dev', 'boot.js'),
|
||||
'js/app': path.join(__dirname, 'dev', 'app.js'),
|
||||
'js/admin': path.join(__dirname, 'dev', 'admin.js')
|
||||
},
|
||||
output: {
|
||||
pathinfo: true,
|
||||
path: __dirname + '/rainloop/v/0.0.0/static/',
|
||||
path: path.join(__dirname, 'rainloop', 'v', '0.0.0', 'static'),
|
||||
filename: '[name].js',
|
||||
publicPath: publicPath || 'rainloop/v/0.0.0/static/'
|
||||
},
|
||||
|
@ -42,12 +42,12 @@ module.exports = function(publicPath, pro, es6) {
|
|||
modules: [devPath, 'node_modules'],
|
||||
extensions: ['.js'],
|
||||
alias: {
|
||||
'Opentip': __dirname + '/dev/External/Opentip.js',
|
||||
'ko': __dirname + '/dev/External/ko.js'
|
||||
'Opentip$': __dirname + '/dev/External/Opentip.js',
|
||||
'ko$': __dirname + '/dev/External/ko.js'
|
||||
}
|
||||
},
|
||||
module: {
|
||||
loaders: [
|
||||
rules: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
|
|
Loading…
Reference in a new issue