chore(package): update all dependencies
This commit is contained in:
parent
6a2963be41
commit
4d8f1ab169
@ -11,7 +11,7 @@ root = true
|
|||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespaces = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
# CoffeeScript
|
# CoffeeScript
|
||||||
#
|
#
|
||||||
@ -28,12 +28,12 @@ indent_style = space
|
|||||||
# Package.json
|
# Package.json
|
||||||
#
|
#
|
||||||
# This indentation style is the one used by npm.
|
# This indentation style is the one used by npm.
|
||||||
[/package.json]
|
[package.json]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
# Jade
|
# Pug (Jade)
|
||||||
[*.jade]
|
[*.{jade,pug}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ indent_style = space
|
|||||||
#
|
#
|
||||||
# Two spaces seems to be the standard most common style, at least in
|
# Two spaces seems to be the standard most common style, at least in
|
||||||
# Node.js (http://nodeguide.com/style.html#tabs-vs-spaces).
|
# Node.js (http://nodeguide.com/style.html#tabs-vs-spaces).
|
||||||
[*.js]
|
[*.{js,jsx,ts,tsx}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/coverage/
|
||||||
/dist/
|
/dist/
|
||||||
/node_modules/
|
/node_modules/
|
||||||
|
|
||||||
@ -5,3 +6,4 @@ npm-debug.log
|
|||||||
npm-debug.log.*
|
npm-debug.log.*
|
||||||
pnpm-debug.log
|
pnpm-debug.log
|
||||||
pnpm-debug.log.*
|
pnpm-debug.log.*
|
||||||
|
yarn-error.log
|
||||||
|
@ -1,10 +1,24 @@
|
|||||||
|
/benchmark/
|
||||||
|
/benchmarks/
|
||||||
|
*.bench.js
|
||||||
|
*.bench.js.map
|
||||||
|
|
||||||
/examples/
|
/examples/
|
||||||
example.js
|
example.js
|
||||||
example.js.map
|
example.js.map
|
||||||
*.example.js
|
*.example.js
|
||||||
*.example.js.map
|
*.example.js.map
|
||||||
|
|
||||||
|
/fixture/
|
||||||
|
/fixtures/
|
||||||
|
*.fixture.js
|
||||||
|
*.fixture.js.map
|
||||||
|
*.fixtures.js
|
||||||
|
*.fixtures.js.map
|
||||||
|
|
||||||
/test/
|
/test/
|
||||||
/tests/
|
/tests/
|
||||||
*.spec.js
|
*.spec.js
|
||||||
*.spec.js.map
|
*.spec.js.map
|
||||||
|
|
||||||
|
__snapshots__/
|
||||||
|
@ -31,33 +31,39 @@
|
|||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nodemailer": "^2.4.2",
|
"lodash": "^4.17.4",
|
||||||
"nodemailer-markdown": "^1.0.0",
|
"nodemailer": "^2.7.0",
|
||||||
|
"nodemailer-markdown": "^1.0.1",
|
||||||
"promise-toolbox": "^0.8.0"
|
"promise-toolbox": "^0.8.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.18.0",
|
"babel-cli": "^6.18.0",
|
||||||
"babel-eslint": "^7.1.1",
|
"babel-eslint": "^7.1.1",
|
||||||
"babel-preset-env": "^1.0.0",
|
"babel-plugin-lodash": "^3.2.11",
|
||||||
"babel-preset-stage-0": "^6.16.0",
|
"babel-preset-env": "^1.1.8",
|
||||||
"cross-env": "^3.1.3",
|
"babel-preset-stage-3": "^6.17.0",
|
||||||
"dependency-check": "^2.6.0",
|
"cross-env": "^3.1.4",
|
||||||
"ghooks": "^1.3.2",
|
"dependency-check": "^2.7.0",
|
||||||
|
"husky": "^0.12.0",
|
||||||
|
"jest": "^18.1.0",
|
||||||
"rimraf": "^2.5.4",
|
"rimraf": "^2.5.4",
|
||||||
"standard": "^8.5.0"
|
"standard": "^8.6.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
|
||||||
"clean": "rimraf dist/",
|
"commit-msg": "npm test",
|
||||||
"depcheck": "dependency-check ./package.json",
|
|
||||||
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
|
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
|
||||||
"lint": "standard",
|
"dev-test": "jest --bail --watch",
|
||||||
"posttest": "npm run lint && npm run depcheck",
|
"posttest": "standard && dependency-check ./package.json",
|
||||||
"prebuild": "npm run clean",
|
"prebuild": "rimraf dist/",
|
||||||
"predev": "npm run clean",
|
"predev": "npm run prebuild",
|
||||||
"prepublish": "npm run build"
|
"prepublish": "npm run build",
|
||||||
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
|
"plugins": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
"presets": [
|
"presets": [
|
||||||
[
|
[
|
||||||
"env",
|
"env",
|
||||||
@ -67,18 +73,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"stage-0"
|
"stage-3"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"jest": {
|
||||||
|
"testPathDirs": [
|
||||||
|
"<rootDir>/src"
|
||||||
|
],
|
||||||
|
"testRegex": "\\.spec\\.js$"
|
||||||
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"parser": "babel-eslint"
|
"parser": "babel-eslint"
|
||||||
},
|
|
||||||
"config": {
|
|
||||||
"ghooks": {
|
|
||||||
"commit-msg": "npm test"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { bind } from 'lodash'
|
||||||
import { createTransport } from 'nodemailer'
|
import { createTransport } from 'nodemailer'
|
||||||
import { markdown as nodemailerMarkdown } from 'nodemailer-markdown'
|
import { markdown as nodemailerMarkdown } from 'nodemailer-markdown'
|
||||||
import { promisify } from 'promise-toolbox'
|
import { promisify } from 'promise-toolbox'
|
||||||
@ -113,8 +114,8 @@ export const testSchema = {
|
|||||||
|
|
||||||
class TransportEmailPlugin {
|
class TransportEmailPlugin {
|
||||||
constructor ({ xo }) {
|
constructor ({ xo }) {
|
||||||
this._sendEmail = ::this._sendEmail
|
this._sendEmail = bind(this._sendEmail, this)
|
||||||
this._set = ::xo.defineProperty
|
this._set = bind(xo.defineProperty, xo)
|
||||||
this._unset = null
|
this._unset = null
|
||||||
|
|
||||||
// Defined in configure().
|
// Defined in configure().
|
||||||
|
3583
packages/xo-server-transport-email/yarn.lock
Normal file
3583
packages/xo-server-transport-email/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user