mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-26 09:03:48 +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
|
||||
tx pull -a
|
||||
|
||||
# dependencies checker
|
||||
# dependencies checker (checking only)
|
||||
npm-check --skip-unused --save-exact
|
||||
|
||||
# dependencies locker
|
||||
npm shrinkwrap --dev
|
||||
|
||||
# webpack
|
||||
webpack --color --watch
|
||||
|
|
|
@ -115,7 +115,7 @@ module.exports = {
|
|||
'no-unused-labels': 2,
|
||||
'no-useless-call': 2,
|
||||
'no-useless-concat': 2,
|
||||
'no-useless-escape': 2,
|
||||
'no-useless-escape': 0,
|
||||
'no-void': 2,
|
||||
'no-warning-comments': 2,
|
||||
'no-with': 2,
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
**Thanks for contributing to RainLoop Webmail!**
|
||||
|
||||
1. Sign the CLA (individual or corporate) at <http://www.rainloop.net/contribute/>.
|
||||
2. Fork the repo, do work in a feature branch.
|
||||
3. Issue a pull request.
|
||||
1. Fork the repo, do work in a feature branch.
|
||||
2. Issue a pull request.
|
||||
|
||||
---
|
||||
|
||||
**Getting started**
|
||||
|
||||
1. Install node.js - `https://nodejs.org/download/`
|
||||
2. Install gulp - `npm install gulp -g`
|
||||
3. 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. `cd rainloop`
|
||||
6. Install gulp add gulp plugins into project directory - `npm install`
|
||||
7. Run gulp - `gulp`
|
||||
2. Install yarn - `https://yarnpkg.com/en/docs/install`
|
||||
3. Install gulp - `npm install gulp -g`
|
||||
4. Fork rainloop - `https://github.com/RainLoop/rainloop-webmail/issues/new#fork-destination-box`
|
||||
5. Clone rainloop - `git clone git@github.com:USERNAME/rainloop-webmail.git rainloop`
|
||||
6. `cd rainloop`
|
||||
7. Install install all dependencies - `yarn install`
|
||||
8. Run gulp - `gulp`
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ Information about installing the product, check the [documentation page](http://
|
|||
|
||||
## 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.
|
||||
|
||||
## License
|
||||
|
|
|
@ -545,7 +545,7 @@ class MessageListMailBoxUserView extends AbstractViewNext
|
|||
_.each(MessageStore.messageList(), (message) => {
|
||||
if (message.unseen())
|
||||
{
|
||||
cnt++;
|
||||
cnt += 1;
|
||||
}
|
||||
|
||||
message.unseen(false);
|
||||
|
@ -577,7 +577,7 @@ class MessageListMailBoxUserView extends AbstractViewNext
|
|||
_.each(MessageStore.messageList(), (message) => {
|
||||
if (!message.unseen())
|
||||
{
|
||||
cnt++;
|
||||
cnt += 1;
|
||||
}
|
||||
|
||||
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": {
|
||||
"Progress.js": "github:usablica/progress.js",
|
||||
"autolinker": "^1.2.1",
|
||||
"babel-core": "^6.18.2",
|
||||
"babel-eslint": "^7.1.0",
|
||||
"babel-loader": "^6.2.7",
|
||||
"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.18.0",
|
||||
"classnames": "^2.2.5",
|
||||
"copy-webpack-plugin": "^4.0.0",
|
||||
"es6-promise-polyfill": "^1.2.0",
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-autoprefixer": "^3.1.1",
|
||||
"gulp-cached": "^1.1.0",
|
||||
"gulp-clean-css": "^2.0.13",
|
||||
"gulp-concat-util": "^0.5.5",
|
||||
"gulp-eol": "^0.1.2",
|
||||
"gulp-eslint": "^3.0.1",
|
||||
"gulp-filter": "^4.0.0",
|
||||
"gulp-header": "^1.8.8",
|
||||
"gulp-if": "^2.0.2",
|
||||
"gulp-ignore": "^2.0.2",
|
||||
"gulp-less": "^3.2.0",
|
||||
"gulp-livereload": "^3.8.1",
|
||||
"gulp-notify": "^2.2.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-util": "^3.0.7",
|
||||
"gulp-zip": "^3.2.0",
|
||||
"ifvisible.js": "^1.0.6",
|
||||
"jquery": "^2.2.4",
|
||||
"jquery-lazyload": "^1.9.7",
|
||||
"jquery-mousewheel": "^3.1.13",
|
||||
"jquery-scrollstop": "^1.2.0",
|
||||
"jquery.backstretch": "^2.1.13",
|
||||
"js-cookie": "^2.1.3",
|
||||
"json-loader": "^0.5.4",
|
||||
"json3": "^3.3.2",
|
||||
"knockout": "^3.4.0",
|
||||
"autolinker": "1.4.0",
|
||||
"babel-core": "6.20.0",
|
||||
"babel-eslint": "7.1.1",
|
||||
"babel-loader": "6.2.9",
|
||||
"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",
|
||||
"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.0",
|
||||
"gulp-concat-util": "0.5.5",
|
||||
"gulp-eol": "0.1.2",
|
||||
"gulp-eslint": "3.0.1",
|
||||
"gulp-filter": "4.0.0",
|
||||
"gulp-header": "1.8.8",
|
||||
"gulp-if": "2.0.2",
|
||||
"gulp-ignore": "2.0.2",
|
||||
"gulp-less": "3.3.0",
|
||||
"gulp-livereload": "3.8.1",
|
||||
"gulp-notify": "2.2.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-util": "3.0.7",
|
||||
"gulp-zip": "3.2.0",
|
||||
"ifvisible.js": "1.0.6",
|
||||
"jquery": "2.2.4",
|
||||
"jquery-lazyload": "1.9.7",
|
||||
"jquery-mousewheel": "3.1.13",
|
||||
"jquery-scrollstop": "1.2.0",
|
||||
"jquery.backstretch": "2.1.15",
|
||||
"js-cookie": "2.1.3",
|
||||
"json-loader": "0.5.4",
|
||||
"json3": "3.3.2",
|
||||
"knockout": "3.4.1",
|
||||
"knockout-projections": "github:stevesanderson/knockout-projections",
|
||||
"knockout-sortable": "^0.14.1",
|
||||
"lightgallery": "^1.2.21",
|
||||
"matchmedia-polyfill": "^0.3.0",
|
||||
"moment": "^2.15.2",
|
||||
"node-fs": "^0.1.7",
|
||||
"knockout-sortable": "0.14.1",
|
||||
"lightgallery": "1.2.21",
|
||||
"matchmedia-polyfill": "0.3.0",
|
||||
"moment": "2.17.1",
|
||||
"node-fs": "0.1.7",
|
||||
"node-notifier": "4.6.1",
|
||||
"normalize.css": "^5.0.0",
|
||||
"openpgp": "^2.3.5",
|
||||
"opentip": "^2.4.3",
|
||||
"pikaday": "^1.5.1",
|
||||
"raw-loader": "^0.5.1",
|
||||
"rifraf": "^2.0.3",
|
||||
"rimraf": "^2.5.4",
|
||||
"run-sequence": "^1.2.2",
|
||||
"simplestatemanager": "^3.4.0",
|
||||
"style-loader": "^0.13.1",
|
||||
"normalize.css": "5.0.0",
|
||||
"openpgp": "2.3.5",
|
||||
"opentip": "2.4.3",
|
||||
"pikaday": "1.5.1",
|
||||
"raw-loader": "0.5.1",
|
||||
"rifraf": "2.0.3",
|
||||
"rimraf": "2.5.4",
|
||||
"run-sequence": "1.2.2",
|
||||
"simplestatemanager": "3.4.0",
|
||||
"style-loader": "0.13.1",
|
||||
"tinycon": "github:tommoor/tinycon",
|
||||
"underscore": "^1.8.3",
|
||||
"webpack": "^2.1.0-beta.25",
|
||||
"underscore": "1.8.3",
|
||||
"webpack": "2.1.0-beta.25",
|
||||
"webpack-notifier": "1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ module.exports = function(publicPath, pro, es6) {
|
|||
loaders: [
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel',
|
||||
loader: 'babel-loader',
|
||||
include: [devPath],
|
||||
options: !es6 ? {
|
||||
cacheDirectory: true,
|
||||
|
@ -110,12 +110,12 @@ module.exports = function(publicPath, pro, es6) {
|
|||
},
|
||||
{
|
||||
test: /\.(html|css)$/,
|
||||
loader: 'raw',
|
||||
loader: 'raw-loader',
|
||||
include: [devPath]
|
||||
},
|
||||
{
|
||||
test: /\.json$/,
|
||||
loader: 'json',
|
||||
loader: 'json-loader',
|
||||
include: [devPath]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue