publish.js 188 B

12345678
  1. 'use strict';
  2. const { execSync } = require('child_process');
  3. const { version } = require('./package');
  4. execSync('npm run test');
  5. execSync(`git tag v${version}`);
  6. execSync('npm publish');