chore(package): update all dependencies
This commit is contained in:
parent
13e4568d3b
commit
2b2a72252b
3
packages/xo-server-backup-reports/.gitignore
vendored
3
packages/xo-server-backup-reports/.gitignore
vendored
@ -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.*
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 'stable'
|
- stable
|
||||||
- '4'
|
- 6
|
||||||
- '0.12'
|
- 4
|
||||||
|
|
||||||
# Use containers.
|
# Use containers.
|
||||||
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
||||||
|
@ -19,24 +19,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
|
||||||
|
@ -4,11 +4,16 @@
|
|||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"description": "Backup reports plugin for XO-Server",
|
"description": "Backup reports plugin for XO-Server",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"xo-server",
|
|
||||||
"backup",
|
"backup",
|
||||||
"reports",
|
|
||||||
"email",
|
"email",
|
||||||
"mail"
|
"mail",
|
||||||
|
"orchestra",
|
||||||
|
"plugin",
|
||||||
|
"report",
|
||||||
|
"reports",
|
||||||
|
"xen",
|
||||||
|
"xen-orchestra",
|
||||||
|
"xo-server"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/vatesfr/xo-server-backup-reports",
|
"homepage": "https://github.com/vatesfr/xo-server-backup-reports",
|
||||||
"bugs": "https://github.com/vatesfr/xo-server-backup-reports/issues",
|
"bugs": "https://github.com/vatesfr/xo-server-backup-reports/issues",
|
||||||
@ -27,33 +32,49 @@
|
|||||||
"dist/"
|
"dist/"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.12"
|
"node": ">=4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"lodash": "^4.13.1",
|
"lodash": "^4.13.1",
|
||||||
"moment": "^2.13.0"
|
"moment": "^2.13.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.10.1",
|
"babel-cli": "^6.18.0",
|
||||||
"babel-eslint": "^7.0.0",
|
"babel-eslint": "^7.1.1",
|
||||||
"babel-preset-es2015": "^6.9.0",
|
"babel-plugin-lodash": "^3.2.10",
|
||||||
"babel-preset-stage-0": "^6.5.0",
|
"babel-preset-env": "^0.0.8",
|
||||||
"dependency-check": "^2.5.1",
|
"babel-preset-stage-0": "^6.16.0",
|
||||||
"ghooks": "^1.2.4",
|
"cross-env": "^3.1.3",
|
||||||
"standard": "^8.1.0"
|
"dependency-check": "^2.6.0",
|
||||||
|
"ghooks": "^1.3.2",
|
||||||
|
"rimraf": "^2.5.4",
|
||||||
|
"standard": "^8.5.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": {
|
||||||
|
"plugins": [
|
||||||
|
"lodash"
|
||||||
|
],
|
||||||
"presets": [
|
"presets": [
|
||||||
"stage-0",
|
[
|
||||||
"es2015"
|
"env",
|
||||||
|
{
|
||||||
|
"targets": {
|
||||||
|
"node": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stage-0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import forEach from 'lodash/forEach'
|
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
import { forEach } from 'lodash'
|
||||||
|
|
||||||
export const configurationSchema = {
|
export const configurationSchema = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
/* eslint-env mocha */
|
|
||||||
|
|
||||||
import expect from 'must'
|
|
||||||
|
|
||||||
// ===================================================================
|
|
||||||
|
|
||||||
import myLib from './'
|
|
||||||
|
|
||||||
// ===================================================================
|
|
||||||
|
|
||||||
describe.skip('myLib', () => {
|
|
||||||
it('does something', () => {
|
|
||||||
// TODO: some real tests.
|
|
||||||
|
|
||||||
expect(myLib).to.exists()
|
|
||||||
})
|
|
||||||
})
|
|
Loading…
Reference in New Issue
Block a user