chore(package): update all dependencies
This commit is contained in:
parent
54befb2814
commit
9b93a47e45
4
packages/xo-server-auth-google/.gitignore
vendored
4
packages/xo-server-auth-google/.gitignore
vendored
@ -1,5 +1,9 @@
|
|||||||
|
/coverage/
|
||||||
/dist/
|
/dist/
|
||||||
/node_modules/
|
/node_modules/
|
||||||
|
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
npm-debug.log.*
|
npm-debug.log.*
|
||||||
|
pnpm-debug.log
|
||||||
|
pnpm-debug.log.*
|
||||||
|
yarn-error.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,10 +1,24 @@
|
|||||||
|
/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
|
||||||
*.spec.js.map
|
*.spec.js.map
|
||||||
|
|
||||||
|
__snapshots__/
|
||||||
|
@ -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/
|
||||||
|
@ -44,24 +44,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,16 +4,19 @@
|
|||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"description": "Google authentication plugin for XO-Server",
|
"description": "Google authentication plugin for XO-Server",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"xo-server",
|
|
||||||
"xo-server",
|
|
||||||
"authentication",
|
"authentication",
|
||||||
"google"
|
"google",
|
||||||
|
"orchestra",
|
||||||
|
"plugin",
|
||||||
|
"xen",
|
||||||
|
"xen-orchestra",
|
||||||
|
"xo-server"
|
||||||
],
|
],
|
||||||
"homepage": "https://google.com/vatesfr/xo-server-auth-google",
|
"homepage": "https://google.com/vatesfr/xo-server-auth-google",
|
||||||
"bugs": "https://google.com/vatesfr/xo-server-auth-google/issues",
|
"bugs": "https://google.com/vatesfr/xo-server-auth-google/issues",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://google.com/vatesfr/xo-server-auth-google"
|
"url": "https://google.com/vatesfr/xo-server-auth-google.git"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Julien Fontanet",
|
"name": "Julien Fontanet",
|
||||||
@ -33,30 +36,28 @@
|
|||||||
"passport-google-oauth": "^1.0.0"
|
"passport-google-oauth": "^1.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.16.0",
|
"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.11",
|
||||||
"babel-plugin-transform-runtime": "^6.15.0",
|
"babel-plugin-transform-runtime": "^6.15.0",
|
||||||
"babel-preset-es2015": "^6.16.0",
|
"babel-preset-env": "^1.1.1",
|
||||||
"babel-preset-stage-0": "^6.16.0",
|
"babel-preset-stage-3": "^6.17.0",
|
||||||
"clarify": "^2.0.0",
|
"cross-env": "^3.1.3",
|
||||||
"dependency-check": "^2.6.0",
|
"dependency-check": "^2.6.0",
|
||||||
"ghooks": "^1.3.2",
|
"ghooks": "^1.3.2",
|
||||||
"mocha": "^3.1.0",
|
"jest": "^18.0.0",
|
||||||
"must": "^0.13.2",
|
"rimraf": "^2.5.4",
|
||||||
"source-map-support": "^0.4.3",
|
"standard": "^8.6.0"
|
||||||
"standard": "^8.2.0",
|
|
||||||
"trace": "^2.3.3"
|
|
||||||
},
|
},
|
||||||
"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/",
|
||||||
"depcheck": "dependency-check ./package.json",
|
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
|
||||||
"dev": "NODE_DEV=development babel --watch --source-maps --out-dir=dist/ src/",
|
"dev-test": "jest --bail --watch",
|
||||||
"dev-test": "mocha --opts .mocha.opts --watch --reporter=min \"dist/**/*.spec.js\"",
|
"posttest": "standard && dependency-check ./package.json",
|
||||||
"lint": "standard",
|
"prebuild": "rimraf dist/",
|
||||||
"posttest": "npm run lint && npm run depcheck",
|
"predev": "npm run prebuild",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"test": "mocha --opts .mocha.opts \"dist/**/*.spec.js\""
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"plugins": [
|
"plugins": [
|
||||||
@ -64,8 +65,25 @@
|
|||||||
"lodash"
|
"lodash"
|
||||||
],
|
],
|
||||||
"presets": [
|
"presets": [
|
||||||
"es2015",
|
[
|
||||||
"stage-0"
|
"env",
|
||||||
|
{
|
||||||
|
"targets": {
|
||||||
|
"node": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"stage-3"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"ghooks": {
|
||||||
|
"commit-msg": "npm test"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"jest": {
|
||||||
|
"testPathDirs": [
|
||||||
|
"<rootDir>/src"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
@ -73,10 +91,5 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"parser": "babel-eslint"
|
"parser": "babel-eslint"
|
||||||
},
|
|
||||||
"config": {
|
|
||||||
"ghooks": {
|
|
||||||
"commit-msg": "npm test"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user