chore(package): update all dependencies

This commit is contained in:
Julien Fontanet 2016-12-02 10:02:47 +01:00
parent 8492ceee09
commit 959b8863eb
8 changed files with 68 additions and 67 deletions

View File

@ -3,3 +3,5 @@
npm-debug.log npm-debug.log
npm-debug.log.* npm-debug.log.*
pnpm-debug.log
pnpm-debug.log.*

View File

@ -1,5 +0,0 @@
Error.stackTraceLimit = 100
try { require('trace') } catch (_) {}
try { require('clarify') } catch (_) {}
try { require('source-map-support/register') } catch (_) {}

View File

@ -1 +0,0 @@
--require ./.mocha.js

View File

@ -1,9 +1,21 @@
/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

View File

@ -1,7 +1,8 @@
language: node_js language: node_js
node_js: node_js:
- 'stable' - stable
- '4' - 6
- 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/

View File

@ -1,13 +1,13 @@
# ${pkg.name} [![Build Status](https://travis-ci.org/${pkg.shortGitHubPath}.png?branch=master)](https://travis-ci.org/${pkg.shortGitHubPath}) # xo-server-usage-report [![Build Status](https://travis-ci.org/vatesfr/xo-server-usage-report.png?branch=master)](https://travis-ci.org/vatesfr/xo-server-usage-report)
> ${pkg.description} > ${pkg.description}
## Install ## Install
Installation of the [npm package](https://npmjs.org/package/${pkg.name}): Installation of the [npm package](https://npmjs.org/package/xo-server-usage-report):
``` ```
> npm install --save ${pkg.name} > npm install --save xo-server-usage-report
``` ```
## Usage ## Usage
@ -16,24 +16,21 @@ Installation of the [npm package](https://npmjs.org/package/${pkg.name}):
## 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
@ -43,10 +40,10 @@ the code.
You may: You may:
- report any [issue](${pkg.bugs}) - report any [issue](https://github.com/vatesfr/xo-server-usage-report/issues)
you've encountered; you've encountered;
- fork and create a pull request. - fork and create a pull request.
## License ## License
${pkg.license} © [${pkg.author.name}](${pkg.author.url}) AGPL3 © [Vates SAS](http://vates.fr)

View File

@ -4,12 +4,20 @@
"version": "0.0.0", "version": "0.0.0",
"license": "ISC", "license": "ISC",
"description": "", "description": "",
"keywords": [], "keywords": [
"homepage": "", "orchestra",
"bugs": "", "plugin",
"report",
"usage",
"xen",
"xen",
"xen-orchestra"
],
"homepage": "https://github.com/vatesfr/xo-server-usage-report",
"bugs": "https://github.com/vatesfr/xo-server-usage-report/issues",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "" "url": "https://github.com/vatesfr/xo-server-usage-report.git"
}, },
"author": { "author": {
"name": "Julien Fontanet", "name": "Julien Fontanet",
@ -25,43 +33,47 @@
"node": ">=4" "node": ">=4"
}, },
"dependencies": { "dependencies": {
"babel-runtime": "^6.3.19", "babel-runtime": "^6.18.0",
"lodash": "^4.16.2", "lodash": "^4.17.2",
"promise-toolbox": "^0.7.0" "promise-toolbox": "^0.7.0"
}, },
"devDependencies": { "devDependencies": {
"babel-cli": "^6.3.17", "babel-cli": "^6.18.0",
"babel-eslint": "^7.0.0", "babel-eslint": "^7.1.1",
"babel-plugin-lodash": "^3.2.9", "babel-plugin-lodash": "^3.2.10",
"babel-plugin-transform-runtime": "^6.3.13", "babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.3.13", "babel-preset-env": "^0.0.9",
"babel-preset-stage-0": "^6.3.13", "babel-preset-stage-0": "^6.16.0",
"clarify": "^2.0.0", "cross-env": "^3.1.3",
"dependency-check": "^2.5.1", "dependency-check": "^2.6.0",
"ghooks": "^1.3.2", "ghooks": "^1.3.2",
"mocha": "^3.1.0", "rimraf": "^2.5.4",
"must": "^0.13.1", "standard": "^8.6.0"
"source-map-support": "^0.4.0",
"standard": "^8.2.0",
"trace": "^2.0.2"
}, },
"scripts": { "scripts": {
"build": "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/",
"dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"",
"lint": "standard", "lint": "standard",
"posttest": "npm run lint && npm run depcheck", "posttest": "npm run lint && npm run depcheck",
"prepublish": "npm run build", "prebuild": "npm run clean",
"test": "mocha --opts .mocha.opts \"dist/**/*.spec.js\"" "predev": "npm run clean",
"prepublish": "npm run build"
}, },
"babel": { "babel": {
"plugins": [ "plugins": [
"transform-runtime",
"lodash" "lodash"
], ],
"presets": [ "presets": [
"es2015", [
"env",
{
"targets": {
"node": 4
}
}
],
"stage-0" "stage-0"
] ]
}, },

View File

@ -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()
})
})