PATH:
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
@pm2
/
js-api
const pkg = require('./package.json') const config = { headers: { 'X-JS-API-Version': pkg.version }, services: { API: 'https://app.keymetrics.io', OAUTH: 'https://id.keymetrics.io' }, OAUTH_AUTHORIZE_ENDPOINT: '/api/oauth/authorize', OAUTH_CLIENT_ID: '795984050', ENVIRONNEMENT: process && process.versions && process.versions.node ? 'node' : 'browser', VERSION: pkg.version, // put in debug when using km.io with browser OR when DEBUG=true with nodejs IS_DEBUG: (typeof window !== 'undefined' && window.location.host.match(/km.(io|local)/)) || (typeof process !== 'undefined' && (process.env.DEBUG === 'true')) } module.exports = Object.assign({}, config)
[+]
..
[+]
node_modules
[-] package.json
[edit]
[-] .drone.jsonnet
[edit]
[-] index.js
[edit]
[-] yarn.lock
[edit]
[-] README.md
[edit]
[-] constants.js
[edit]
[+]
docs
[+]
dist
[-] LICENSE
[edit]
[+]
src