chore(package): update all dependencies

This commit is contained in:
Julien Fontanet 2016-10-28 11:07:31 +02:00
parent 7e7ec83c12
commit abf146707f
7 changed files with 41 additions and 59 deletions

View File

@ -1,9 +1,8 @@
/.nyc_output/
/bower_components/
/dist/ /dist/
/ldap.cache.conf
/node_modules/
npm-debug.log npm-debug.log
npm-debug.log.* npm-debug.log.*
pnpm-debug.log
!node_modules/* pnpm-debug.log.*
node_modules/*/

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,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

@ -49,24 +49,21 @@ could not authenticate john.smith
## 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,8 +4,12 @@
"license": "AGPL-3.0", "license": "AGPL-3.0",
"description": "LDAP authentication plugin for XO-Server", "description": "LDAP authentication plugin for XO-Server",
"keywords": [ "keywords": [
"xo-server", "ldap",
"ldap" "orchestra",
"plugin",
"xen",
"xen-orchestra",
"xo-server"
], ],
"homepage": "https://github.com/vatesfr/xo-server-auth-ldap", "homepage": "https://github.com/vatesfr/xo-server-auth-ldap",
"bugs": "https://github.com/vatesfr/xo-server-auth-ldap/issues", "bugs": "https://github.com/vatesfr/xo-server-auth-ldap/issues",
@ -26,7 +30,7 @@
"dist/" "dist/"
], ],
"engines": { "engines": {
"node": ">=0.12" "node": ">=4"
}, },
"dependencies": { "dependencies": {
"babel-runtime": "^6.3.19", "babel-runtime": "^6.3.19",
@ -40,36 +44,41 @@
"babel-cli": "^6.3.17", "babel-cli": "^6.3.17",
"babel-eslint": "^7.0.0", "babel-eslint": "^7.0.0",
"babel-plugin-transform-runtime": "^6.3.13", "babel-plugin-transform-runtime": "^6.3.13",
"babel-preset-es2015": "^6.3.13", "babel-preset-babili": "^0.0.5",
"babel-preset-latest": "^6.16.0",
"babel-preset-stage-0": "^6.3.13", "babel-preset-stage-0": "^6.3.13",
"clarify": "^1.0.5", "cross-env": "^3.1.3",
"dependency-check": "^2.5.1", "dependency-check": "^2.5.1",
"ghooks": "^1.2.1", "ghooks": "^1.2.1",
"mocha": "^3.0.0", "rimraf": "^2.5.4",
"must": "^0.13.1", "standard": "^8.0.0"
"nyc": "^8.1.0",
"sinon": "^1.15.3",
"source-map-support": "^0.4.0",
"standard": "^8.0.0",
"trace": "^2.1.1"
}, },
"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/",
"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": "nyc mocha --opts .mocha.opts \"dist/**/*.spec.js\"" "predev": "npm run clean",
"prepublish": "npm run build"
}, },
"babel": { "babel": {
"env": {
"production": {
"comments": false,
"presets": [
"babili"
]
}
},
"plugins": [ "plugins": [
"transform-runtime" "transform-runtime"
], ],
"presets": [ "presets": [
"stage-0", "latest",
"es2015" "stage-0"
] ]
}, },
"standard": { "standard": {

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