2018-08-13 14:21:39 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
version=$(rpm -q --specfile --qf='%{version}\n' nodejs-nodemon.spec | head -n1)
|
2021-11-30 16:52:16 +00:00
|
|
|
wget https://registry.npmjs.org/nodemon/-/nodemon-$version.tgz
|
|
|
|
tar -zxf nodemon-$version.tgz
|
|
|
|
cd package
|
|
|
|
npm install --production && rm -rf Dockerfile && cd .. && tar -zcf nodemon-v$version-bundled.tar.gz package
|