File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "description" : " Data-table plugin for Linkurious Enterprise" ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "postpack" : " scripts/bundle .js"
7+ "postpack" : " scripts/postpack .js"
88 },
99 "author" : " Linkurious" ,
1010 "license" : " Apache 2" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+
3+ 'use strict' ;
4+ const { spawnSync } = require ( 'child_process' ) ;
5+
6+ // read the package.json file
7+ const pack = require ( __dirname + '/../package.json' ) ;
8+
9+ // construct the archive base name
10+ const baseName = pack . name + '-' + pack . version ;
11+
12+ // unzip the .TGZ file to a .TAR file
13+ const gunzip = spawnSync ( 'gunzip' , [ baseName + '.tgz' ] ) ;
14+ console . log ( 'gunzip:' + gunzip . stdout . toString ( ) + ' / ' + gunzip . stderr . toString ( ) ) ;
15+
16+ // rename the .TAR file to an .LKE file
17+ const mv = spawnSync ( 'mv' , [ baseName + '.tar' , baseName + '.lke' ] ) ;
18+ console . log ( 'mv:' + mv . stdout . toString ( ) + ' / ' + mv . stderr . toString ( ) ) ;
You can’t perform that action at this time.
0 commit comments