fix: add missing files

This commit is contained in:
Martin Giger 2021-07-18 13:36:23 +02:00
parent 9bd4b64c13
commit 0f899d93b8
Signed by: freaktechnik
GPG key ID: AE530058EFE7FD60
2 changed files with 29 additions and 0 deletions

17
build.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
rm -rf node_modules
npm install --production --no-audit
rm -rf node_modules/.bin
TARFILE=`npm pack`
tar xzf ${TARFILE}
cp -r node_modules ./package
pushd package
find . -type f -exec shasum --algorithm 256 {} \; >> SHA256SUMS
popd
tar czf ${TARFILE} package
shasum --algorithm 256 ${TARFILE} > ${TARFILE}.sha256sum
rm -rf package

12
package-lock.json generated Normal file
View file

@ -0,0 +1,12 @@
{
"name": "irusb-adapter",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.0.0",
"license": "MIT"
}
}
}