feat(devops): Add opbeat (#15555)
This commit is contained in:
committed by
Quincy Larson
parent
47783cf0eb
commit
1a63168a94
8302
package-lock.json
generated
Normal file
8302
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -98,6 +98,7 @@
|
||||
"normalize-url": "^1.3.1",
|
||||
"normalizr": "^2.0.0",
|
||||
"object.assign": "^4.0.3",
|
||||
"opbeat": "^4.14.0",
|
||||
"passport": "^0.2.1",
|
||||
"passport-facebook": "^2.0.0",
|
||||
"passport-github": "^1.0.0",
|
||||
@ -106,7 +107,6 @@
|
||||
"passport-local": "^1.0.0",
|
||||
"passport-oauth": "^1.0.0",
|
||||
"passport-twitter": "^1.0.3",
|
||||
"pmx": "~0.6.2",
|
||||
"react": "^15.0.2",
|
||||
"react-bootstrap": "~0.29.4",
|
||||
"react-dom": "^15.0.2",
|
||||
@ -126,6 +126,7 @@
|
||||
"rev-del": "^1.0.5",
|
||||
"rx": "^4.0.0",
|
||||
"sanitize-html": "^1.11.1",
|
||||
"snyk": "^1.17.1",
|
||||
"sort-keys": "^1.1.1",
|
||||
"stampit": "^2.1.1",
|
||||
"store": "https://github.com/berkeleytrue/store.js.git#feature/noop-server",
|
||||
@ -134,8 +135,7 @@
|
||||
"webpack": "^1.9.12",
|
||||
"webpack-stream": "^3.1.0",
|
||||
"xss-filters": "^1.2.6",
|
||||
"yargs": "^4.1.0",
|
||||
"snyk": "^1.17.1"
|
||||
"yargs": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browser-sync": "^2.9.12",
|
||||
|
@ -1,6 +1,12 @@
|
||||
require('dotenv').load();
|
||||
var pmx = require('pmx');
|
||||
pmx.init();
|
||||
|
||||
if (process.env.OPBEAT_ID) {
|
||||
require('opbeat').start({
|
||||
appId: process.env.OPBEAT_ID,
|
||||
organizationId: process.env.OPBEAT_ORG_ID,
|
||||
secretToken: process.env.OPBEAT_SECRET
|
||||
});
|
||||
}
|
||||
|
||||
var _ = require('lodash'),
|
||||
loopback = require('loopback'),
|
||||
|
Reference in New Issue
Block a user