8 lines
188 B
JavaScript
8 lines
188 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const { execSync } = require('child_process');
|
||
|
const { version } = require('./package');
|
||
|
|
||
|
execSync('npm run test');
|
||
|
execSync(`git tag v${version}`);
|
||
|
execSync('npm publish');
|