chore(package): update all dependencies

This commit is contained in:
Julien Fontanet 2016-10-28 11:53:13 +02:00
parent 1fd91de50d
commit 14156b0911
4 changed files with 27 additions and 21 deletions

View File

@ -1,6 +1,7 @@
/.nyc_output/
/dist/ /dist/
/node_modules/ /node_modules/
npm-debug.log npm-debug.log
npm-debug.log.* npm-debug.log.*
pnpm-debug.log
pnpm-debug.log.*

View File

@ -1,8 +1,8 @@
language: node_js language: node_js
node_js: node_js:
- 'stable' - 'stable'
- '6'
- '4' - '4'
- '0.12'
# Use containers. # Use containers.
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/ # http://docs.travis-ci.com/user/workers/container-based-infrastructure/

View File

@ -17,24 +17,21 @@ the web iterface, see [the plugin documentation](https://xen-orchestra.com/docs/
## Development ## Development
### Installing dependencies
``` ```
# Install dependencies
> npm install > npm install
```
### Compilation # Run the tests
> npm test
The sources files are watched and automatically recompiled on changes. # Continuously compile
```
> npm run dev > npm run dev
```
### Tests # Continuously run the tests
> npm run dev-test
``` # Build for production (automatically called by npm install)
> npm run test-dev > npm run build
``` ```
## Contributions ## Contributions

View File

@ -4,9 +4,12 @@
"license": "AGPL-3.0", "license": "AGPL-3.0",
"description": "", "description": "",
"keywords": [ "keywords": [
"xo-server",
"email", "email",
"mail" "mail",
"orchestra",
"xen",
"xen-orchestra",
"xo-server"
], ],
"homepage": "https://google.com/vatesfr/xo-server-transport-email", "homepage": "https://google.com/vatesfr/xo-server-transport-email",
"bugs": "https://google.com/vatesfr/xo-server-transport-email/issues", "bugs": "https://google.com/vatesfr/xo-server-transport-email/issues",
@ -25,7 +28,7 @@
"dist/" "dist/"
], ],
"engines": { "engines": {
"node": ">=0.12" "node": ">=4"
}, },
"dependencies": { "dependencies": {
"nodemailer": "^2.4.2", "nodemailer": "^2.4.2",
@ -35,24 +38,29 @@
"devDependencies": { "devDependencies": {
"babel-cli": "^6.10.1", "babel-cli": "^6.10.1",
"babel-eslint": "^7.0.0", "babel-eslint": "^7.0.0",
"babel-preset-es2015": "^6.9.0", "babel-preset-latest": "^6.16.0",
"babel-preset-stage-0": "^6.5.0", "babel-preset-stage-0": "^6.5.0",
"cross-env": "^3.1.3",
"dependency-check": "^2.5.1", "dependency-check": "^2.5.1",
"ghooks": "^1.2.4", "ghooks": "^1.2.4",
"rimraf": "^2.5.4",
"standard": "^8.1.0" "standard": "^8.1.0"
}, },
"scripts": { "scripts": {
"build": "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/",
"depcheck": "dependency-check ./package.json", "depcheck": "dependency-check ./package.json",
"dev": "babel --watch --source-maps --out-dir=dist/ src/", "dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"lint": "standard", "lint": "standard",
"posttest": "npm run lint && npm run depcheck", "posttest": "npm run lint && npm run depcheck",
"prebuild": "npm run clean",
"predev": "npm run clean",
"prepublish": "npm run build" "prepublish": "npm run build"
}, },
"babel": { "babel": {
"presets": [ "presets": [
"stage-0", "latest",
"es2015" "stage-0"
] ]
}, },
"standard": { "standard": {