mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-10-01 01:14:20 +08:00
npm -> yarn
This commit is contained in:
parent
0e9cffd657
commit
20eff3a49a
9 changed files with 5116 additions and 4881 deletions
8
.cmds
8
.cmds
|
@ -1,12 +1,12 @@
|
||||||
|
|
||||||
|
# yarn
|
||||||
|
yarn install
|
||||||
|
|
||||||
# transifex
|
# transifex
|
||||||
tx pull -a
|
tx pull -a
|
||||||
|
|
||||||
# dependencies checker
|
# dependencies checker (checking only)
|
||||||
npm-check --skip-unused --save-exact
|
npm-check --skip-unused --save-exact
|
||||||
|
|
||||||
# dependencies locker
|
|
||||||
npm shrinkwrap --dev
|
|
||||||
|
|
||||||
# webpack
|
# webpack
|
||||||
webpack --color --watch
|
webpack --color --watch
|
||||||
|
|
|
@ -115,7 +115,7 @@ module.exports = {
|
||||||
'no-unused-labels': 2,
|
'no-unused-labels': 2,
|
||||||
'no-useless-call': 2,
|
'no-useless-call': 2,
|
||||||
'no-useless-concat': 2,
|
'no-useless-concat': 2,
|
||||||
'no-useless-escape': 2,
|
'no-useless-escape': 0,
|
||||||
'no-void': 2,
|
'no-void': 2,
|
||||||
'no-warning-comments': 2,
|
'no-warning-comments': 2,
|
||||||
'no-with': 2,
|
'no-with': 2,
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
**Thanks for contributing to RainLoop Webmail!**
|
**Thanks for contributing to RainLoop Webmail!**
|
||||||
|
|
||||||
1. Sign the CLA (individual or corporate) at <http://www.rainloop.net/contribute/>.
|
1. Fork the repo, do work in a feature branch.
|
||||||
2. Fork the repo, do work in a feature branch.
|
2. Issue a pull request.
|
||||||
3. Issue a pull request.
|
|
||||||
|
---
|
||||||
---
|
|
||||||
|
**Getting started**
|
||||||
**Getting started**
|
|
||||||
|
1. Install node.js - `https://nodejs.org/download/`
|
||||||
1. Install node.js - `https://nodejs.org/download/`
|
2. Install yarn - `https://yarnpkg.com/en/docs/install`
|
||||||
2. Install gulp - `npm install gulp -g`
|
3. Install gulp - `npm install gulp -g`
|
||||||
3. Fork rainloop - `https://github.com/RainLoop/rainloop-webmail/issues/new#fork-destination-box`
|
4. Fork rainloop - `https://github.com/RainLoop/rainloop-webmail/issues/new#fork-destination-box`
|
||||||
4. Clone rainloop - `git clone git@github.com:USERNAME/rainloop-webmail.git rainloop`
|
5. Clone rainloop - `git clone git@github.com:USERNAME/rainloop-webmail.git rainloop`
|
||||||
5. `cd rainloop`
|
6. `cd rainloop`
|
||||||
6. Install gulp add gulp plugins into project directory - `npm install`
|
7. Install install all dependencies - `yarn install`
|
||||||
7. Run gulp - `gulp`
|
8. Run gulp - `gulp`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
If you have any questions, open an issue or email support@rainloop.net.
|
If you have any questions, open an issue or email support@rainloop.net.
|
||||||
|
|
|
@ -11,7 +11,7 @@ Information about installing the product, check the [documentation page](http://
|
||||||
|
|
||||||
## Attention
|
## Attention
|
||||||
|
|
||||||
This is **NOT** a stable version of RainLoop Webmail.
|
This is a developer version of RainLoop Webmail.
|
||||||
It's not recommended to use in production environment.
|
It's not recommended to use in production environment.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
@ -545,7 +545,7 @@ class MessageListMailBoxUserView extends AbstractViewNext
|
||||||
_.each(MessageStore.messageList(), (message) => {
|
_.each(MessageStore.messageList(), (message) => {
|
||||||
if (message.unseen())
|
if (message.unseen())
|
||||||
{
|
{
|
||||||
cnt++;
|
cnt += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message.unseen(false);
|
message.unseen(false);
|
||||||
|
@ -577,7 +577,7 @@ class MessageListMailBoxUserView extends AbstractViewNext
|
||||||
_.each(MessageStore.messageList(), (message) => {
|
_.each(MessageStore.messageList(), (message) => {
|
||||||
if (!message.unseen())
|
if (!message.unseen())
|
||||||
{
|
{
|
||||||
cnt++;
|
cnt += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message.unseen(true);
|
message.unseen(true);
|
||||||
|
|
4786
npm-shrinkwrap.json
generated
4786
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load diff
126
package.json
126
package.json
|
@ -49,72 +49,72 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"Progress.js": "github:usablica/progress.js",
|
"Progress.js": "github:usablica/progress.js",
|
||||||
"autolinker": "^1.2.1",
|
"autolinker": "1.4.0",
|
||||||
"babel-core": "^6.18.2",
|
"babel-core": "6.20.0",
|
||||||
"babel-eslint": "^7.1.0",
|
"babel-eslint": "7.1.1",
|
||||||
"babel-loader": "^6.2.7",
|
"babel-loader": "6.2.9",
|
||||||
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
"babel-plugin-transform-decorators-legacy": "1.3.4",
|
||||||
"babel-plugin-transform-runtime": "^6.15.0",
|
"babel-plugin-transform-runtime": "6.15.0",
|
||||||
"babel-preset-es2015": "^6.18.0",
|
"babel-preset-es2015": "6.18.0",
|
||||||
"babel-preset-es2016": "^6.16.0",
|
"babel-preset-es2016": "6.16.0",
|
||||||
"babel-preset-stage-0": "^6.16.0",
|
"babel-preset-stage-0": "6.16.0",
|
||||||
"babel-runtime": "^6.18.0",
|
"babel-runtime": "6.20.0",
|
||||||
"classnames": "^2.2.5",
|
"classnames": "2.2.5",
|
||||||
"copy-webpack-plugin": "^4.0.0",
|
"copy-webpack-plugin": "4.0.1",
|
||||||
"es6-promise-polyfill": "^1.2.0",
|
"es6-promise-polyfill": "1.2.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp": "3.9.1",
|
||||||
"gulp-autoprefixer": "^3.1.1",
|
"gulp-autoprefixer": "3.1.1",
|
||||||
"gulp-cached": "^1.1.0",
|
"gulp-cached": "1.1.1",
|
||||||
"gulp-clean-css": "^2.0.13",
|
"gulp-clean-css": "2.3.0",
|
||||||
"gulp-concat-util": "^0.5.5",
|
"gulp-concat-util": "0.5.5",
|
||||||
"gulp-eol": "^0.1.2",
|
"gulp-eol": "0.1.2",
|
||||||
"gulp-eslint": "^3.0.1",
|
"gulp-eslint": "3.0.1",
|
||||||
"gulp-filter": "^4.0.0",
|
"gulp-filter": "4.0.0",
|
||||||
"gulp-header": "^1.8.8",
|
"gulp-header": "1.8.8",
|
||||||
"gulp-if": "^2.0.2",
|
"gulp-if": "2.0.2",
|
||||||
"gulp-ignore": "^2.0.2",
|
"gulp-ignore": "2.0.2",
|
||||||
"gulp-less": "^3.2.0",
|
"gulp-less": "3.3.0",
|
||||||
"gulp-livereload": "^3.8.1",
|
"gulp-livereload": "3.8.1",
|
||||||
"gulp-notify": "^2.2.0",
|
"gulp-notify": "2.2.0",
|
||||||
"gulp-plumber": "^1.1.0",
|
"gulp-plumber": "1.1.0",
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "1.2.2",
|
||||||
"gulp-replace": "^0.5.4",
|
"gulp-replace": "0.5.4",
|
||||||
"gulp-rimraf": "^0.2.1",
|
"gulp-rimraf": "0.2.1",
|
||||||
"gulp-stripbom": "^1.0.4",
|
"gulp-stripbom": "1.0.4",
|
||||||
"gulp-through": "^0.4.0",
|
"gulp-through": "0.4.0",
|
||||||
"gulp-uglify": "^2.0.0",
|
"gulp-uglify": "2.0.0",
|
||||||
"gulp-util": "^3.0.7",
|
"gulp-util": "3.0.7",
|
||||||
"gulp-zip": "^3.2.0",
|
"gulp-zip": "3.2.0",
|
||||||
"ifvisible.js": "^1.0.6",
|
"ifvisible.js": "1.0.6",
|
||||||
"jquery": "^2.2.4",
|
"jquery": "2.2.4",
|
||||||
"jquery-lazyload": "^1.9.7",
|
"jquery-lazyload": "1.9.7",
|
||||||
"jquery-mousewheel": "^3.1.13",
|
"jquery-mousewheel": "3.1.13",
|
||||||
"jquery-scrollstop": "^1.2.0",
|
"jquery-scrollstop": "1.2.0",
|
||||||
"jquery.backstretch": "^2.1.13",
|
"jquery.backstretch": "2.1.15",
|
||||||
"js-cookie": "^2.1.3",
|
"js-cookie": "2.1.3",
|
||||||
"json-loader": "^0.5.4",
|
"json-loader": "0.5.4",
|
||||||
"json3": "^3.3.2",
|
"json3": "3.3.2",
|
||||||
"knockout": "^3.4.0",
|
"knockout": "3.4.1",
|
||||||
"knockout-projections": "github:stevesanderson/knockout-projections",
|
"knockout-projections": "github:stevesanderson/knockout-projections",
|
||||||
"knockout-sortable": "^0.14.1",
|
"knockout-sortable": "0.14.1",
|
||||||
"lightgallery": "^1.2.21",
|
"lightgallery": "1.2.21",
|
||||||
"matchmedia-polyfill": "^0.3.0",
|
"matchmedia-polyfill": "0.3.0",
|
||||||
"moment": "^2.15.2",
|
"moment": "2.17.1",
|
||||||
"node-fs": "^0.1.7",
|
"node-fs": "0.1.7",
|
||||||
"node-notifier": "4.6.1",
|
"node-notifier": "4.6.1",
|
||||||
"normalize.css": "^5.0.0",
|
"normalize.css": "5.0.0",
|
||||||
"openpgp": "^2.3.5",
|
"openpgp": "2.3.5",
|
||||||
"opentip": "^2.4.3",
|
"opentip": "2.4.3",
|
||||||
"pikaday": "^1.5.1",
|
"pikaday": "1.5.1",
|
||||||
"raw-loader": "^0.5.1",
|
"raw-loader": "0.5.1",
|
||||||
"rifraf": "^2.0.3",
|
"rifraf": "2.0.3",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "2.5.4",
|
||||||
"run-sequence": "^1.2.2",
|
"run-sequence": "1.2.2",
|
||||||
"simplestatemanager": "^3.4.0",
|
"simplestatemanager": "3.4.0",
|
||||||
"style-loader": "^0.13.1",
|
"style-loader": "0.13.1",
|
||||||
"tinycon": "github:tommoor/tinycon",
|
"tinycon": "github:tommoor/tinycon",
|
||||||
"underscore": "^1.8.3",
|
"underscore": "1.8.3",
|
||||||
"webpack": "^2.1.0-beta.25",
|
"webpack": "2.1.0-beta.25",
|
||||||
"webpack-notifier": "1.4.1"
|
"webpack-notifier": "1.4.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ module.exports = function(publicPath, pro, es6) {
|
||||||
loaders: [
|
loaders: [
|
||||||
{
|
{
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
loader: 'babel',
|
loader: 'babel-loader',
|
||||||
include: [devPath],
|
include: [devPath],
|
||||||
options: !es6 ? {
|
options: !es6 ? {
|
||||||
cacheDirectory: true,
|
cacheDirectory: true,
|
||||||
|
@ -110,12 +110,12 @@ module.exports = function(publicPath, pro, es6) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(html|css)$/,
|
test: /\.(html|css)$/,
|
||||||
loader: 'raw',
|
loader: 'raw-loader',
|
||||||
include: [devPath]
|
include: [devPath]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.json$/,
|
test: /\.json$/,
|
||||||
loader: 'json',
|
loader: 'json-loader',
|
||||||
include: [devPath]
|
include: [devPath]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue