Browse Source

Merge pull request #814 from pelias/master

Merge master into staging
pull/815/head
Diana Shkolnikov 8 years ago committed by GitHub
parent
commit
c6038b9583
  1. 3
      README.md
  2. 3
      package.json

3
README.md

@ -32,6 +32,7 @@ The API ships with several convenience commands (runnable via `npm`):
* `npm run ciao`: run functional tests (this requires that the server be running) * `npm run ciao`: run functional tests (this requires that the server be running)
* `npm run docs`: generate API documentation * `npm run docs`: generate API documentation
* `npm run coverage`: generate code coverage reports * `npm run coverage`: generate code coverage reports
* `npm run config`: dump the configuration to the command line, which is useful for debugging configuration issues
## pelias-config ## pelias-config
The API recognizes the following properties under the top-level `api` key in your `pelias.json` config file: The API recognizes the following properties under the top-level `api` key in your `pelias.json` config file:
@ -95,5 +96,3 @@ Travis tests every release against Node.js versions `4` and `6`.
We rely on semantic-release and Greenkeeper to maintain our module and dependency versions. We rely on semantic-release and Greenkeeper to maintain our module and dependency versions.
[![Greenkeeper badge](https://badges.greenkeeper.io/pelias/api.svg)](https://greenkeeper.io/) [![Greenkeeper badge](https://badges.greenkeeper.io/pelias/api.svg)](https://greenkeeper.io/)

3
package.json

@ -17,7 +17,8 @@
"travis": "npm test", "travis": "npm test",
"unit": "./bin/units", "unit": "./bin/units",
"validate": "npm ls", "validate": "npm ls",
"semantic-release": "semantic-release pre && npm publish && semantic-release post" "semantic-release": "semantic-release pre && npm publish && semantic-release post",
"config": "node -e \"console.log(JSON.stringify(require( 'pelias-config' ).generate(require('./schema')), null, 2))\""
}, },
"repository": { "repository": {
"type": "git", "type": "git",

Loading…
Cancel
Save