chore(package): update all dependencies
This commit is contained in:
parent
7e7ec83c12
commit
abf146707f
9
packages/xo-server-auth-ldap/.gitignore
vendored
9
packages/xo-server-auth-ldap/.gitignore
vendored
@ -1,9 +1,8 @@
|
||||
/.nyc_output/
|
||||
/bower_components/
|
||||
/dist/
|
||||
/ldap.cache.conf
|
||||
/node_modules/
|
||||
|
||||
npm-debug.log
|
||||
npm-debug.log.*
|
||||
|
||||
!node_modules/*
|
||||
node_modules/*/
|
||||
pnpm-debug.log
|
||||
pnpm-debug.log.*
|
||||
|
@ -1,5 +0,0 @@
|
||||
Error.stackTraceLimit = 100
|
||||
|
||||
try { require('trace') } catch (_) {}
|
||||
try { require('clarify') } catch (_) {}
|
||||
try { require('source-map-support/register') } catch (_) {}
|
@ -1 +0,0 @@
|
||||
--require ./.mocha.js
|
@ -1,8 +1,8 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- 'stable'
|
||||
- '6'
|
||||
- '4'
|
||||
- '0.12'
|
||||
|
||||
# Use containers.
|
||||
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
||||
|
@ -49,24 +49,21 @@ could not authenticate john.smith
|
||||
|
||||
## Development
|
||||
|
||||
### Installing dependencies
|
||||
|
||||
```
|
||||
# Install dependencies
|
||||
> npm install
|
||||
```
|
||||
|
||||
### Compilation
|
||||
# Run the tests
|
||||
> npm test
|
||||
|
||||
The sources files are watched and automatically recompiled on changes.
|
||||
|
||||
```
|
||||
# Continuously compile
|
||||
> npm run dev
|
||||
```
|
||||
|
||||
### Tests
|
||||
# Continuously run the tests
|
||||
> npm run dev-test
|
||||
|
||||
```
|
||||
> npm run test-dev
|
||||
# Build for production (automatically called by npm install)
|
||||
> npm run build
|
||||
```
|
||||
|
||||
## Contributions
|
||||
|
@ -4,8 +4,12 @@
|
||||
"license": "AGPL-3.0",
|
||||
"description": "LDAP authentication plugin for XO-Server",
|
||||
"keywords": [
|
||||
"xo-server",
|
||||
"ldap"
|
||||
"ldap",
|
||||
"orchestra",
|
||||
"plugin",
|
||||
"xen",
|
||||
"xen-orchestra",
|
||||
"xo-server"
|
||||
],
|
||||
"homepage": "https://github.com/vatesfr/xo-server-auth-ldap",
|
||||
"bugs": "https://github.com/vatesfr/xo-server-auth-ldap/issues",
|
||||
@ -26,7 +30,7 @@
|
||||
"dist/"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=0.12"
|
||||
"node": ">=4"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.3.19",
|
||||
@ -40,36 +44,41 @@
|
||||
"babel-cli": "^6.3.17",
|
||||
"babel-eslint": "^7.0.0",
|
||||
"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",
|
||||
"clarify": "^1.0.5",
|
||||
"cross-env": "^3.1.3",
|
||||
"dependency-check": "^2.5.1",
|
||||
"ghooks": "^1.2.1",
|
||||
"mocha": "^3.0.0",
|
||||
"must": "^0.13.1",
|
||||
"nyc": "^8.1.0",
|
||||
"sinon": "^1.15.3",
|
||||
"source-map-support": "^0.4.0",
|
||||
"standard": "^8.0.0",
|
||||
"trace": "^2.1.1"
|
||||
"rimraf": "^2.5.4",
|
||||
"standard": "^8.0.0"
|
||||
},
|
||||
"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",
|
||||
"dev": "babel --watch --source-maps --out-dir=dist/ src/",
|
||||
"dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"",
|
||||
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
|
||||
"lint": "standard",
|
||||
"posttest": "npm run lint && npm run depcheck",
|
||||
"prepublish": "npm run build",
|
||||
"test": "nyc mocha --opts .mocha.opts \"dist/**/*.spec.js\""
|
||||
"prebuild": "npm run clean",
|
||||
"predev": "npm run clean",
|
||||
"prepublish": "npm run build"
|
||||
},
|
||||
"babel": {
|
||||
"env": {
|
||||
"production": {
|
||||
"comments": false,
|
||||
"presets": [
|
||||
"babili"
|
||||
]
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
"transform-runtime"
|
||||
],
|
||||
"presets": [
|
||||
"stage-0",
|
||||
"es2015"
|
||||
"latest",
|
||||
"stage-0"
|
||||
]
|
||||
},
|
||||
"standard": {
|
||||
|
@ -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