<commit_before>var path = require('path');
var buildAssets = require('/vagrant/apps/land-registry-elements');

buildAssets({
  'destination': path.resolve(__dirname, 'service/static/land-registry-elements'),
  'mode': 'production'
})
  .then(function(dest) {
    console.log('Done');
  })
  .catch(function(e) {
    console.error(e);
  });<commit_msg>Specify the correct components to build for the digital-register-frontend rather than requesting everything<commit_after>var path = require('path');
var buildAssets = require('/vagrant/apps/land-registry-elements');

buildAssets({
  'destination': path.resolve(__dirname, 'service/static/land-registry-elements'),
  'mode': 'production',
  'components': [
    'pages/drv/landing-form',
    'pages/drv/search-form',
    'pages/drv/search-results',
    'pages/drv/order-confirmation',
    'pages/drv/summary',
    'pages/land-registry/error-page'
  ]
})
  .then(function(dest) {
    console.log('Done');
  })
  .catch(function(e) {
    console.error(e);
  });
{'fraction_non_alphanumeric': 0.1775793650793651, 'fraction_numerical': 0.0, 'mean_word_length': 4.483695652173913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5062413', 'n_tokens_mistral': 327, 'n_tokens_neox': 327, 'n_words': 51}