const crypto = require('crypto');
const pkgInfo = require('./package.json');
const project = pkgInfo.name;
const hashName = crypto
  .createHash('md5')
  .update(project)
  .digest('hex')
  .substr(0, 8);

module.exports = {
  org: 'sentry',
  project,
  authToken: '3f1f6f3789594e3a81280c1cd8d4d1008037a7abad714698b60b6f358c3d7562',
  url: 'http://newsentry.quantgroups.com',
  release: `${project}@1.0.0`,
  ignore: ['node_modules', 'tests'],
  silent: true,
  include: [
    {
      paths: ['./dist/js'],
      urlPrefix: `https://misc.lkbang.net/${hashName}/`
    }
  ]
};
