mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-27 13:39:44 -08:00
12 lines
282 B
JavaScript
12 lines
282 B
JavaScript
|
const path = require('path');
|
||
|
const shelljs = require('shelljs');
|
||
|
|
||
|
const rootDirPath = path.resolve(__dirname, '..');
|
||
|
const distDirPath = path.resolve(rootDirPath, 'dist');
|
||
|
|
||
|
shelljs.cd(rootDirPath);
|
||
|
shelljs.exec('npm run build');
|
||
|
|
||
|
shelljs.cd(distDirPath);
|
||
|
shelljs.exec('npm pack');
|