Sha256: 2a303609292d7a42ef74dbb35e8cd16cce555e490c97cfae96fa69b69abbdf08

Contents?: true

Size: 633 Bytes

Versions: 5

Compression:

Stored size: 633 Bytes

Contents

#!/usr/bin/env node --use_strict

const fs = require('fs');

fs.mkdir('dist', function () {
  const pkg = Object.assign({}, require('./package.json'));
  delete pkg.scripts;
  Object.assign(pkg, {
    main: 'index.js',
    bin: {
      'hauler-read-config': 'bin/read-config.js',
      'hauler-server': 'bin/dev-server.js',
      'hauler-update-scripts': 'bin/update-scripts.js'
    }
  });

  fs.writeFileSync('dist/package.json', JSON.stringify(pkg, null, 2));
  fs.writeFileSync('dist/LICENSE.txt', fs.readFileSync('./LICENSE.txt').toString());
  fs.writeFileSync('dist/README.md', fs.readFileSync('./README.md').toString());
});

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hauler-0.3.4 make-package.js
hauler-0.3.3 make-package.js
hauler-0.3.2 make-package.js
hauler-0.3.1 make-package.js
hauler-0.3.0 make-package.js